39 lines
1.0 KiB
Diff
39 lines
1.0 KiB
Diff
|
--- modules/pam_tally/pam_tally.c
|
||
|
+++ modules/pam_tally/pam_tally.c 2009/03/27 10:52:56
|
||
|
@@ -630,6 +630,8 @@
|
||
|
const char
|
||
|
*user;
|
||
|
|
||
|
+ pam_syslog (pamh, LOG_INFO, "pam_tally is deprecated and obsoleted by pam_tally2");
|
||
|
+
|
||
|
rvcheck = tally_parse_args(pamh, opts, PHASE_AUTH, argc, argv);
|
||
|
if ( rvcheck != PAM_SUCCESS )
|
||
|
RETURN_ERROR( rvcheck );
|
||
|
@@ -664,6 +666,8 @@
|
||
|
const char
|
||
|
*user;
|
||
|
|
||
|
+ pam_syslog (pamh, LOG_INFO, "pam_tally is deprecated and obsoleted by pam_tally2");
|
||
|
+
|
||
|
rv = tally_parse_args(pamh, opts, PHASE_AUTH, argc, argv);
|
||
|
if ( rv != PAM_SUCCESS )
|
||
|
RETURN_ERROR( rv );
|
||
|
@@ -709,6 +713,8 @@
|
||
|
const char
|
||
|
*user;
|
||
|
|
||
|
+ pam_syslog (pamh, LOG_INFO, "pam_tally is deprecated and obsoleted by pam_tally2");
|
||
|
+
|
||
|
rv = tally_parse_args(pamh, opts, PHASE_ACCOUNT, argc, argv);
|
||
|
if ( rv != PAM_SUCCESS )
|
||
|
RETURN_ERROR( rv );
|
||
|
@@ -815,6 +821,8 @@
|
||
|
exit(0);
|
||
|
}
|
||
|
|
||
|
+ fprintf (stderr, "\npam_tally is deprecated and pam_tally2 should be used instead\n\n");
|
||
|
+
|
||
|
umask(077);
|
||
|
|
||
|
/*
|