Ubuntu newbe password question ?

ubuntu at pusspaws.net ubuntu at pusspaws.net
Sat Sep 24 20:18:55 UTC 2005


On Saturday 24 September 2005 21:06, Dennis Kaarsemaker wrote:
> 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.

Ahh yes I see your point :) 

>
> > > 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?

dave at dave-comp:~$ gksudo gnome-terminal
bash: gksudo: command not found
dave at dave-comp:~$ sudo -i
Password:
root at dave-comp:~ # apt-get install gksudo
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package gksudo
root at dave-comp:~ #

Dave





More information about the ubuntu-users mailing list