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

Re: add user as group member



usermod -G sys,adm,audio,disk,camera -a skyblue

jeffry s wrote:
> 
> 
> On Fri, Mar 14, 2008 at 2:29 PM, Paul Johnson <baloo@ursine.ca
> <mailto: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 <mailto: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?

-- 
Best Regards,
 Ding Honghui


Reply to: