From 7b2e1118a12f12204ae36aa3e7c6674888be19fe Mon Sep 17 00:00:00 2001 From: Phil Knirsch Date: Wed, 15 Sep 2004 15:52:49 +0000 Subject: [PATCH] - Fix #91174 with pamstart.patch --- util-linux-2.12a-pamstart.patch | 11 +++++++++++ util-linux.spec | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 util-linux-2.12a-pamstart.patch diff --git a/util-linux-2.12a-pamstart.patch b/util-linux-2.12a-pamstart.patch new file mode 100644 index 0000000..1ca73e2 --- /dev/null +++ b/util-linux-2.12a-pamstart.patch @@ -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)); diff --git a/util-linux.spec b/util-linux.spec index 57c9058..99b2e39 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -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 2.12a-7 +- Fix #91174 with pamstart.patch + * Tue Aug 31 2004 Elliot Lee 2.12a-6 - Fix #16415, #70616 with rdevman.patch - Fix #102566 with loginman.patch