From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8d82a6c66d76337 X-Google-Attributes: gidfee84,public From: Peter.Mayne@cao.mts.dec.com (Peter Mayne) Subject: Re: C2 and qualcomm pop passwords Date: 1996/01/14 Message-ID: <4dbse2$ch1@funlwb2.stl.dec.com>#1/1 X-Deja-AN: 135796909 references: organization: Digital Equipment Corporation (Australia) content-type: Text/Plain; charset=US-ASCII mime-version: 1.0 newsgroups: comp.unix.osf.osf1 In article , tarjeij@ulrik.uio.no says... > >Do anybody know of the source for a password changer that works with Digital >Unix with C2 security and qualcomm's Eudora? Almost all the source I have seen >seems to rely on BSD security which allow programs to modify the password file >directly. I have seen one for SunOS which starts the passwd program and feeds >it input, but SunOS passwd seems to behave different from the Digital Unix >version. I wrote one a few weeks ago. If the one for SunOS is the one I think it is, you have to add the correct prompt strings to the P1 and P2 arrays. This doesn't work very well, though, because the prompts can be different depending on the password settings for the user. Because of that problem, because I didn't like all that messy pty stuff, and because I was writing specifically for Digital UNIX, I wrote a version that uses the API directly (bigcrypt/prpasswd for C2 instead of crypt/passwd). I wrote it somewhere else, though, so I'll have to track it down. Send me email. -- PJDM Peter Mayne Digital Equipment Corporation (Australia) Canberra, ACT ---- These are my opinions, and have nothing to do with Digital. The truth is out there, but not necessarily in here.