Gentoo Archives: gentoo-user

From: Daniel Iliev <daniel.iliev@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] pam limits
Date: Thu, 25 Oct 2007 12:47:00
Message-Id: 47208e26.07ae660a.6172.ffffce7b@mx.google.com
In Reply to: Re: [gentoo-user] pam limits by Albert Hopkins
1 On Thu, 25 Oct 2007 06:45:49 -0500
2 Albert Hopkins <marduk@×××××××××××.org> wrote:
3
4 > >
5 > > Now that the behaviour of "useradd -m xyz" has changed from putting
6 > > the newuser in group "users" ("xyz:users") to putting the user in a
7 > > group with same name ("xyz:xyz") I would appreciate any advice on
8 > > getting the old behavior back or any workaround to achieve the same
9 > > goal - all users should be limited by default at creation time.
10 >
11 > Oh do they do that now? That was that nasty Red Hat extension.
12 > Nevertheless, override the default behavior:
13 >
14 > # useradd -m -g users xyz
15 >
16 >
17 >
18 > --
19 > Albert W. Hopkins
20 >
21
22
23
24 Yes, of course, I could use "useradd -g", but I'm always forgetting
25 about it. I was thinking for something more like...let's say a config
26 file, where one could put the defaults and actually use only
27 "useradd xyz" w/o any params. Talking of which...there's that
28 file /etc/default/useradd, where I have the statement
29 "GROUP=100" (100=users), but useradd doesn't obey it...
30
31
32 --
33 Best regards,
34 Daniel
35 --
36 gentoo-user@g.o mailing list