Cameron Simpson wrote: > On 06Dec2006 03:07, John Gomez <[EMAIL PROTECTED]> wrote: > | I need a clarification ... i created a 3 groups and added some > | users with that group . Nw i want to add only one more user to the > | existing 3groups "What is the command i hv to use ??" I used "usermod > | -g" its accepting , but the problem is after going to the 2nd group > | and i added the same user to this group the same name added the 1st > | group is disappearing and its coming to the 2nd group ...and if i go > | the 3rd group its coming to the 3rd group and disappearing from the 2nd > | group. Pls give me advice how to do this ?? > | > | Next is i wana to remove a particular user from the existig group .. > > I just edit the file /etc/group. It's a text file. Go for it!
Read 'man usermod' and you will notice that the '-g' argument changes the user's initial login group, while '-G' deals with the user's additional groups. -- -wittig http://www.robertwittig.com/ . http://robertwittig.net/ To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be removed. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/LINUX_Newbies/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/LINUX_Newbies/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
