Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: scarboro@quit.Colorado.EDU (Jeff Scarborough)
Subject: Re: OSF/1 3.0 Prot. Password Encryption
Date: 5 Oct 1994 18:42:37 GMT	[thread overview]
Message-ID: <36us2t$lb7@CUBoulder.Colorado.EDU> (raw)
In-Reply-To: 36bsmq$37n@portal.gmu.edu

Richard L Jackson Jr (rjackson@mason1.gmu.edu) wrote:
: I have a DEC 2100/A500MP running OSF/1 3.0 with Enhanced Security
: enabled.  We generate from 5 to 600 accounts a day on the system.  Therefore,
: the GUI XIsso and XSysAdmin tools must be replaced with an automated
: Account Management System.  We did the same thing on our ULTRIX box.  My
: problem is the encrypted pw, generated via crypt(), for the protected password
: database appears to fail for passwords that are over 8 characters.  The
: limited documentation in the man pages and /usr/include/*.h files
: indicate the encrypted password is generated in segments.  WHAT IS THE
: ACTUAL SCHEME DEC USES?

: ps.  XIsso and XSysAdmin are slow.  I have not determined if it is a problem
: with the clients and/or server.

: ps2.  It sure would be nice if the hashed index /etc/passwd file could 
: have entries added without being totally rebuilt.  For a small user base,
: rebuilding the passwd database presents only a small problem.  However,
: a database with 14,000 users takes a minute or so to rebuild.  This causes
: problems with email and other normal system functions.  1) The getpw* routines
: should be enhanced to suspend requests if the database is being modified.
: 2) permit updates to the database without having to totally rebuild.
: Unfortunately, I am forced to disable login and sendmail while rebuilding 
: the passwd database via mkpasswd.

: Regards,
: Richard Jackson
: George Mason University

The first question has already been answered.

The second is yes you can update the dbm files without rebuilding the whole
thing.  In fact the passwd command does do this (not for passwords if you
are running c2 but for gecos and shell).

I looked at the npasswd code to figure out how and modified it slightly.
I added some stuff to take care of AIX's lack of a comment field and added
a delete routine.  If you want the code I have let me know and I will mail
it to you.

You can also get around having to disable login's and sendmail by building
the hashed file on ptmp and moving it into place.

--
Jeff Scarborough              Jeff.Scarborough@Colorado.EDU
University of Colorado        Computing & Network Services
Campus Box 455                Boulder, Colorado 80309-0455


      parent reply	other threads:[~1994-10-05 18:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-28 13:56 OSF/1 3.0 Prot. Password Encryption Richard L Jackson Jr
1994-09-29 12:58 ` David Brady
1994-10-05 15:55   ` Malcolm Beattie
1994-10-05 18:42 ` Jeff Scarborough [this message]
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