When trying to remove the user, it returns "user is currently logged in".
I already killed the user using pkill -KILL -u usernameHere and several other commands, but it does not help.
How can I remove this user?
Running CentOS 6.
-------------------------------------------------
SU to the user su
- username and run kill
-9 -1 as the user. Exit the shell and try the userdel
-r username again.
Or you can check for processes from the user using lsof
-u username...
本文指导如何在 CentOS6 系统中解决用户登录时出现 useriscurrentlyloggedin 的错误,通过 su、kill 命令进行用户切换与删除,并使用 lsof 检查用户进程。
5466

被折叠的 条评论
为什么被折叠?



