Ubuntu newbe password question ?

Dennis Kaarsemaker dennis at kaarsemaker.net
Sat Sep 24 20:06:49 UTC 2005


On za, 2005-09-24 at 20:45 +0100, ubuntu at pusspaws.net wrote:

> > > I can login using these details so I know they are correct. I can even
> > > get a root shell with 'sudo bash' :) old habits die hard.
> >
> > That is very unsafe, use sudo -i for a root shell.
> 
> Thanks for that, 'sudo -i' works great - why is sudo bash so risky ?

sudo bash dows not reset the $HOME and $USER environment variables,
which can lead to 'surprising' results. 

> > all menu entries use sudo and thus need your password and not a root
> > password.
> 
> My error, when I said 'root password' I meant my normal 'dave' password. 
> Entering this normal 'dave' password causes the app to apparently crash. 

Run this from a new terminal: gksudo gnome-terminal

What does that give as output?
-- 
Dennis K.
  - Linux for human beings: http://www.ubuntulinux.org
  - Linux voor normale mensen: http://www.ubuntulinux.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050924/050bd872/attachment.sig>


More information about the ubuntu-users mailing list