On Thu, 25 Oct 2007 06:45:49 -0500 Albert Hopkins <[EMAIL PROTECTED]> wrote:
> > > > 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 > Yes, of course, I could use "useradd -g", but I'm always forgetting about it. I was thinking for something more like...let's say a config file, where one could put the defaults and actually use only "useradd xyz" w/o any params. Talking of which...there's that file /etc/default/useradd, where I have the statement "GROUP=100" (100=users), but useradd doesn't obey it... -- Best regards, Daniel -- [EMAIL PROTECTED] mailing list