Lines 236-242
Link Here
|
236 |
pam.start("slim"); |
236 |
pam.start("slim"); |
237 |
pam.set_item(PAM::Authenticator::TTY, DisplayName); |
237 |
pam.set_item(PAM::Authenticator::TTY, DisplayName); |
238 |
pam.set_item(PAM::Authenticator::Requestor, "root"); |
238 |
pam.set_item(PAM::Authenticator::Requestor, "root"); |
239 |
pam.set_item(PAM::Authenticator::Host, "localhost"); |
|
|
240 |
|
239 |
|
241 |
} |
240 |
} |
242 |
catch(PAM::Exception& e){ |
241 |
catch(PAM::Exception& e){ |