From bdc61d7a1801e690a68a264f1c9c22963eeb5df8 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 23 Feb 2012 12:06:06 +0100 Subject: [PATCH] dd 'pveum passwd' method --- Makefile | 2 +- changelog.Debian | 6 ++++++ pveum | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 36d5687..0039083 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RELEASE=2.0 VERSION=1.0 PACKAGE=libpve-access-control -PKGREL=15 +PKGREL=16 DESTDIR= PREFIX=/usr diff --git a/changelog.Debian b/changelog.Debian index 82e8d1c..7281cf0 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -1,3 +1,9 @@ +libpve-access-control (1.0-16) unstable; urgency=low + + * add 'pveum passwd' method + + -- Proxmox Support Team Thu, 23 Feb 2012 12:05:25 +0100 + libpve-access-control (1.0-15) unstable; urgency=low * Add VM.Config.CDROM privilege to PVEVMUser rule diff --git a/pveum b/pveum index 87a1c05..7c69688 100755 --- a/pveum +++ b/pveum @@ -60,6 +60,9 @@ my $cmddef = { my ($res) = @_; print "$res->{ticket}\n"; }], + + passwd => [ 'PVE::API2::AccessControl', 'change_passsword', ['userid'] ], + useradd => [ 'PVE::API2::User', 'create_user', ['userid'] ], usermod => [ 'PVE::API2::User', 'update_user', ['userid'] ], userdel => [ 'PVE::API2::User', 'delete_user', ['userid'] ], -- 2.39.2