Package: passwd
Version: 1:4.1.1-6

If I try to create a new user account using a command
line like

        useradd -c "John User" -b /home -m -g users john

then john becomes a local-only user, even though the host
to run useradd is the master NIS server. The new /etc/passwd
looks like this:

        root:x:0:0:root:/root:/bin/bash
        daemon:x:1:1:daemon:/usr/sbin:/bin/sh
        bin:x:2:2:bin:/bin:/bin/sh
        sys:x:3:3:sys:/dev:/bin/sh
        :
        :
        nagios:x:108:112::/var/log/nagios:/bin/false
        john:x:55004:100:John User:/home/john:/bin/bash
        +admin1::::::
        +admin2::::::
        +:*:::::/etc/NoShell
        guest:x:501:65534:Guest Account:/home/guest:/bin/bash
        admin1:x:502:0:Admin1:/home/admin1:/bin/bash
        admin2:x:503:0:Admin2:/home/admin2:/bin/bash
        user1:x:1001:100:Erich User:/home/erich:/bin/bash
        :
        :
        usern:x:1111:100:Charly User:/home/charly:/bin/bash

The new user "john" is added _before_ the first NIS compat entry,
instead of being appended to passwd. /var/yp/Makefile ignores
anything before the compat entries, i.e. John got a local account
on our NIS server only. This is not useful.


Regards

Harri




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

Reply via email to