userdel

功能:删除用户
相关文件:/etc/passwd    /etc/shadow    /home/username
userdel [-r] username

常用参数:
-r    连同家目录一起删除   

注:可能其他相关文件可通过#find / -user username 查找出逐一删除  然后执行userdel -r username 一切搞定

相关文章:

  • 2021-07-17
  • 2022-03-04
  • 2022-12-23
  • 2021-10-27
  • 2021-12-26
  • 2022-01-23
  • 2022-12-23
  • 2022-01-10
猜你喜欢
  • 2021-08-13
  • 2022-12-23
  • 2021-12-26
  • 2021-08-20
  • 2022-12-23
  • 2021-05-02
  • 2021-08-11
相关资源
相似解决方案