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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

removing users from a group

Status
Not open for further replies.

benp07

Technical User
Aug 31, 2001
87
US
i am running the latests freebsd and i am trying to remove users from one group and put them in am other so i can give the read and write access from samba shares and i have no clue what to do thanks for your help

Ben
 
I don't know FreeBSD, but in Red Hat, you can either edit the /etc/group file directly or use can the gpasswd command.

This will add a user to a group....
gpasswd -a user group

This will remove a user from a group...
gpasswd -d user group


ChrisP

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top