[ILUG] adding users to groups

Paul Mullen mullen.paul at gmail.com
Fri Feb 29 08:04:19 GMT 2008


On Fri 29 Feb 2008, Brian Foster wrote:
>   | Date: Fri, 29 Feb 2008 06:10:54 +0000
>   | From: "Lisa Muir" <34.24.34 at gmail.com>
>   |[ ... ]
>   | I can hand edit /etc/group to add [a new user to an existing group].
>   | but I'd like to do it through groupadd or useradd.  [ ... ]
>
>  `useradd -G ...'  or  groupmod(8) ?
gpasswd -a <username> <group>

gpasswd(1)

Paul.
>
> cheers!
> 	-blf-
> --
> “How many surrealists does it take to    |  Brian Foster
>  change a lightbulb?  Three.  One calms  |  somewhere in south of France
>  the warthog, and two fill the bathtub   |     Stop E$$o (ExxonMobil)!
>  with brightly-coloured machine tools.”  |       http://www.stopesso.com





More information about the ILUG mailing list