Re: Default user groups

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

 



On Fri, Feb 11, 2011 at 9:35 AM, Rick Stevens <ricks@xxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux