]> git.proxmox.com Git - pve-access-control.git/commitdiff
dd 'pveum passwd' method
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 23 Feb 2012 11:06:06 +0000 (12:06 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 23 Feb 2012 11:06:06 +0000 (12:06 +0100)
Makefile
changelog.Debian
pveum

index 36d568711ad3b6bc702a7e4828ee538fb5d408fa..0039083d7f4a4af1a97f2a9138bcbf9e60f31624 100644 (file)
--- 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
index 82e8d1cf4865c27c012d2bdcaf9305501aaad026..7281cf08e13be41c6969720560c1acfa6d5c96b2 100644 (file)
@@ -1,3 +1,9 @@
+libpve-access-control (1.0-16) unstable; urgency=low
+
+  * add 'pveum passwd' method
+
+ -- Proxmox Support Team <support@proxmox.com>  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 87a1c059287cc5490278cd585dab547424725841..7c69688c85f95ce88d317b44beec3cd489742eac 100755 (executable)
--- 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'] ],