summary refs log tree commit diff
path: root/pkgs/applications/display-managers/slim/pam2.patch
blob: 48cf661864bada0838a385ae88e6d583a21a7c02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -rc slim-1.3.1-orig/app.cpp slim-1.3.1/app.cpp
*** slim-1.3.1-orig/app.cpp	2008-09-26 02:54:15.000000000 +0200
--- slim-1.3.1/app.cpp	2009-08-17 02:59:37.000000000 +0200
***************
*** 226,232 ****
          pam.start("slim");
          pam.set_item(PAM::Authenticator::TTY, DisplayName);
          pam.set_item(PAM::Authenticator::Requestor, "root");
!         pam.set_item(PAM::Authenticator::Host, "localhost");
  
      }
      catch(PAM::Exception& e){
--- 226,232 ----
          pam.start("slim");
          pam.set_item(PAM::Authenticator::TTY, DisplayName);
          pam.set_item(PAM::Authenticator::Requestor, "root");
!         pam.set_item(PAM::Authenticator::Host, "");
  
      }
      catch(PAM::Exception& e){