do not allow to change system user passwords

This commit is contained in:
Dietmar Maurer 2012-02-09 11:26:37 +01:00
parent 17ecec711f
commit 59321f2682

View File

@ -260,6 +260,8 @@ __PACKAGE__->register_method ({
} else {
# only root may change root password
raise_perm_exc() if $userid eq 'root@pam';
# do not allow to change system user passwords
raise_perm_exc() if $realm eq 'pam';
}
}