[SunHELP] problem setting PATH under solaris 8
Jan Johansson
sunhelp at sunhelp.org
Wed Mar 28 12:58:14 CST 2001
On Wed, Mar 28, 2001 at 04:36:08PM +0100, Ledger, David wrote:
>
>Is root's HOME '/' or '/root' (safer).
Consider
# pwd
/somewhwere/in/yer/filsystem
# cd somedir
# ls
junk1 junk2
# cd -- <-- Ooops that should be ..
# rm -rf * <-- You are now removing /* or /root/*
There are several ways to protect against this but one sledom use
them at 03:00.
More information about the SunHELP
mailing list