- (djm) Bug #117: Don't lie to PAM about username
This commit is contained in:
parent
75d3b05c57
commit
1a27a1ee8c
|
@ -1,3 +1,6 @@
|
||||||
|
20030514
|
||||||
|
- (djm) Bug #117: Don't lie to PAM about username
|
||||||
|
|
||||||
20030512
|
20030512
|
||||||
- (djm) Redhat spec: Don't install profile.d scripts when not
|
- (djm) Redhat spec: Don't install profile.d scripts when not
|
||||||
building with GNOME/GTK askpass (patch from bet@rahul.net)
|
building with GNOME/GTK askpass (patch from bet@rahul.net)
|
||||||
|
@ -1384,4 +1387,4 @@
|
||||||
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
||||||
ok provos@
|
ok provos@
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.2675 2003/05/12 08:15:49 djm Exp $
|
$Id: ChangeLog,v 1.2676 2003/05/14 00:27:09 djm Exp $
|
||||||
|
|
2
auth1.c
2
auth1.c
|
@ -413,7 +413,7 @@ do_authentication(void)
|
||||||
use_privsep ? " [net]" : "");
|
use_privsep ? " [net]" : "");
|
||||||
|
|
||||||
#ifdef USE_PAM
|
#ifdef USE_PAM
|
||||||
PRIVSEP(start_pam(authctxt->pw == NULL ? "NOUSER" : user));
|
PRIVSEP(start_pam(user));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
2
auth2.c
2
auth2.c
|
@ -162,7 +162,7 @@ input_userauth_request(int type, u_int32_t seq, void *ctxt)
|
||||||
} else {
|
} else {
|
||||||
logit("input_userauth_request: illegal user %s", user);
|
logit("input_userauth_request: illegal user %s", user);
|
||||||
#ifdef USE_PAM
|
#ifdef USE_PAM
|
||||||
PRIVSEP(start_pam("NOUSER"));
|
PRIVSEP(start_pam(user));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
setproctitle("%s%s", authctxt->pw ? user : "unknown",
|
setproctitle("%s%s", authctxt->pw ? user : "unknown",
|
||||||
|
|
Loading…
Reference in New Issue