Root etc. (was Re: DD is not working )
(=?utf-8?q?=60=60-=5F-=C2=B4=C2=B4?=) -- Fernando
ubuntu at bugabundo.net
Thu Aug 2 18:49:57 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
On Wednesday 01 August 2007 23:13:49 Peter Garrett wrote:
> On Wed, 1 Aug 2007 22:29:37 +0100
> "(``-_-´´) -- Fernando" <ubuntu at bugabundo.net> wrote:
> > one more tip: stop recommending users to use "sudo su".
> > Running "su" is more then enought to be root.
> Except that on a default Ubuntu install, su by itself will not give you
> root, since the root account is "password locked."
> su can certainly be used to "switch user" ( which is what "su" means) , but
> not to switch to root, unless you have created a root password with
> sudo passwd root ( or just sudo passwd ) or done an "expert" install,
> which asks to create a root password, or at least used to, the last time I
> That said, the method on Ubuntu to get a root shell with correct
> root environment is
> sudo -i (equivalent to sudo su - ) not
> sudo su (equivalent to sudo -s )
> none of these methods are encouraged, though. See
I have to agree with you, and since just after install I allways set a root
password, i forgot that plain old su wouldnt work, because there is no pass.
Sure, sudo -i is the simplest way of getting there, and as allways doing
things as root can be DANGEROUS
Linux user #443786 GPG key 1024D/A1784EBB
The body of this email is licensed under a Creative Commons
Attribution-Noncommercial-Share Alike 3.0
http://BUGabundo.net -- http://BrinKadeiraS.BUGabundo.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the ubuntu-users