Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | From e188d5fd3e3c0e40c3e35729fd8b81b138191a75 Mon Sep 17 00:00:00 2001 |
| 2 | From: iwamatsu <iwamatsu@7c53e7cc-98ea-0310-8f1f-a0b24da60408> |
| 3 | Date: Fri, 17 Jun 2011 20:35:13 +0000 |
| 4 | Subject: [PATCH 6/8] Remove localhost from Authenticator of pam |
| 5 | |
| 6 | http://bugs.gentoo.org/346037 |
| 7 | https://developer.berlios.de/bugs/?func=detailbug&bug_id=17757&group_id=2663 |
| 8 | http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-misc/slim/files/346037-stop_setting_host_for_pam_ck_connector_so.patch?view=log |
| 9 | |
| 10 | Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
| 11 | |
| 12 | git-svn-id: svn://svn.berlios.de/slim/trunk@180 7c53e7cc-98ea-0310-8f1f-a0b24da60408 |
| 13 | --- |
| 14 | app.cpp | 2 -- |
| 15 | 1 files changed, 0 insertions(+), 2 deletions(-) |
| 16 | |
| 17 | diff --git a/app.cpp b/app.cpp |
| 18 | index c80a73e..7177363 100644 |
| 19 | --- a/app.cpp |
| 20 | +++ b/app.cpp |
| 21 | @@ -236,8 +236,6 @@ void App::Run() { |
| 22 | pam.start("slim"); |
| 23 | pam.set_item(PAM::Authenticator::TTY, DisplayName); |
| 24 | pam.set_item(PAM::Authenticator::Requestor, "root"); |
| 25 | - pam.set_item(PAM::Authenticator::Host, "localhost"); |
| 26 | - |
| 27 | } |
| 28 | catch(PAM::Exception& e){ |
| 29 | cerr << APPNAME << ": " << e << endl; |
| 30 | -- |
| 31 | 1.6.6.1 |
| 32 | |