I've messed something up now

Liam Proven lproven at gmail.com
Sun Sep 25 01:55:34 UTC 2011

On 24 September 2011 22:13, Doug <dmcgarrett at optonline.net> wrote:
> On 09/24/2011 09:22 AM, Cybe R. Wizard wrote:
>> On Sat, 24 Sep 2011 00:28:53 -0400
>> Doug<dmcgarrett at optonline.net>  wrote:
>>> Did you ever have sudo working?  Some distros don't put you into the
>>> sudoers file--you have to do it yourself.  To
>>> edit the sudoers file, you should invoke visudo, as root
>> If use of sudo is missing and the root account is, by default, not
>> enabled, how, then, run visudo /as root/?
> You type su root in the CLI.  Then your password, when asked.
> When you do that, you will remain using root permissions until
> you remember to type exit.  But if you use sudo, you only have
> root privileges for the one command.  This is so you *don't*
> accidentally enter some command that will destroy your system.
> Of course, this all assumes that you are the admin of the system,
> which you surely are if you installed it yourself.

If there is no "sudo" command, then you don't need "su root", just


... and you become root by giving the root password, assuming you have
one and you know what it is.

If sudo *is* present and you don't have a root account, then you can
become root for the rest of the session with:

sudo -s

... and giving *your own* password - that is, if you're an admin.

Liam Proven • Info & profile: http://www.google.com/profiles/lproven
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
AIM/Yahoo/Skype: liamproven • MSN: lproven at hotmail.com • ICQ: 73187508

More information about the ubuntu-users mailing list