summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000766.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000766.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-November/000766.html102
1 files changed, 102 insertions, 0 deletions
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 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [386] useradd module does not support password change, use usermod
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B386%5D%20useradd%20module%20does%20not%20support%20password%0A%09change%2C%20use%20usermod&In-Reply-To=%3C20101122122928.F13C83FC50%40valstar.mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000765.html">
+ <LINK REL="Next" HREF="000767.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [386] useradd module does not support password change, use usermod</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B386%5D%20useradd%20module%20does%20not%20support%20password%0A%09change%2C%20use%20usermod&In-Reply-To=%3C20101122122928.F13C83FC50%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [386] useradd module does not support password change, use usermod">root at mageia.org
+ </A><BR>
+ <I>Mon Nov 22 13:29:28 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000765.html">[Mageia-sysadm] [385] set password to * to unlock the account but forbid login through login
+</A></li>
+ <LI>Next message: <A HREF="000767.html">[Mageia-sysadm] [387] use build_login variable in build_home_dir
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#766">[ date ]</a>
+ <a href="thread.html#766">[ thread ]</a>
+ <a href="subject.html#766">[ subject ]</a>
+ <a href="author.html#766">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>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 =&gt; true,
+ gid =&gt; $build_login,
+ shell =&gt; &quot;/bin/bash&quot;,
+- password =&gt; '*', # set password to * to unlock the account but forbid login through login
++ notify =&gt; Exec[&quot;unlock$build_login&quot;],
+ }
+
++ # set password to * to unlock the account but forbid login through login
++ exec { &quot;unlock$build_login&quot;:
++ command =&gt; &quot;usermod -p '*' $build_login&quot;,
++ refreshonly =&gt; true,
++ }
++
+ file { $build_home_dir:
+ ensure =&gt; &quot;directory&quot;,
+ }
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20101122/161bc059/attachment.html&gt;
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000765.html">[Mageia-sysadm] [385] set password to * to unlock the account but forbid login through login
+</A></li>
+ <LI>Next message: <A HREF="000767.html">[Mageia-sysadm] [387] use build_login variable in build_home_dir
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#766">[ date ]</a>
+ <a href="thread.html#766">[ thread ]</a>
+ <a href="subject.html#766">[ subject ]</a>
+ <a href="author.html#766">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>