ADD USER THAT BELONG TO A GROUP
--------------------------------------
[root@localhost q.yang]# useradd -g developer guest
ADD USER
-------------------
#useradd john
MODIFY USER ACCOUNT
------------------
#usermod
SET PASSWORD for NEW USER
-----------------------------
#passwd john
[q.yang@localhost ~]$ ll /home/
total 20
drwx------ 4 guest developer 4096 2010-09-16 11:14 guest
drwx------ 2 root root 4096 2010-07-20 07:29 lost+found
drwx------ 38 q.yang q.yang 4096 2010-09-16 11:14 q.yang
CHANGE GROUP OWNERSHIP FOR ALL FILES IN PATH ./
--------------------------------------------------
[q.yang@localhost ~]$ chgrp -Rv developer ./
Wednesday, September 15, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment