From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,117505c236239773,start X-Google-Attributes: gidfee84,public From: Steve VanDevender Subject: putting passwords in auth.db Date: 1996/10/02 Message-ID: #1/1 X-Deja-AN: 186740572 organization: University of Oregon newsgroups: comp.unix.osf.osf1 We have a group of AlphaStation 500 systems running Digital UNIX 4.0 on which we want to mirror the /etc/passwd and /etc/shadow files from a Solaris system, so that everyone who has access to the Solaris system can also log in to the Digital UNIX systems. Unfortunately Digital UNIX doesn't support a shadow password file. So far we've just been converting the passwd/shadow file from the Solaris system to an old-fashioned passwd file with the encrypted passwords in field 2; however I feel a little uncomfortable exporting readable encrypted passwords to systems that are extremely well-suited to cracking them :-). I've been studying the man pages for getprpwent()/putprpwent() and tried writing some programs to scan and manipulate the /var/tcb/files/auth.db database, but the routines don't quite seem to work as documented; I'd like to just be able to take the shadow file and stuff its encrypted passwords into auth.db to implement this. Has anyone successfully used the getprpwent()/putprpwent() routines to manipulate the auth.db database, or have other experience relevant to using or converting shadow passwd files to work under Digital UNIX? I've also heard recent mention of password distribution software for Digital UNIX, but it didn't quite sound like it was suited to this particular application. We're a bit reluctant to use NIS as it seems like it would be harder to secure than using standard shadow passwd files.