fanweisheng

总览 SYNOPSIS

userdel [-r] login

描述

userdel 命 令 修 改 系 统 帐 号 档 删 除 所 有 login 会 参 考 的 部 份 。 使 用 者 名 称 必 须是 存 在 的 。 The options which apply to the userdel command are:

-r
使 用 者 目 录 下 的 档 案 一 并 移 除 。 在 其 他 位 置 上 的 档 案 也 将 一 一 找 出 并 删 除 。

 

文件 FILES

/etc/passwd - 使 用 者 帐 号 资 料
/etc/shadow - 使 用 者 帐 号 资 讯 加 密
/etc/group - 群 组 资 讯

返回值 EXIT VALUES

0 - success
1 - can\'t update password file
2 - bad command syntax
6 - specified user doesn\'t exist
8 - user currently logged in
10 - can\'t update group file
12 - can\'t remove home directory 

分类:

技术点:

相关文章:

  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2022-02-25
  • 2021-12-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2022-03-04
  • 2021-10-20
  • 2022-02-04
相关资源
相似解决方案