Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* C2 Security Software
@ 1997-12-15  5:00 Matthew Peddlesden
  1997-12-17  5:00 ` WEILL Philippe
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Peddlesden @ 1997-12-15  5:00 UTC (permalink / raw)



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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: C2 Security Software
  1997-12-15  5:00 C2 Security Software Matthew Peddlesden
@ 1997-12-17  5:00 ` WEILL Philippe
  0 siblings, 0 replies; 2+ messages in thread
From: WEILL Philippe @ 1997-12-17  5:00 UTC (permalink / raw)
  To: Matthew Peddlesden


Matthew Peddlesden wrote:
> 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.
The first executable instruction in  your main must be :

    (void) set_auth_parameters(argc, argv);

man  set_auth_parameters
This is problemes  we havewhen we port qpopper to digital unix in C2
mode

Hope this help
-- 
|--------------------------------------------------------------------------|
| Weill Philippe                       |  CNRS Service
Aeronomie           |
| Administrateur Systeme et Reseaux    |  Universite Pierre et Marie
Curie |
| Tel: +33-1-44274759                  |  Tour 15 Couloir
15-14            |
| Fax: +33-1-44273776                  |  4 Place
Jussieu                  |
|                                      |  75252 Paris Cedex
05             |
| Email:philippe.weill@aero.jussieu.fr | 
FRANCE                           |
|--------------------------------------------------------------------------|



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-12-17  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-15  5:00 C2 Security Software Matthew Peddlesden
1997-12-17  5:00 ` WEILL Philippe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox