修改组和用户
用户组和用户修改
groupmod 命令
[root@localhost ~]# groupdel test
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# groupadd test
[root@localhost ~]# tail -1 /etc/group
test:x:1001:
[root@localhost ~]# groupm
groupmems groupmod
[root@localhost ~]# groupmod -g 1002 test
[root@localhost ~]# tail -1 /etc/group
test:x:1002:
[root@localhost ~]# groupmod -n test1 test
[root@localhost ~]# tail -1 /etc/group
test1:x:1002:usermod 命令
passwd 命令
mkpasswd 命令
最后更新于