2uzhan.com
Advertisement
Now Place:2uzhan.com » I insert an invalid value option for my sudoers

I insert an invalid value option for my sudoers

Ubuntu @ July 4, 2011   Views:0

I edit my sudoer in a consol by visudo.
I thought I could set my passwd_timeout to a value less then 1min... apparently no !
I did the same mistake for my timestamp_timeout.

Here's my prompt when trying to be in root by sudo su:

[email protected]:~$ sudo su
sudo: value `0.2' is invalid for option `passwd_timeout'
[sudo] password for root:

So I thought I could we wise and try to connect by su:
Here's my prompt when trying to be in root by su:

[email protected]:~$ su
Mot de passe :
su : Échec d'authentification
[email protected]:~$

I don't know how to fix the problem,
since I can no longer connect my self in root to edit the file...

--------------Solutions-------------

I forgot to say, my root password is no longer recognize...

the tread is kind of old but i think this is what your looking for:
http://ubuntuforums.org/showthread.php?t=229309

If I may add, boot to recovery mode. It is a way to cirumvent the file permission and allow you to edit files owned by root. werty2010 nice link

So, I think the next step is to change the file by booting on a liveCD or recovery mode... pfffff !

thank you

Tags:
© 2018 2uzhan.com Contact