Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add someone to a group

Status
Not open for further replies.

kensington43

Technical User
Nov 29, 2005
50
US
How do I add someones name to a group?

I am the owner (smith) of a directory called directoryA and want to add someone to the group name so they can write into the directory.

Code:
drwxrwsr-x 14 smith  directoryA     5120 Dec  8  2005 .
 
Or usermod if the user already exists, or simply vi /etc/group.

Annihilannic.
 
Doh. usermod is what I meant. Good start to the new year!

Have a good one anyway!!
 
Thanks,

I do not have root access. Is this something only root can do?

Code:
usermod -G directoryA Jones
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top