On 10:54 Mon 31 Mar , William Hubbs wrote: > Hi all, > > is there a way to get sudo to run a shell with the -s option as a login shell? > I ask because when I give the command > > sudo -s > > and enter a password, I become root, but not with root's environment, so /sbin, > /usr/sbin, etc, are not in the path. > > Thanks, > > William > > > -- > [EMAIL PROTECTED] mailing list > Try throwing this line into your .bashrc: [ -r /etc/profile ] && source /etc/profile This is what I do and I get the root setting wehn i do sudo -s.
-- [EMAIL PROTECTED] mailing list
