Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mreggie
screen-rhel
_service:download_src_package:screen-STIG-GEN00...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:screen-STIG-GEN003660.patch of Package screen-rhel
diff --git a/src/attacher.c b/src/attacher.c index 2565a0f..9e916eb 100644 --- a/src/attacher.c +++ b/src/attacher.c @@ -37,6 +37,10 @@ #include <pwd.h> +#ifndef NOSYSLOG +#include <syslog.h> +#endif + static int WriteMessage __P((int, struct msg *)); static sigret_t AttacherSigInt __P(SIGPROTOARG); #if defined(SIGWINCH) && defined(TIOCGWINSZ) @@ -1001,6 +1005,9 @@ screen_builtin_lck() bzero(cp1, strlen(cp1)); } bzero(cp1, strlen(cp1)); +#ifndef NOSYSLOG + syslog(LOG_AUTHPRIV | LOG_NOTICE, "authentication success; logname=%s uid=%d", ppp->pw_name, ppp->pw_uid); +#endif debug("password ok.\n"); }
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