>> Nowhere. Don't change root's shell, login as "ordinary user" and use sudo
>> Peter H?kanson
> I always login to root using su from ordinary user.
su -l ?
this is needed to start a 'login shell'
-l Simulate a full login. The environment is discarded except for
HOME, SHELL, PATH, TERM, and USER. HOME and SHELL are modified
as above. USER is set to the target login. PATH is set to
``/bin:/usr/bin''. TERM is imported from your current environ-
ment. Environment variables may be set or overridden from the
login class capabilities database according to the class of the
target login. The invoked shell is the target login's, and su
will change directory to the target login's home directory.
Resource limits and session priority are modified to that for the
target account's login class.
I do think however that sudo has a greater flexibility to spawn
a shell AND give the '-i' flag to the shell
( me thinks bash is infinitly better then ksh, but thats my personal taste)
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.