Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and WTMP options
This commit is contained in:
@@ -91,7 +91,7 @@ int su_main ( int argc, char **argv )
|
||||
opt_args = argv + optind;
|
||||
|
||||
#if defined( SYSLOG_SUCCESS ) || defined( SYSLOG_FAILURE )
|
||||
#ifdef CONFIG_FEATURE_U_W_TMP
|
||||
#ifdef CONFIG_FEATURE_UTMP
|
||||
/* The utmp entry (via getlogin) is probably the best way to identify
|
||||
the user, especially if someone su's from a su-shell. */
|
||||
old_user = getlogin ( );
|
||||
|
Reference in New Issue
Block a user