发布时间: 2018-03-19 11:03:41
[root@desktop ~]# groupadd -g 40000 adminuser
[root@desktop ~]# useradd natasha -G adminuser
[root@desktop ~]# useradd harry -G adminuser
[root@desktop ~]# useradd sarah -s /sbin/nologin
[root@desktop ~]# for user in natasha harry sarah
> do
> echo redhat |passwd --stdin ${user}
> done
下一篇: {红帽RHCE}rhcsa考前辅导-3