Bug#730107: adduser --system and addgroup --system should ignore remote directory services

2022-03-09 Thread Harald Dunkel

Instead of dropping this bug report with won'tfix after 8 years it would have
been appropriate to reassign it to the useradd package immediately.

Thanx very much for your help

Harri



Bug#730107: adduser --system and addgroup --system should ignore remote directory services

2022-03-08 Thread Marc Haber
Control: tags -1 wontfix
thanks

On Mon, Dec 16, 2013 at 04:13:26PM +0100, Harald Dunkel wrote:
> - I agree that nsswitch.conf is of no help here. The suggestion of
>   this bug report is to ignore remote directory services. Obviously
>   this implies to bypass nsswitch.conf and to read /etc/passwd
>   and the others directly, if --system is set.

Adduser uses useradd to do its work. I don't think it would be wise to
special case around the low level tools. Please discuss this with the
shadow maintainers, and after they have come up with a fix adduser might
follow or not.

Please consider refering to the technical committee if you feel strongly
about this.

Greetings
Marc



Bug#730107: adduser --system and addgroup --system should ignore remote directory services

2013-12-16 Thread Harald Dunkel
Please note

- I don't run adduser --system, but some postinst scripts do. Looking
  at the official interface to manage packages I am not even supposed
  to know which system user accounts are created. All I see is that
  some unrelated system services are not started at boot time, if the
  remote directory service is not running.
- I agree that nsswitch.conf is of no help here. The suggestion of
  this bug report is to ignore remote directory services. Obviously
  this implies to bypass nsswitch.conf and to readwrite /etc/passwd
  and the others directly, if --system is set.

Regards
Harri


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#730107: adduser --system and addgroup --system should ignore remote directory services

2013-11-22 Thread Harald Dunkel
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.


Regards
Harri


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#730107: adduser --system and addgroup --system should ignore remote directory services

2013-11-22 Thread Stephen Gran
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.

Cheers,
-- 
 -
|   ,''`.Stephen Gran |
|  : :' :sg...@debian.org |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature


Bug#730107: adduser --system and addgroup --system should ignore remote directory services

2013-11-21 Thread Stephen Gran
This one time, at band camp, Harald Dunkel said:
 Problem:
 adduser --system or addgroup --system refuse to proceed
 if the name is already provided by a remote directory
 service for passwd or group. On the next reboot the user
 or group names cannot be resolved, if the (unrelated!)
 directory service is not available yet.
 
 The system users and groups should be defined locally,
 independent from the availability of a foreign directory
 service.

adduser uses the system nss routines.  It's up to the admin of the
system to set them up appropriately, sorry.

Cheers,
-- 
 -
|   ,''`.Stephen Gran |
|  : :' :sg...@debian.org |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature


Bug#730107: adduser --system and addgroup --system should ignore remote directory services

2013-11-21 Thread Harald Dunkel
Package: adduser
Version: 3.113+nmu3

Problem:
adduser --system or addgroup --system refuse to proceed
if the name is already provided by a remote directory
service for passwd or group. On the next reboot the user
or group names cannot be resolved, if the (unrelated!)
directory service is not available yet.

The system users and groups should be defined locally,
independent from the availability of a foreign directory
service.


Regards
Harri


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org