Hi! I'm new to UBUNTU!

Liam Proven lproven at gmail.com
Sat May 29 14:57:04 UTC 2010


On Sat, May 29, 2010 at 3:52 PM, Chan Chung Hang Christopher
<christopher.chan at bradbury.edu.hk> wrote:
> Liam Proven wrote:
>> On Sat, May 29, 2010 at 2:04 PM, Chan Chung Hang Christopher
>> <christopher.chan at bradbury.edu.hk> wrote:
>>>> No, by default, you cannot log in as root, because on Ubuntu, the root
>>>> account is disabled for improved security. To get a root shell, do
>>>> "sudo -s" and use *your own* password.
>>>>
>>> I think you mean "sudo -i".
>>
>> You may very well think that, but I did not; I meant "sudo -s".
>>
>> On reading the man page, I see what -i does and I will try to remember
>> it, should I ever need that behaviour, but -s is the one I use daily.
>>
>
> Well, now that I think about it, the PATH env var does already have all
> the directories that root would have if not more. Still suffering from
> the 'su' vs 'su -' mindset over here.

Ahhh. OK.  Perhaps you come from a big-unix culture where ordinary
admins don't get root access or something.

I don't. When I was installing SCO boxes in the 1980s or early 1990s,
*I* was root, and when I went over to Linux in 1997, I kept doing the
same. In my early days on Ubuntu I just enabled the root account and
used it normally, then I decided to try to do it the "official" way
and started leaving it off.

I used to use "sudo sh" for a shell until a friend corrected me and
taught me "sudo -s", but that seems to be what the HOWTOs and so on
I've read recommend, as well.


-- 
Liam Proven • Profile: http://www.linkedin.com/in/liamproven
Email: lproven at cix.co.uk • GMail/GoogleTalk/Orkut: lproven at gmail.com
Tel: +44 20-8685-0498 • Cell: +44 7939-087884 • Fax: + 44 870-9151419
AOL/AIM/iChat/Yahoo/Skype: liamproven • LiveJournal/Twitter: lproven
MSN: lproven at hotmail.com • ICQ: 73187508




More information about the ubuntu-users mailing list