linux删除普通用户报错 userdel: user fancy is currently used by process 1973
来源:互联网 发布:在农村淘宝开店 编辑:程序博客网 时间:2024/06/14 15:50
userdel -r fancy
好久没有写博客了,现在更多的是把自己学习过程中的记录、总结统一在有道云笔记。考完试再把里面的东西整理一下吧。
废话不多说,还是赶紧把这个问题整理好。
【报错信息】userdel: user fancy is currently used by process 1973
我把1973这个进程kill了以后仍然存在,也就是没有真正的kill掉
【解决】网上的解决问题一大堆,但都没有讲清楚为什么会这样。但相比之下,这篇文章的解决方法好比较靠谱:http://www.cnblogs.com/wangkongming/p/3674769.html
【我的方法】无法kill掉进程一般来说就是这个进程还被占用,这里肯定是root 在占用。如下图,找出那个程序在占用。
从上面的截图可以发现,直接kill 3152 是无法解决问题,因为现在使用的root是3182,是在fancy下通过su root 进入的。所以必须先退出当前root。直接 Ctrl+D 就可以推出,也可以直接kill 3182。这个时候就退回了fancy用户的状态下,再 Ctrl+D 退出;这个时候又回到了一开始的root状态,这个时候在输入 userdel -r fancy 就能够彻底删除该用户相关的信息、文件。
0 0
- linux删除普通用户报错 userdel: user fancy is currently used by process 1973
- linux删除普通用户报错 userdel: user fancy is currently used by process 1973
- linux userdel 删除用户遇到 userdel: user test1 is currently used by process 7585 无法删除的问题
- centos userdel删除用户时候提示userdel: user *** is currently used by process 20879
- userdel: user * is currently used by process 1278
- user XXX is currently used by process
- Linux 删除用户出现提示userdel: user ** is currently logged in
- userdel删除用户时候提示:userdel: user xx is currently logged in
- ubuntu userdel删除用户时候提示:userdel: user ** is currently logged in
- 系统报错:Error the user data image is used by another emulator. aborting
- 文件流操作,报“because it is being used by another process. ”错误解决
- 【ERROR】su user报'This account is currently not available'错误 for linux
- Linux中删除Oracle用户 提示 ORA-01940: cannot drop a user that is currently connected
- 解决VTune错误PMU resources currently being used by another profiling tool or process
- 用户删除时出现 user aa is currently logged in
- the user data image is used by another emulator. aborting
- Oracle操作报错:record is locked by another user
- C#使用Create创建文件后,报The Process cannot access the file because it is being used by another process的异常
- Linux Is Not Matrix——keepalived 实现主备切换
- 我输了
- 内存管理
- iOS 【关于几个常用UIColor宏定义】
- 深入分析JavaWeb Item54 -- Spring中的AOP面向切面编程2
- linux删除普通用户报错 userdel: user fancy is currently used by process 1973
- 多线程学习
- 老人真是饿了(贪心)
- POJ 3259 Wormholes(判断负环&(Bellman-Ford|SPFA))
- H264的DTS和PTS
- C/C++小知识
- 【Scala】尾递归优化
- HRBUST 1037 组合数末尾的零
- IOS使用Xib创建自定义View