Re: adduser: default groups
I feel my question was badly explained.
So there is 2nd attempt: It seems it's possible to set a defaults file
for useradd-usermod (say /etc/default/useradd or the like), were
(perhaps?) I could set some default groups, so new users would be
automatically on these groups. Unfortunately, I 'can't find any examples
so I don't know about the syntax (if any). Could you give me some
pointer?
I know, I can write a little shell script. I made it for Woody. I'm sure
it would work on Sarge too. Now I would know about that defaults file.
After all, adduser is a perl script that calls useradd. To do a second
script on top of adduser doesn't seem very neat to me. And curiosity is
stronger than me.
Regards,
Roman
On Sat, 09 Jul 2005 21:32:50 +0200
Rakotomandimby Mihamina <mihamina.rakotomandimby@etu.univ-orleans.fr>
wrote:
> Roman Muñoz wrote:
> > Hi,
>
> Hi,
>
> > Question is: where can I set these default groups the user will be
> > in? I reviewed adduser and /etc/adduser.conf and found nothing
>
> 'man adduser' clearly tells that you can provide arguments to specify
> your custom choices.
>
> --
> Miroir de logiciels libres => http://www.etud-orleans.fr
> Un Nokia sous Linux, "programmable" en Open Source
> http://www.nokia.com/770 , http://www.maemo.org/
> http://www.maemo.org/platform/docs/tutorials/Maemo_tutorial.html
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
Reply to: