user not in sudoers
Tom H
tomh0665 at gmail.com
Wed Apr 13 22:20:56 UTC 2011
On Wed, Apr 13, 2011 at 3:57 PM, Johan Scheepers <johansche at telkomsa.net> wrote:
>
> Not used to ubuntu. Using Fedora, Centos, Mandriva.
>
> Want to use and and learn ubuntu.
>
> While waiting for ubuntu 11.04, I installed 10.10 to get used to it.
> Now this sudo term. When I use sudo for a root command it tells me I am not
> in the sudoers file.
>
> This is annoying. How do I get myself (user) in the sudoers file.
> This is at home and I am the only user.
>
> I am used to become root when required and get out when finished. Would
> rather have the OS operating as I am used to.
The user that you created at install time should be able to become
root through sudo.
If you need another account to be able to use sudo, you'll have to add
that account either directly to "/etc/sudoers" or as a member of the
admin or sudo groups.
If the install-time user cannot use sudo, you can boot into s
"recovery mode" and ensure that it's a member of one the two groups
above or edit "/etc/sudoers" to add it specifically.
You can enable root by giving it a password if you'd like to set up
your box like your boxes using other distributions or run "sudo
-i"/"sudo -s" to switch to root for consecutive commands.
More information about the ubuntu-users
mailing list