From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2010-November/000766.html | 102 ++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2010-November/000766.html (limited to 'zarb-ml/mageia-sysadm/2010-November/000766.html') diff --git a/zarb-ml/mageia-sysadm/2010-November/000766.html b/zarb-ml/mageia-sysadm/2010-November/000766.html new file mode 100644 index 000000000..84b36c2b0 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000766.html @@ -0,0 +1,102 @@ + + + + [Mageia-sysadm] [386] useradd module does not support password change, use usermod + + + + + + + + + +

[Mageia-sysadm] [386] useradd module does not support password change, use usermod

+ root at mageia.org + root at mageia.org +
+ Mon Nov 22 13:29:28 CET 2010 +

+
+ +
Revision: 386
+Author:   blino
+Date:     2010-11-22 13:29:28 +0100 (Mon, 22 Nov 2010)
+Log Message:
+-----------
+useradd module does not support password change, use usermod
+
+Modified Paths:
+--------------
+    puppet/modules/buildsystem/manifests/init.pp
+
+Modified: puppet/modules/buildsystem/manifests/init.pp
+===================================================================
+--- puppet/modules/buildsystem/manifests/init.pp	2010-11-22 12:13:10 UTC (rev 385)
++++ puppet/modules/buildsystem/manifests/init.pp	2010-11-22 12:29:28 UTC (rev 386)
+@@ -48,9 +48,15 @@
+             managehome => true,
+             gid => $build_login,
+             shell => "/bin/bash",
+-            password => '*', # set password to * to unlock the account but forbid login through login
++            notify => Exec["unlock$build_login"],
+         }
+ 
++        # set password to * to unlock the account but forbid login through login
++        exec { "unlock$build_login":
++            command => "usermod -p '*' $build_login",
++            refreshonly => true,
++        }
++
+         file { $build_home_dir:
+             ensure => "directory",
+         }
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20101122/161bc059/attachment.html>
+
+ + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1