>Moral: Do not login as "root" unless you absolutely have to.
>
>Dick Goulet
>Senior Oracle DBA
>Oracle Certified 8i DBA


I also function as our sysadm, and I barely remember the root password to
our solaris boxes.  I used to log in as root, but heard enough horror
stories to figure out a way around it.  Thank goodness I found the sudo
utility.  You still have to be careful, but you can't execute a command
without KNOWING you are acting as root.

Also in regards to rm -r *.  I once typed rm * while in the root directory.
This was like two months into my first sysadm duties, I had just gotten over
being extra paranioid.  I certainly wasn't aware my current directory was /,
but it was.  Luckilly the previous ,always crafty, sysadm had the foresight
to place a file named "-i" in the directory.  Really saved my bacon when I
was prompted for confirmation.

Steve McClure



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Steve McClure
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to