0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

勉強メモ123_visudoコマンドで「visudo: /etc/sudoers がビジー状態です。後で再試行してください」のエラーが出た場合

Last updated at Posted at 2023-04-01

visuoコマンド実行

[root@localhost ~]# visudo
visudo: /etc/sudoers がビジー状態です。後で再試行してください

psコマンドで出てくるvisudoのプロセスを確認し、プロセスIDを指定してkillコマンド実行

[root@localhost ~]# ps aux | grep visudo
root      8518  0.0  0.1 119264  1036 pts/4    S+   12:08   0:00 visudo
root      8603  0.0  0.0 112824   980 pts/5    S+   12:27   0:00 grep --color=auto visudo
[root@localhost ~]# kill 8518

再度、visudo実行、エラーが出なくなるのを確認

[root@localhost ~]# visudo
visudo: /etc/sudoers.tmp は変更されません
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?