From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1124c52e8d92e07e,start X-Google-Attributes: gid1164f8,public From: "Jeff A. Fitzgerald" Subject: C2 security -- help needed Date: 1999/11/23 Message-ID: <81esej$a6e$1@news-2.csn.net>#1/1 X-Deja-AN: 552198679 Organization: Qwest Communications +1.303.226.6500 Denver Colorado X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Newsgroups: comp.sys.dec Hi all, I'm attempting to install some software on a customers DEC Alpha, which is running C2 security. The passwd file is obviously shadowed, as the password field carries only "*"s. One of my subroutines does validation of an entered user id and password. It uses the getpwnam function to retrieve the encrypted password from the passwd file and then encrypts the supplied password and compares. But getpwnam returns the "*" and not the encrypted password from the shadow file or whatever DEC uses... The man pages for getpwnam implies that when properly linked, etc. it should retrieve the encrypted password. Can anyone tell me what libraries to link with my program to properly function with C2 security? Alternatively, can anyone tell me where the encrypted password lives? I've looked for shadow files, etc. without any luck. Any and all thoughts appreciated! Thanks in advance, Jeff Fitzgerald mailto:jeff@fitzlong.com