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

Re: adding user to multiple groups



On (04/10/05 15:38), Basanta Shrestha wrote:
> Hi List,
> Can any help me? I use debian. I need to add a new user which would be 
> member of multiple groups. I have to do this using simple "adduser 
> $username" command( without using "usermod" command . Here is my 
> /etc/default/useradd file
> 
> >GROUP=100
> >HOME=/home
> >INACTIVE=-1
> >EXPIRE=
> >SHELL=/bin/bash
> >SKEL=/etc/skel
> >GROUPS=audio
> 
> The user is not added to the audio group.
> 
> Regards,
> Basanta

To add new user:

$adduser <newuser>


To add them to groups:

$ adduser <user> <group>

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business




Reply to: