From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078728411962.tru64-unix-managers.marc@archive.invalid> From: Brian Parkhurst Date: Mon, 16 Nov 1998 20:02:14 +0000 To: tru64-unix-managers Subject: odd mkpasswd message X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078728411962 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