[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: add user as group member



On Thursday 13 March 2008 11:53:02 pm jeffry s wrote:
> On Fri, Mar 14, 2008 at 2:29 PM, Paul Johnson <baloo@ursine.ca> wrote:
> > On Thursday 13 March 2008 11:14:43 pm jeffry s wrote:
> > > i know this question sound so stupid.
> > > after gooooooogling. i end up with useradd, groupadd, usermod, userdel,
> > > groupmod, groupdel, groups.
> > > i do not be able to determine how to add a user to particular group in
> >
> > the
> >
> > > system.
> >
> > adduser can take up to two arguments.
> >
> > If you call adduser with one argument, it must be the login of the user
> > you
> > wish to add.
> >
> > If you call it with two arguments, it must be the existing user on the
> > system
> > and the group you wish to add that user to.
> >
> > --
> > Paul Johnson
> > baloo@ursine.ca
>
> let say i have existing  user  skyblue
> if i want to add skyblue to multiple group sys, adm, audio, disk, camera
>
> how can i do that?

Call adduser multiple times.

adduser skyblue sys
adduser skyblue adm
(etc.)

-- 
Paul Johnson
baloo@ursine.ca

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: