On Fri, Feb 11, 2011 at 9:35 AM, Rick Stevens <ri...@nerd.com> wrote:
> /etc/default/useradd contains the values used to fill out the "useradd"
> command if you don't put in the options, but it doesn't supply anything
> for the "-G|--groups" option of useradd.  You still need to add that
> option to the command.

Yeah, that's what I discovered :-) It would make a great enhancement,
I think. Might put in an RFE.

>
> You could alias useradd:
>
>        alias myuseradd="useradd -G 20,63,1010,2020"
>
> then when you use "myuseradd", the user added will have the specified
> supplemental groups added to him/her.

Thanks :-)

-c
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to