solaris 添加用戶

(1)mkdir
mkdir -p /export/home/username
(2)adduser
useradd -s /usr/bin/bash -d /export/home/username username
(3)set password
passwd username
(4)set home
chown username /export/home/username
(5)check
vi /etc/passwd
check the last line

PS: more useradd usage should see : solaris sysadmin guide

and solaris home directories

 

From: baidu hi

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章