On Thu, 2007-10-25 at 14:35 +0300, Daniel Iliev wrote:
> Hi, ppl
> 
> I have the habit of imposing some limitations over all users via 
> /etc/security/limits.conf. For example I used to limit the number of
> concurrent processes one can execute to prevent the system from simple
> misuses like fork bombs by putting a limit (nproc) for group "users"
> and all other common groups ("games" etc.)
> 
> Now that the behaviour of "useradd -m xyz" has changed from putting the
> newuser in group "users" ("xyz:users") to putting the user in a group
> with same name ("xyz:xyz") I would appreciate any advice on getting the
> old behavior back or any workaround to achieve the same goal - all
> users should be limited by default at creation time.

Oh do they do that now?  That was that nasty Red Hat extension.
Nevertheless, override the default behavior:

# useradd -m -g users xyz



--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list

Reply via email to