tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Brian Parkhurst <brianp () u ! washington ! edu>
To: tru64-unix-managers
Subject: odd mkpasswd message
Date: Mon, 16 Nov 1998 20:02:14 +0000	[thread overview]
Message-ID: <96078728411962.tru64-unix-managers.marc@archive.invalid> (raw)

I have a Alpha server 4100 with a passwd file with approximately 3700
entries.
Running DU 4.0B standard security.
Starting Friday when one of my staff was adding users with addusers, he
received the following:

-----------------session script.----------------------------------
Adding new user...
Rebuilding the password database...
mkpasswd: passwd: File exists
Do you wish to edit the auth file entry for this user (y/[n])?
Creating home directory...

You must enter a new password for (jritt).
Changing password for jritt.

New password:
Retype new password:
Hashed passwd database does not match the /etc/passwd file.  Rerun 'mkpasswd
/etc/passwd'.

Warning, the password for (jritt) was not set.
Finished adding user account for (jritt).
-------------------------------------------------------
He then reran mkpasswd /etc/passwd and recieved

mkpasswd /etc/passwd
mkpasswd: /etc/passwd: File exists
-----------------------------------------------------------
My suggested workaround is to use vipw to force an mkpasswd and get the
hashed database up to date.

Other things tried:

Deleted passwd.pag and passwd.dir files and recreated the hashes with vipw.
-------------------------------------------------------------

Any hints?

Brian C. Parkhurst
brianp@u.washington.edu
Systems Programmer
9725 3rd Ave NE #400
Seattle, WA  98115-2024
VM (206) 543-7458, Pager 206-989-9212

                 reply	other threads:[~1998-11-16 20:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox