]> git.proxmox.com Git - pve-access-control.git/blobdiff - pveum
allow dots in access paths
[pve-access-control.git] / pveum
diff --git a/pveum b/pveum
index 87a1c059287cc5490278cd585dab547424725841..55ad1f4f67124f623fd2034f929e286f7f5d37e2 100755 (executable)
--- a/pveum
+++ b/pveum
@@ -1,6 +1,7 @@
-#!/usr/bin/perl -w 
+#!/usr/bin/perl
 
 use strict;
+use warnings;
 use Getopt::Long;
 use PVE::Tools qw(run_command);
 use PVE::Cluster;
@@ -60,6 +61,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'] ],