[Adduser-devel] Bug#730107: adduser --system and addgroup --system should ignore remote directory services

Stephen Gran sgran at debian.org
Fri Nov 22 20:24:43 UTC 2013

This one time, at band camp, Harald Dunkel said:
> On 11/21/13 20:40, Stephen Gran wrote:
> > 
> > adduser uses the system nss routines.  It's up to the admin of the
> > system to set them up appropriately, sorry.
> nsswitch.conf does not provide an interface to introduce new group
> IDs. getent uses nss, but this is a bug report about adduser.

Sure it does.  man putgrent, although you are right, it is file based.
adduser does not know about directory services, it calls the system nss
routines to determine user and group information, and then it uses the
passwd and related commands to manipulate users and groups.  If those
don't do the right thing with your directory services, then adduser
can't help you.

|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20131122/1fa396e2/attachment.sig>

More information about the Adduser-devel mailing list