انجمنهای فارسی اوبونتو
کمک و پشتیبانی => انجمن عمومی => نویسنده: Sec Expert در 12 مهر 1387، 08:14 بظ
-
سلام دوستان راستش من هنگام اجرای دستور sudo visudo به این error برمی خورم :'(:
E325: ATTENTION
Found a swap file by the name "/etc/.sudoers.tmp.swp"
owned by: root dated: Tue Sep 30 22:06:01 2008
file name: /etc/sudoers.tmp
modified: YES
user name: root host name: khh-desktop
process ID: 6168
While opening file "/etc/sudoers.tmp"
dated: Sun Sep 28 00:33:06 2008
(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" 23 lines, 470 characters
Press ENTER or type command to continue
اینم بگم که با هیچ برنامه ی دیگه ای در حال ادیته همون فایل نیستم.
-
ضمنا" نمی تونم فایل sudoers.tmp رو دیلیت کنم.
-
يعني تو forum به اين بزرگي كسي نبود كه كمك كنه؟!! :'(
-
در حالت recovery mod یا با دیسک لایو بالا بیاید و این کار رو بکنید.
-
وقتی این خطا ر میده، Enter بزنید که بازش کنه اگه هم چیزی نشد، فایل etc/.sudoers.tmp.swp/ ر پاک کنید.
-
در حالت recovery mod یا با دیسک لایو بالا بیاید و این کار رو بکنید.
چطوری به ریکاوری مد دست پیدا کنم؟
وقتی این خطا ر میده، Enter بزنید که بازش کنه اگه هم چیزی نشد، فایل etc/.sudoers.tmp.swp/ ر پاک کنید.
نمی تونم فایل رو پاک کنم اجازش رو ندارم permission denied :frown: