a45a9d66b5
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=69a0a3856f420ec01bcad32fbf106f28
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);
|
|
|
|
/*
|