[10608] in Athena Bugs

home help back first fref pref prev next nref lref last post

athena/athena.bin/rkinit/rkinitd/krb.c

daemon@ATHENA.MIT.EDU (brlewis@Athena.MIT.EDU)
Fri Jun 25 13:34:15 1993

From: brlewis@Athena.MIT.EDU
Date: Fri, 25 Jun 93 13:34:12 -0400
To: rel-eng@Athena.MIT.EDU, bugs@Athena.MIT.EDU

*** /tmp/,RCSt1a18799	Fri Jun 25 13:32:57 1993
--- athena/athena.bin/rkinit/rkinitd/krb.c	Mon Jun 14 13:30:57 1993
***************
*** 125,130 ****
--- 125,135 ----
  
  #endif /* RIOS */
  
+ #ifdef hpux
+ /* HP-UX is relatively easy */
+ #define setruid(r) setresuid(r, -1, -1)	/* ok for rkinitd */
+ #define seteuid(e) setresuid(-1, e, -1)	/* this macro is always ok */
+ #endif /* hpux */
  
  #ifdef __STDC__
  static void this_phost(char *host, int hostlen)

home help back first fref pref prev next nref lref last post