From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,f6643e0e7f0aff3e,start X-Google-Attributes: gidf678f,public X-Google-Thread: 1164f8,f6643e0e7f0aff3e,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,f6643e0e7f0aff3e,start X-Google-Attributes: gidfee84,public From: cisitm@victoria.cad.cea.fr (Pierre Didierjean) Subject: Can't get username and passwd in OSF C2 security (NULL pointer) Date: 1996/05/24 Message-ID: <4o3rdb$eiq@news.cea.fr>#1/1 X-Deja-AN: 156480131 distribution: world sender: cisitm@victoria (Pierre Didierjean) organization: C.E.N. Cadarache / C.E.A. keywords: OSF C2 reply-to: cisitm@victoria.cad.cea.fr (Pierre Didierjean) newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc,comp.sys.dec Hello I'm rewriting xtrlock code (a trivial xlock) and everything works fine (Solaris, Ultrix, SunOS, OSF 3.2, ...) except in OSF C2 security. Where can i found a C source example to get username and passwd in C2 security (siainit , getprpwd, getpruid, ...). I get every times a NULL pointer, except for root because it reads /etc/passwd file. I'm on Dec Alpha OSF 3.2d-2. Should i do a setuid bit root binaries ? Is there a FAQ or a DIGITAL documentation on it ? Thanks. Pierre. (Peter in english ;-o ) Pierre Didierjean - cisitm@albert.cad.cea.fr - ATHESA Aix-en-Provence, France | Opinions expressed are my own and Phone : (33) 42.25.35.51 | not necessarily those of my agency.