Fedora 18

Matthew Miller mattdm at fedoraproject.org
Wed Jan 16 23:11:06 UTC 2013


On Thu, Jan 17, 2013 at 09:49:13AM +1100, Roger wrote:
> >>Sudo refused to let me use user with root permissions even after
> >>editing sudoers. More tinkering unless I'm doing the wrong thing with
> >>sudoers.
> >Since you haven't said what you actually did, nobody can give you
> >accurate advise.  All I could say was make sure you edit sudoers
> >properly, such as using visudo to do it.
> Thanks.
> I edited /etc/sudoers as root.
> This edit has always worked for me.

The advantage of visudo is that it checks to make sure the configuration is
valid before saving, so it's harder to lock yourself out of the system.

Alterately, you should be able to simply add yourself to the wheel group,
which will, in the default configuration, have the same effect with no
editing required. (You'll have to log out and in again, though.)

-- 
Matthew Miller  ☁☁☁  Fedora Cloud Architect  ☁☁☁  <mattdm at fedoraproject.org>


More information about the users mailing list