Default user groups
g
geleem at bellsouth.net
Thu Feb 10 19:18:03 UTC 2011
hi chris,
On 02/06/2011 10:18 PM, Chris Smart wrote:
<>
> Thanks Thomas, but unless I missed something it doesn't really help
> :-) I realise that each user gets their own private group, but I want
> to have new users added to extra groups at the time of creation.
consider /etc/default/useradd;
# useradd defaults file
GROUP=100,20,63,1010,2020
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel
CREATE_MAIL_SPOOL=yes
also, you may want to make changes to;
/etc/skel/.bash_profile and /etc/skel/.bashrc
to reflect additions for the special groups. ie, "PATH=", "ENV=", alias's,
startup progs, etc...
hth.
--
peace out.
tc.hago,
g
.
****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 545 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110210/75587b6e/attachment.bin
More information about the users
mailing list