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/2011-January/002301.html | 101 +++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/002301.html (limited to 'zarb-ml/mageia-sysadm/2011-January/002301.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/002301.html b/zarb-ml/mageia-sysadm/2011-January/002301.html new file mode 100644 index 000000000..eb9bd29d7 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002301.html @@ -0,0 +1,101 @@ + + + + [Mageia-sysadm] [862] add secondary groups option + + + + + + + + + +

[Mageia-sysadm] [862] add secondary groups option

+ root at mageia.org + root at mageia.org +
+ Thu Jan 20 18:48:08 CET 2011 +

+
+ +
Revision: 862
+Author:   boklm
+Date:     2011-01-20 18:48:07 +0100 (Thu, 20 Jan 2011)
+Log Message:
+-----------
+add secondary groups option
+
+Modified Paths:
+--------------
+    puppet/modules/buildsystem/manifests/init.pp
+
+Modified: puppet/modules/buildsystem/manifests/init.pp
+===================================================================
+--- puppet/modules/buildsystem/manifests/init.pp	2011-01-20 17:41:50 UTC (rev 861)
++++ puppet/modules/buildsystem/manifests/init.pp	2011-01-20 17:48:07 UTC (rev 862)
+@@ -171,7 +171,8 @@
+         }
+     }
+ 
+-    define sshuser($homedir, $comment) {
++    # $groups: array of secondary groups (only local groups, no ldap)
++    define sshuser($homedir, $comment, $groups = []) {
+         group {"$title": 
+             ensure => present,
+         }
+@@ -181,6 +182,7 @@
+             comment => $comment,
+             managehome => true,
+             gid => $title,
++	    groups => $groups,
+             shell => "/bin/bash",
+             notify => Exec["unlock$title"],
+             require => Group[$title],
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110120/5a9ad1e6/attachment.html>
+
+ + + + + + + + + + + + +
+

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