- Fix #91174 with pamstart.patch

This commit is contained in:
Phil Knirsch 2004-09-15 15:52:49 +00:00
parent 9791b03943
commit 7b2e1118a1
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- util-linux-2.12a/login-utils/login.c.pamstart 2004-09-15 16:13:36.462028734 +0200
+++ util-linux-2.12a/login-utils/login.c 2004-09-15 16:13:50.790278325 +0200
@@ -549,7 +549,7 @@
* Therefore, we are safe not setting it to anything
*/
- retcode = pam_start("login",username, &conv, &pamh);
+ retcode = pam_start(hflag?"remote":"login",username, &conv, &pamh);
if(retcode != PAM_SUCCESS) {
fprintf(stderr, _("login: PAM Failure, aborting: %s\n"),
pam_strerror(pamh, retcode));

View File

@ -12,7 +12,7 @@
Summary: A collection of basic system utilities.
Name: util-linux
Version: 2.12a
Release: 6
Release: 7
License: distributable
Group: System Environment/Base
@ -83,6 +83,9 @@ Patch154: util-linux-2.11y-102566-loginman.patch
Patch155: util-linux-2.12a-104321-rescuept.patch
Patch156: util-linux-2.12a-fdiskmessage-107824.patch
# Patch to enabled remote service for login/pam (#91174)
Patch157: util-linux-2.12a-pamstart.patch
# patches required for NFSv4 support
Patch1000: util-linux-2.11z-01-nfs.patch
Patch1001: util-linux-2.12-nfssloppy.patch
@ -198,6 +201,7 @@ mv MCONFIG.new MCONFIG
%patch154 -p1
%patch155 -p1
%patch156 -p1 -b .fdiskmessage
%patch157 -p1 -b .pamstart
%patch1000 -p1 -b .nfsupdate
%patch1010 -p1 -b .nfsv4
@ -569,6 +573,9 @@ fi
/sbin/losetup
%changelog
* Wed Sep 15 2004 Phil Knirsch <pknirsch@redhat.com> 2.12a-7
- Fix #91174 with pamstart.patch
* Tue Aug 31 2004 Elliot Lee <sopwith@redhat.com> 2.12a-6
- Fix #16415, #70616 with rdevman.patch
- Fix #102566 with loginman.patch