Re: [Hampshire] sudo

Top Page

Reply to this message
Author: John Cooper
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] sudo
Chris. Aubrey-Smith wrote:
> I've always thought that having no proper root login on Ubuntu
> (Dapper) was pretty stupid, but can anyone explain this?
>
> After working quite happily at the command line all morning, I
> suddenly got:
>
> $ sudo su
> Password:
> chris is not in the sudoers file. This incident will be reported.
>
> After another attempt:
>
> $ sudo su
> Sorry, user chris may not run sudo on localhost.
>
> So, NOW what do I do?
>
> Chris.

Have you tried

sudo bash

or
sudo passwd root

or
sudo su root

John.

--
--------------------------------------------------------------
Discover Linux - Open Source Solutions to Business and Schools
http://discoverlinux.co.uk
--------------------------------------------------------------