mirror of
https://git.proxmox.com/git/pve-access-control
synced 2026-01-03 10:04:05 +00:00
do not allow to change system user passwords
This commit is contained in:
parent
17ecec711f
commit
59321f2682
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user