broken sudo?!?
Henning Kilset Pedersen
henning at mopo.no
Tue Jul 12 11:52:41 UTC 2005
On Tue, 2005-07-12 at 07:44 -0400, Stephen R Laniel wrote:
> On Tue, Jul 12, 2005 at 01:36:52PM +0200, Henning Kilset Pedersen wrote:
> > Somehow I've managed to break the sudo functionality in Hoary. I can't
> > do sudo anything. And I can't run for instance Ubuntu Update from Gnome
> > since it depends on sudo.
> >
> > The /etc/sudoers file is (seemingly) intact and untouched. I've run
> > visudo and just resaved the file, but nothing happens.
>
> Wait a second: you can't run visudo and save the
> /etc/sudoers file unless you run it either
>
> a) as root or
> b) under sudo.
(Hiding shamefully) - see option a).
> So do you have a root account? For reasons discussed
> literally ad nauseum on here, you should avoid having a root
> account. But I guess it does come in handy during those
> (hopefully rare) times when sudo is borked.
Yes. I have a root account. It comes from old habits of typing su - then
a long string of other commands, instead of prefixing with sudo.
I haven't followed those discussions you mention, as I'm brand new to
ubuntu.
But anyway. I fixed my problem :)
Regards,
Henning
More information about the ubuntu-users
mailing list