Displaying 1 result from an estimated 1 matches for "current_euid".
Did you mean:
current_efi
2003 Jan 24
0
[Bug 473] New: cannot update password using PAM on HP-UX system that has been tsconverted
...-pam.c,v 1.3 2002/05/14 16:35:43 cvsuser Exp $");
---
> RCSID("$Id: auth-pam.c,v 1.42 2002/02/05 01:40:47 djm Exp $");
146d145
<
326c325
< void do_pam_chauthtok(struct passwd *pw)
---
> void do_pam_chauthtok(void)
329,331d327
< uid_t current_uid;
< uid_t current_euid;
< int uid_set = 0;
337,340d332
< if ((geteuid() == 0) && (current_uid = getuid()) == 0) {
< setreuid(pw->pw_uid, -1);
< uid_set = 1;
< }
342,344d333
< if (uid_set == 1) {
<...