From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a91f45472a6678cc,start X-Google-Attributes: gidfee84,public From: matthew@neutronic.co.uk (Matthew Peddlesden) Subject: C2 Security Software Date: 1997/12/15 Message-ID: <349551c6.24781902@news.intra.bt.com>#1/1 X-Deja-AN: 298385765 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Organization: BT Labs, Martlesham Heath, Ipswich, UK Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 I'm trying to write a change-password function as part of an application suite I'm writing. At the moment I have the thing working great for a system running in base mode but when I run it on a C2 Enhanced mode system, while it *says* that it has compelted the change it has in fact NOT done the change. The return result from sia_chg_password is 1 (SIA_SUCCESS). The program is owned by root and has the SETUID bit set. The program initially (first three lines of code) does a SETUID, SETRUID and a SETEUID all to uid 0, these all succeed with a return result of 0, success. Anyone got any ideas what I can do? or if I can fudge around this, it's becoming a nasty sore point in the project! Thanks in advance to everyone! Matthew Peddlesden.