[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Re: adding user to multiple groups
From:       Clive Menzies <clive () clivemenzies ! co ! uk>
Date:       2005-10-04 10:02:24
Message-ID: 20051004100224.GC4647 () clivemenzies ! co ! uk
[Download RAW message or body]

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



-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic