]> git.proxmox.com Git - pve-access-control.git/commitdiff
better error message for useradd
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 1 Mar 2012 11:40:52 +0000 (12:40 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 1 Mar 2012 11:40:52 +0000 (12:40 +0100)
Makefile
PVE/AccessControl.pm
changelog.Debian

index 0039083d7f4a4af1a97f2a9138bcbf9e60f31624..cb543ea59793e32c98c41b6f400c0e6c309b8f8a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ RELEASE=2.0
 
 VERSION=1.0
 PACKAGE=libpve-access-control
-PKGREL=16
+PKGREL=17
 
 DESTDIR=
 PREFIX=/usr
index c9d8e4e5b466482eab954c673784e94962a803cc..d3feb24da841baa4022d41939a97bf4273fb1947 100644 (file)
@@ -463,14 +463,14 @@ sub encrypt_pw {
 sub store_pam_password {
     my ($userid, $password) = @_;
 
-    my $cmd = ['/usr/sbin/usermod'];
+    my $cmd = ['usermod'];
 
     my $epw = encrypt_pw($password);
     push @$cmd, '-p', $epw;
 
     push @$cmd, $userid;
 
-    run_command($cmd);
+    run_command($cmd, errmsg => 'change password failed');
 }
 
 sub domain_set_password {
index 7281cf08e13be41c6969720560c1acfa6d5c96b2..97770d4aeb77dc99fb35a01aa4c64234e3286849 100644 (file)
@@ -1,3 +1,9 @@
+libpve-access-control (1.0-17) unstable; urgency=low
+
+  * set propagate flag by default
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 01 Mar 2012 12:40:19 +0100
+
 libpve-access-control (1.0-16) unstable; urgency=low
 
   * add 'pveum passwd' method