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 36d5687..0039083 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 82e8d1c..7281cf0 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 87a1c05..7c69688 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'] ],