Corey Miller <[EMAIL PROTECTED]> writes:

>       While I was editing my /etc/sudoers file using the visudo command,
> my computer lost power. When I was able to restore power, everything
> seemed to be functioning alright. Except, I tried to run the visudo
> command, and got the following error:
> 
> visudo: sudoers file busy, try again later.
> 
>       I tried removing the file, then renaming a backup copy to
> /etc/sudoers, and it still gave the same error. Then I tried removing and
> reinstalling the package, only to get the same error. If it makes a diff,
> I'm running hamm. Thanks for any help you can provide,

visudo copies the sudoers file to /etc/stmp before working on it.  You 
can fix you problem by doing "rm /etc/stmp".

Incidentally, you might have been able to diagnose this problem by
running 'strace visudo' and then looking at the last few lines before
visudo prints the error message it gives you.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
  • visudo Corey Miller
    • Daniel Martin at cush

Reply via email to