useradd

发表于:2007-05-26来源:作者:点击数: 标签:

Solaris上用命令useradd添加用户

#useradd  -d  /export/home/username username

1.login as root
2.cd /export/home
3. mkdir username

4.#useradd  -d  /export/home/username username
5.#chown -R username /export/home/username
6.#chmod -R 775 /export/home/username
7.relogin as the new user

原文转自:http://www.ltesting.net