一.发现问题: 有技术人员离职,需要删除系统帐号,但是进行删除操作的时候报:" userdel: user zhoulijiang is currently used by process 1 " # userdel -r zhoulijiang userdel: user zhoulijiang is currently used by process 二.问题原因: 因为特殊需求,此用户的UID当时修改为0了. # cat /etc/passwd | grep zhoulijian…
linux添加新用户使用 useradd -----create a new user or update default new user information 删除用户使用userdel -----delete a user account and related files useadd options: -c, --comment COMMENT set the GECOS field for the new user account -d, --home-dir HOME_DIR…