Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
pam_ssh
pam_ssh-1.97-no_tty_stay_as_user.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pam_ssh-1.97-no_tty_stay_as_user.patch of Package pam_ssh
Index: pam_ssh.c =================================================================== --- pam_ssh.c.orig 2013-04-29 12:24:46.000000000 +0200 +++ pam_ssh.c 2013-06-06 11:26:36.227623175 +0200 @@ -632,6 +632,7 @@ pam_sm_open_session(pam_handle_t *pamh, pam_ssh_log(LOG_ERR, "stat() failed on %s", per_agent); pam_set_data(pamh, "ssh_agent_env_agent", NULL, NULL); fclose(env_read); + openpam_restore_cred(pamh); return retval; } file_ctime = stat_buf.st_mtime; @@ -875,6 +876,7 @@ pam_sm_open_session(pam_handle_t *pamh, * with the per-session file */ if (!tty_raw) { pam_ssh_log(LOG_DEBUG, "session has no tty"); + openpam_restore_cred(pamh); return PAM_SUCCESS; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor