How to install Solaris 2.6//2.7 and have a good host security.
All comments are welcome: chouanard@parc.xerox.com
From the logs of this ftp server, I can see that people are reading this page and downloading some package, but I am getting nearly no feedback at all.
*Please*, don't hesitate to drop me an E-mail if you are using this package. Thanks!
The goal is to install Solaris and have a good host security without having to spent hours in modification. Also, as the basic configuration will be standard, I have add a set of useful tools compiled and package to make their installation easiest.
At the end, the install should be *clean* (= "pkgchk -n" has no error)
The first step is to disable everything which is not needed.
Each package will install their default configuration files if they do not exist, and run any init script if needed. They won't delete their configurations files at the de-install time which ease your work for updating these package.
We have used this packaging to install files servers, ftp servers, NIS servers, firewalls and host. It is quite nice not to have to wonder how to do that and very useful to be able to update package independently.
As the source of the SECclean package are available, it is easy for you to copy it and to localize it so it will reflect your configuration. From this package, we have derived different classes of package to install NIS server, NFS server and end user workstation.
For more information on the SECclean package and on how to localize it to meet your need, see: ftp://ftp.parc.xerox.com/pub/jean/solins/secclean.html
Do the install from CD-ROM (Either the original Solaris 2.6//2.7 distribution, either the latest hardware release)
Provide the information as needed:
> cd /var; mkdir tempo; cd tempo
> zcat <where.ever.is.your.patch.file>.tar.Z | tar xf -
> ./install_cluster
> cd /
> rm -r /var/tempo <where.ever.is.your.patch.file>.tar.Z
> reboot
How to install it:
Notes regarding the installation of this step:
This is the only step modifying the basic install which is *not* a package, but the way the shell script was written enable you to undo these *two* steps. ( I didn't look if it was really useful to have it as a package format, as it is mainly dealing with the package content database)
How to undo this step:
SU-lists{165} ps -eaf UID PID PPID C STIME TTY TIME CMD root 0 0 0 13:41:04 ? 0:00 sched root 1 0 0 13:41:08 ? 0:00 /etc/init - root 2 0 0 13:41:08 ? 0:00 pageout root 3 0 0 13:41:08 ? 0:00 fsflush root 135 132 0 13:41:29 ? 0:00 /usr/lib/saf/ttymon root 100 1 0 13:41:26 ? 0:00 /usr/sbin/inetd -s -t root 132 1 0 13:41:29 ? 0:00 /usr/lib/saf/sac -t 300 root 142 133 0 13:56:21 console 0:00 ps -efa root 133 1 0 13:41:29 console 0:00 -sh root 124 1 0 13:41:28 ? 0:00 /usr/lib/utmpd root 108 1 0 13:41:26 ? 0:00 /usr/sbin/cron root 110 1 0 13:41:27 ? 0:01 /usr/sbin/syslogd
For more information on the SECclean package and on how to localize it to meet your need, see: ftp://ftp.parc.xerox.com/pub/jean/solins/secclean.html
All the following package have been built on top of this install. No human action and no check are needed if you are installing them on top of the install describe here. Only configuration files will have to be localize.
The "DESC" field of the package give you the specific option chosen at the configuration time, if any (See tcpd or ssh for ex.). The DESC field is seen using the pkginfo -l pkgname command.
They all use /opt/local as the install prefix, except
They are all stored as a compressed Solaris stream package: to install, uncompress the file then do:
> pkgadd -d <nameof the uncompressed file>
Compiled under Solaris 2.6, will work under 2.6 or 2.7 SPARC architecture:
DESC="The package contains tcsh 6.08.00, configured with --prefix=/opt/local"
DESC="The package contains the full distrib of ssh-1.2.27 (client and server) w/ new SDI (SecurID) Authentication and the following config: --prefix=/opt/local --without-rsh --with-sdiauth=/opt/ACEserv/ace/examples --with-libwrap"
DESC="[Wietse Venema] tcp_wrappers 7.6, see ftp://ftp.porcupine.org/pub/security/index.html . Compiled For Advanced installation, with STYLE=-DPROCESS_OPTIONS and no BUGS defined as Solaris2.6 is clean. libwrap.a is included. Man8 has been moved to man1m."
DESC=" perl, configured with --prefix=/opt/perl"
DESC=" Berkeley Internet Name Daemon, an implementation of the DNS protocols now su pported by the Internet Software Consortium, compiled on 2.6 with SUN's sunprocc"
DESC="Version 2.7.5 of Sleepycat Software's Berkeley DB compiled on Solaris 2.6"
DESC="top 3.5beta9, from William LeFebvre
DESC="Cyclic Software CVS 1.10, configured with --prefix=/opt/local. make check ran OK after few correction in the sanity.sh script."
DESC="GNU gcc (version 2.95.1), configured with --prefix=/opt/local (make bootstrap)"
DESC="GNU gcc (version 2.8.1), configured with --prefix=/opt/local"
DESC="GNU emacs (version 20.3), configured with --prefix=/opt/local"
DESC="Xemacs 21.1.4 with xpm and png included, with the sumo tarball, configured with --prefix=/opt/local"
DESC=" GNU grep-2.3, configured with --prefix=/opt/local"
DESC=" GNU gzip-1.2.4a, configured with --prefix=/opt/local"
DESC=" GNU less 440, configured with --prefix=/opt/local"
DESC=" GNU make 3.77, configured with --prefix=/opt/local"
DESC=" GNU rcs-5.7 and diffutils-2.7, configured with --prefix=/opt/local --with-diffutils"
DESC=" GNU tar, configured with --prefix=/opt/local"
DESC=" GNU gawk, configured with --prefix=/opt/local"
DESC=" GNU bison, configured with --prefix=/opt/local"
DESC=" GNU dbm, configured with --prefix=/opt/local"
DESC=" GNU flex, configured with --prefix=/opt/local"
DESC=" GNU gdb, configured with --prefix=/opt/local"
DESC=" GNU m4, configured with --prefix=/opt/local"
Compiled under Solaris 2.6, will work *ONLY* under 2.6 SPARC architecture:
DESC="traceroute-1.4a5 compiled on Solaris 2.6, From Lawrence Berkeley National Laboratory, Network Research Group
Compiled under Solaris 2.7, will work *ONLY* under 2.7 SPARC architecture:
Compiled under Solaris 2.7, will work *ONLY* under 2.7 Intel (i386) architecture:
DESC="The package contains the full distrib of ssh-1.2.27 (client and server) w/ new SDI (SecurID) Authentication and the following config: --prefix=/opt/local --without-rsh --with-sdiauth=/opt/ACEserv/ace/examples --with-libwrap"
DESC="The package contains tcsh 6.08.00, configured with --prefix=/opt/local"
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP for Personal Privacy 5.5.3 mQCNAjHH+nUAAAEEALtlzCJ2o7xVEq+HMwGdyPMlRY//7NFFID5BviZXURL0LLLe Ogda3JyR77VlZ9/RvBQOxqyisHcSFcFs4ea1J/ngPEs6yxXsSvpzkWL4vR6DfvuM KuZ3VPTRqn2BBnDaDlhj3ko60LeFKMwLi0aqoV2r7DN81LB8CGKD550WCxh7AAUR tClKZWFuIENob3VhbmFyZCA8Y2hvdWFuYXJkQHBhcmMueGVyb3guY29tPokAlQMF EDTXdRNig+edFgsYewEB9dwD/RUIONAu7aN6xg6p4BFIHz1ucY8xMTCsISGUqhJG SQnB+KO6UVietQI8BemXL/fpBQM8jx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