On 02/04-03 13.24, D. Wollmann wrote:
Content-Description: signed data
> On Monday 31 March 2003 10:54, William Hubbs wrote:
> > Hi all,
> >
> > is there a way to get sudo to run a shell with the -s option as a login
<snip>
> > and enter a password, I become root, but not with root's environment, so
> > /sbin, /usr/sbin, etc, are not in the path.
> >
> 
> sudo sh --login
> (-l [DASH EL] is a synonym for --login)
> 
> This will cause sh to source ~/.bash_profile or ~/.profile, etc. and set up 
> your environment. 
<snip>

I use: sudo su -. I have had no problems with it. It works just like su -. Just with 
sudo.
-- 
Henning C. Nielsen aka barran. - stud.scient.dat.
Homepage: http://www.daimi.au.dk/~barran
My Private Computer: hnielsen.dk
Send your spam here: mailto:[EMAIL PROTECTED]

--
[EMAIL PROTECTED] mailing list

Reply via email to