linux增删用户
linux增加用户
root@i3-Default-string:/home#id gb
root@i3-Default-string:/home# useradd -m -d /home/gb -s /bin/bash gb
root@i3-Default-string:/home# passwd gb
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@i3-Default-string:/home#
linux删除用户
root@i3-Default-string:/home# userdel gb