From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8e822ee508f38c9d,start X-Google-Attributes: gidfee84,public From: ivandolezal@my-dejanews.com Subject: Encrypted password in Enhanced security in DUnix Date: 1998/11/13 Message-ID: <72hc20$1l6$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 411438382 X-Http-Proxy: 1.0 cache.osanet.cz:3128 (Squid/1.NOVM.20+retry), 1.0 x1.dejanews.com:80 (Squid/1.1.22) for client 158.196.158.46, 195.178.64.179 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Nov 13 13:26:24 1998 GMT Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95) Hi everybody, I've got a small difficulty: I am a root of Digital Unix 4.0d and I need to read an encrypted password from Enhanced Security database. When I tried this small program: ---------- #include... void main() { struct es_passwd *spwd; spwd = getespwnam("dol72"); /* This user exists. */ return; } ---------- The error message was displayed: "Authentication database use not initialized first" I believe that I AM running Enhanced Security (/var/tcb/files/auth.db refreshes). What did I wrong? Thanks for wise advice! Ivan Dolezal -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own