删除用户时报错:userdel: user tom is currently used by process 21195 原因: 我这里是因为使用了多层级用户切换,其中有一层是tom用户,所以会报这个错,用exit退出tom用户,然后执行改命令问题解决