How can I remove this user

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...

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章