You have some good stuff here, but you have a number of
mistakes, bad ideas, inconsitancies, etc. It looks like
it was drafted by committee and not everyone on the
committee is all that bright.
For starters, you should be *consistant*. For example,
some commands refer to /opt/local/gzip (a very non-standard
location for gzip, if you ask me), whereas others simply
refer to gzip (and just assume it's in your $PATH). You
should have common example names of computers used consitantly
throughout the networking examples. Some commands assume
that you have filesystems laid down on paritions (the ones
that refer to /dev/dsk/c1t2d3s4, etc.) while others assume
that you have DiskSuite installed (/dev/md/dsk/d99). Commands
that are specific to X86 or Sparc fail to mention that they
are. When someting is freeware and does not come with the
O.S., you should note that.
"only allow 300MB for user /tmp access" fails to mention that
the line given is not a command, but a line in /etc/vfstab.
"mount a floppy" must be X86 specific, "pcfs" is what Solaris
for Sparc refers to FAT filesystems as. See
http://garrett.no-ip.com:8080/homepage/sun.html for a link to
a document on working with floppies on Sparc machines.
"enable ip masquerading" (unless this is added to Solaris 8)
is a *Linux* not a *Solaris* thing.
"establish a default router or gateway" also gives commands to
setup DNS. These do not necessarily go hand in hand. "getting
a server on the network" also does the same thing. Setting up
DNS is a completely seperate issue.
"configuration file for sudoers" - Most versions of SUDO that
I have seen use /etc/sudoers or /usr/local/etc/sudoers.
"search for no password entries and lock all accounts." is
pointless. Having "NP" in /etc/passwd does not mean that
you can login to the acount without a password. Rather,
it means that you have to "su" to the account, as root,
because *normal* users won't be able to type a valid password
for the account. Locking that account does not afford you
any real additional security (unless you have a buggy version
of SSH installed, in which case, fix what's broken).
"making/adding a partiton" gives the *Linux* commands
to make a partition (or is at the very least X86 specific
and has type-o's)
"Get Ambient Temperature of Server" assume sa specific
hardware platform. If you change the command to be:
/usr/platform/`/bin/uname -m`/sbin/prtdiag -v
then it will run on any platform that supports prtdiag
(older ones don't). You could also use "uname -i".
"example of bringing up an interface" should include
the "netmask" argument rather than assume that the
correct netmask is in /etc/inet/netmasks or that the
systems will just do it right.
"set default run level 5 for gui" is A) a *Linux* thing,
and B) very bad thing to do in *Solaris*. This is a
common mistake that people who are used to Linux make
with Solaris. Run level 5 in Linux starts up a GUI
interface. Run level 5 in Solaris shuts the machine down
and powers it down (if the hardware supports that). If
you change the default runlevel to run level 5, then the
system will boot up and promptly shutdown and power off.
"print duplex landscape 4 qudrant printing" [sic].
"install a patch" - "installpatch" only applies to 2.6 or
older. With 2.6 or newer you can/should use "patchadd".
You've got some good stuff here, if you could correct all the
mistakes, you'd really have something.
Return to article...[an error occurred while processing this directive]