user not in sudoers

Johan Scheepers johansche at telkomsa.net
Wed Apr 13 20:50:57 UTC 2011


On 04/13/2011 10:23 PM, Todd Edwards wrote:
> Edit the file /etc/sudoers and add yourself there. Although deemed a
I would if the system will allow me. Tried sudo gedit /etc/sudoers
Got xxxx not in sudoers and will be reported
> security risk by the Ubuntu community you can also change the root
Tried that to according to man sudo_root.
Same reply from system
> password and become root as you can when using Fedora, CentOS, etc...
> Just add yourself to the sudoers file above and do sudo passwd to change
> root's password. Sudo has some pretty strict file permissions so you'll
> need to chmod it to something you can edit like 700 and then chmod it
> back to I believe 440 (if you get this step wrong it will tell you what
> the permissions need to be when you try to use sudo).
>
> -- Todd Edwards
>
> On Wed, 2011-04-13 at 12:57 -0700, Johan Scheepers wrote:
>> Good day,
>>
>> 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.
>>
>> Kindly some advice please.
>> Thanks
>> Johan S
>
>





More information about the ubuntu-users mailing list