这是我的密码文件:
root:x:0:0:root:/root:/bin/bash
m:x:0:100::/home/m:/bin/bash
masoudjjgh:x:1000:100:masoudjjgh:/home/masoudjjgh:/bin/bash
Run Code Online (Sandbox Code Playgroud)
我尝试删除我创建的用户m:
[root@...]# userdel m
[root@...]# userdel: user m is currently used by process 1
Run Code Online (Sandbox Code Playgroud)
当我尝试通过此命令杀死 m 时:
[root@...]# killall -KILL -u m
Run Code Online (Sandbox Code Playgroud)
desktop (kde)
,console
任何东西都退出了,logged
我会自动关闭。一切都结束了,我必须login
再次。userdel 将再次关闭所有。无论如何要删除m
吗?
我创建了它,但现在我无法删除它。