[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#8541: adduser: Cannot set shadow password

>>>>> "Brian" == Brian May <bam@snoopy.apana.org.au> writes:

    Brian> "Karl M. Hegbloom" wrote:
    Brian> Package: adduser Version: 2.13
    Brian> adduser cannot change my shadowed passwd:
    >>  I use 'useradd', 'usermod', and 'passwd' for that with
    >> shadows...  Use 'dpkg --contents' to get a listing of the
    >> programs in the shadow suite, and then RTFM's.  With the shadow
    >> utils, there is a whole new set of programs.  I think it
    >> shouldn't leave the old style utils laying around, but it does.

    >> From /usr/doc/passwd/README.debian.gz:

I had never read this...  my system does not have a /usr/doc/passwd
directory for some reason.  I started with 1.1.2, and have upgraded a
few times since then; one upgrade being dpkg installation of:
shadow-login_960810-1, shadow-passwd_960810-1, and shadow-su_960810-1.

I may be missing some pieces then???

    Brian> ---Adding users and groups

    Brian> Though you may add users and groups with the SysV type
    Brian> commands, useradd and groupadd, I recommend you add them
    Brian> with the Debian adduser 3+.  adduser still gives you more
    Brian> configurtation and conforms to the Debian UID and GID
    Brian> allocation.

    Brian> Editing user and group parameters can be done with usermod
    Brian> and groupmod and removing them with userdel and groupdel.

    Brian> -------------------------------------------------------------------------------

    Brian> This seems to imply that "useradd" is the old program and
    Brian> "adduser" is the new program... Looking at the man pages
    Brian> seems to confirm that "adduser" is debian specific and it
    Brian> also supports the use of a configuration file. I am
    Brian> confused...

I am a little too, now.  This is a single person workstation, and I
rarely need those utilities.  I'm not much of a tester for them.
Perhaps someone else will know more.

    Brian> Is that documentation I quoted now out-of-date?

Dunno.  I hope not.

    >> useradd groupadd usermod groupmod passwd gpasswd

    Brian> Ok. I will try useradd. Thanks.

    Brian> Brian May, bam@snoopy.apana.org.au

Karl M. Hegbloom <karlheg@inetarena.com>
Portland, OR  USA
Debian GNU 1.2  Linux 2.0.29t
You tell me and we'll both know.

Reply to: