Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 13505] useradd and adduser should be improved/fixed

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 13505] useradd and adduser should be improved/fixed
  • Date: 6 Mar 2007 18:41:26 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13505





------- Additional Comments From sobukus AT sourcemage.org 2007-03-06 12:41
-------
So, on my boxen

useradd booper

adds a user booper in a group booper, see

$ grep booper /etc/passwd
booper:x:1001:1003::/home/users/booper:/bin/bash
$ grep booper /etc/group
booper:x:1003:

Even if my /etc/default/useradd looks like the one shown here with GROUP=1000
and the group users:1000 exists, so that

useradd -g 1000 baaper

indeed results in:

$ grep baaper /etc/passwd
baaper:x:1002:1000::/home/users/baaper:/bin/bash
$ grep baaper /etc/group

So I wonder what the upstream default group 1000 is made of ... thin air, as
it seems to me.
The HOME setting _is_ honored, GROUP not. Can someone confirm this?
I faintly remember seeing version 4.0.18 of shadow and planning to update...
but now the web/download site of shadow seems to be dead - does someone have
some hint about that?
I wonder if the now inaccessible new version had some fixes...

So, should we even make the adduser script more explicit to not make it rely
on useradd honouring defaults?


--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page