s I see you picked up there lingo!udo

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
Subject: s I see you picked up there lingo!udo
On Tue, 2003-12-09 at 10:39, Michael Havens wrote:
> It seems that now whenever I type in 'visudo' I get the 'swap file' error.
> Should I erase the /etc/sudoers file (I already tried erasing the .tmp file
> but it persists and when I type in visudo I get the /etc/sudoers.tmp even
> though I deleted it.
> Here is what I am thinking:
> 1- copy the contents of sudoers
> 2- rm /etc/sudoers*
> 3- visudo
> 4- put the contents of what I have copied into the new file.
>
> Does this sound about right?


> E325: ATTENTION
> Found a swap file by the name "/etc/.sudoers.tmp.swp"
>           owned by: root   dated: Tue Dec  9 10:06:49 2003
>          file name: /etc/sudoers.tmp
>           modified: YES
>          user name: root   host name: bmike1
>         process ID: 770
> While opening file "/etc/sudoers.tmp"
>              dated: Tue Dec  9 10:06:16 2003

----
I would choose (R) to recover a previous edit if that is desired or if
not, (D) to delete /etc/sudoers.tmp.swp and then you are editing without
a problem.

Craig