Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36162

sudo file problem

$
0
0
I was exploring the sudo file (fedora16) in visudo and accidently deleted a couple of lines. Now I get this when I open visudo;
E325: ATTENTION
Found a swap file by the name "/etc/.sudoers.tmp.swp"
owned by: root dated: Tue Oct 9 20:49:35 2012
file name: /etc/sudoers.tmp
modified: YES
user name: root host name: laptopredhat
process ID: 11679
While opening file "/etc/sudoers.tmp"
dated: Tue Nov 30 06:13:58 2010

(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /etc/sudoers.tmp"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/.sudoers.tmp.swp"
to avoid this message.
"/etc/sudoers.tmp" 97L, 3338C
Press ENTER or type command to continue...

when i do press enter and view file it appears ok.
my question is what are the commands to delete the swap file?:(

Viewing all articles
Browse latest Browse all 36162

Trending Articles