LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-04-2007, 09:18 PM   #1
guy_ripper
Member
 
Registered: Oct 2006
Posts: 80

Rep: Reputation: 15
adding multiple groups in a single user


Hi,

I'm new with linux. I'm using fedora for my laboratory. May I ask anyone of you here know how to add a one user but he/she is belong to a multiple group. Is it possible in linux? Need this coz' I'm sharing a folder to act as a samba for windows. This is for the purpose of write/read permission on the folder shared.

Thanks....
 
Old 12-04-2007, 09:34 PM   #2
peart
Member
 
Registered: Nov 2003
Distribution: Arch
Posts: 31

Rep: Reputation: 16
Just type "gpasswd -a user group" as root. Do it once for each group. I don't know if it can be done for multiple groups in one shot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adding user and groups cnm Linux - Enterprise 3 01-03-2007 03:45 AM
Adding Multiple Files In A Single Gz File onacorpuscle Linux - Newbie 3 08-31-2006 03:18 AM
extended user rights in multiple groups keex Linux - Security 2 03-15-2006 08:22 PM
Can I have multiple desktop/manager options with single user? timsch75 Slackware 5 08-18-2004 05:10 PM
Adding user and groups manon Linux - Newbie 3 04-26-2004 12:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration