user not in sudoers

Samuel samuel.derous at scarlet.be
Wed Apr 13 21:44:07 UTC 2011


Johan Scheepers schreef op wo 13-04-2011 om 22:50 [+0200]:
> 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

have you tried booting up in single user mode or recovery mode? Then it
is possible to get a root console and you should be able to change the
file.

> > 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
> >
> >
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110413/ccb12bad/attachment.sig>


More information about the ubuntu-users mailing list