summaryrefslogtreecommitdiff
path: root/modules/pam_unix
diff options
context:
space:
mode:
authorTomas Mraz <tm@t8m.info>2004-11-11 09:15:54 +0000
committerTomas Mraz <tm@t8m.info>2004-11-11 09:15:54 +0000
commit72850b3a5fd87662a18189b3f998b68bb1ce68fe (patch)
tree6f0b6ca2e03e6cc6554a0df698cd7f9b59203311 /modules/pam_unix
parentd948d7defc434a8d7d1771e9e1b41ffd1c9b2954 (diff)
Relevant BUGIDs:
Purpose of commit: bugfix Commit summary: --------------- I've forgot to remove some selinux specific part when changing locking in pam_unix_passwd
Diffstat (limited to 'modules/pam_unix')
-rw-r--r--modules/pam_unix/pam_unix_passwd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c
index e3f32941..5114393e 100644
--- a/modules/pam_unix/pam_unix_passwd.c
+++ b/modules/pam_unix/pam_unix_passwd.c
@@ -547,8 +547,6 @@ static int _do_setpass(pam_handle_t* pamh, const char *forwho, char *fromwhat,
}
if (on(UNIX_SHADOW, ctrl) || _unix_shadowed(pwd)) {
retval = _update_shadow(pamh, forwho, towhat);
- if (retval != PAM_SUCCESS && SELINUX_ENABLED)
- retval = _unix_run_shadow_binary(pamh, ctrl, forwho, fromwhat, towhat);
if (retval == PAM_SUCCESS)
if (!_unix_shadowed(pwd))
retval = _update_passwd(pamh, forwho, "x");