赞
踩
创建一个新的用户admin ,指定/root家目录下,并指定用户ID6666.设置密码为:admin@123.写出命令过程
[root@localhost ~]# useradd -d /root/admin -u 6666 admin
[root@localhost~]# ls
admin anaconda-ks.cfg
[root@localhost~]# passwd admin
changing password for user admin.
new passwd:admin@123
BAD PASSWORD: The password contains the user name in some form
Betype new password:admin@123
passwd:all authentication tokens updated successfully.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。