(no subject) group add

ajay sysadmin at tivimtech.com
Tue May 10 11:12:24 UTC 2005


thanks mr. narayan , also tell me difference bitween -g and -G flags with
usermod command -G removes group or what?
suppose i a member of a number of groups and i wanna add one more whichone
out of -g or -G i should go for.?
and what if i wanna remove one group what exactly i should write.?

rgds

ajay

----- Original Message -----
From: drumil narayan <drumilnarayan at yahoo.com>
To: Getting started with Red Hat Linux <redhat-install-list at redhat.com>
Sent: Tuesday, May 10, 2005 4:24 PM
Subject: Re: (no subject) group add


> hello ajay,
>
> there are varios ways to do it..
>
> if its new user then minimum
>
> adduser username -g prime group -G secondry groyp list
> with commas -d user home directory
>
> to modify his/her group
>
> usermod -G group name username
>
> or change it with gui
>
> thanx in advance..drumil
> --- ajay <sysadmin at tivimtech.com> wrote:
>
> > hey
> >
> >  i found entry in /etc/passwd file itself
> >
> > still i wanna know proper command to do this
> >
> > rgds
> >
> > ajay
> >   ----- Original Message -----
> >   From: ajay
> >   To: redhat
> >   Cc: prabhat
> >   Sent: Tuesday, May 10, 2005 3:27 PM
> >   Subject: (no subject)
> >
> >
> >   how to add a user to a graup from test prompt.
> >   say "sambauser" group
> >   and user "ajay"
> >
> >   and also tell me which file it stores all this
> > information regarding groups
> >
> >   like "/etc/passwd" file stores info about users,
> > their home dir.. etc.
> >
> >   rgds
> >
> >   ajay
> >
> >
> >
> --------------------------------------------------------------------------
----
> >
> >
> >   _______________________________________________
> >   Redhat-install-list mailing list
> >   Redhat-install-list at redhat.com
> >
> >
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> >   To Unsubscribe Go To ABOVE URL or send a message
> > to:
> >   redhat-install-list-request at redhat.com
> >   Subject: unsubscribe
> > > _______________________________________________
> > Redhat-install-list mailing list
> > Redhat-install-list at redhat.com
> >
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> > To Unsubscribe Go To ABOVE URL or send a message to:
> > redhat-install-list-request at redhat.com
> > Subject: unsubscribe
>
>
> ________________________________________________________________________
> Yahoo! India Matrimony: Find your life partner online
> Go to: http://yahoo.shaadi.com/india-matrimony
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe




More information about the Redhat-install-list mailing list