[Wylug-help] Sudo broken
Howard Close
howard.close at gmail.com
Tue Apr 17 10:16:25 UTC 2012
Thanks. Fixed it by mounting the drive via Live CD as per your suggestion.
As an aside the README in the sudoers.d directory advised me to read the
sudoer man page. Not sure I understood it all but it was informative and a
reminder of the depth of information available - which I often forget.
Howard
On 17 April 2012 09:59, Simon Greenwood <sfgreenwood at gmail.com> wrote:
>
>
> On 17 April 2012 09:50, Howard Close <howard.close at gmail.com> wrote:
>
>> Hi,
>> My Ubuntu 11.04 installation has suddenly blocked my access to root
>> priveleges.
>>
>> sudo foobar
>>
>> gives
>>
>> sudo: /etc/sudoers is mode 0640, should be 0440
>> sudo: no valid sudoers sources found, quitting.
>>
>> Clearly I cant chmod /etc/sudoers without superuser priveleges.
>>
>> Not sure what has happened - any suggestions?
>>
>> It sounds like the privileges of /etc/sudoers has been changed - could be
> accidentally, could be a bad package or something like that. Do a ls -l
> /etc/sudoers to see what exactly has happened.
>
> The only real fix is to boot from a live CD or USB, mount your system
> drive and change it back to the correct permissions. The repair system
> option *might* do it but I'm not sure.
>
> s/
>
>>
>>
> --
> Twitter: @sfgreenwood
> "Go on Bobby, both barrels"
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/wylug-help/attachments/20120417/c8e38f2f/attachment.htm>
More information about the Wylug-help
mailing list