diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-sysadm/2011-January/002065.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/002065.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-January/002065.html | 197 |
1 files changed, 197 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-January/002065.html b/zarb-ml/mageia-sysadm/2011-January/002065.html new file mode 100644 index 000000000..126167634 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002065.html @@ -0,0 +1,197 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [788] rename access_class to access_classes ( better from a grammatical point of view ) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B788%5D%20rename%20access_class%20to%20access_classes%20%28%0A%20better%20from%20a%20grammatical%20point%20of%20view%20%29&In-Reply-To=%3C20110113200712.B029E42390%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="002064.html"> + <LINK REL="Next" HREF="002066.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [788] rename access_class to access_classes ( better from a grammatical point of view )</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B788%5D%20rename%20access_class%20to%20access_classes%20%28%0A%20better%20from%20a%20grammatical%20point%20of%20view%20%29&In-Reply-To=%3C20110113200712.B029E42390%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [788] rename access_class to access_classes ( better from a grammatical point of view )">root at mageia.org + </A><BR> + <I>Thu Jan 13 21:07:12 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="002064.html">[Mageia-sysadm] [787] - fix syntax +</A></li> + <LI>Next message: <A HREF="002066.html">[Mageia-sysadm] [789] add a xinetd module +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2065">[ date ]</a> + <a href="thread.html#2065">[ thread ]</a> + <a href="subject.html#2065">[ subject ]</a> + <a href="author.html#2065">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 788 +Author: misc +Date: 2011-01-13 21:07:12 +0100 (Thu, 13 Jan 2011) +Log Message: +----------- +rename access_class to access_classes ( better from a grammatical point of view ) + +Modified Paths: +-------------- + puppet/manifests/nodes.pp + +Added Paths: +----------- + puppet/deployment/access_classes/ + puppet/deployment/access_classes/manifests/ + puppet/deployment/access_classes/manifests/init.pp + +Removed Paths: +------------- + puppet/deployment/access_class/manifests/init.pp + +Deleted: puppet/deployment/access_class/manifests/init.pp +=================================================================== +--- puppet/deployment/access_class/manifests/init.pp 2011-01-13 20:02:31 UTC (rev 787) ++++ puppet/deployment/access_class/manifests/init.pp 2011-01-13 20:07:12 UTC (rev 788) +@@ -1,33 +0,0 @@ +-class access_class { +- +- # beware , theses classes are exclusives +- # if you need multiple group access, you need to define you own class +- # of access +- +- # for server where only admins can connect +- class admin { +- pam::multiple_ldap_access { "admin": +- access_classes => ['mga-sysadmin'] +- } +- } +- +- # for server where people can connect with ssh ( git, svn ) +- class committers { +- # this is required, as we force the shell to be the restricted one +- # openssh will detect if the file do not exist and while refuse to log the +- # user, and erase the password ( see pam_auth.c in openssh code, seek badpw ) +- # so the file must exist +- # permission to use svn, git, etc must be added separatly +- +- pam::multiple_ldap_access { "committers": +- access_classes => ['mga-committers'], +- restricted_shell => true, +- } +- } +- +- class iso_makers { +- pam::multiple_ldap_access { "iso_makers": +- access_classes => ['mga-iso_makers','mga-sysadmin'] +- } +- } +-} + +Copied: puppet/deployment/access_classes/manifests/init.pp (from rev 787, puppet/deployment/access_class/manifests/init.pp) +=================================================================== +--- puppet/deployment/access_classes/manifests/init.pp (rev 0) ++++ puppet/deployment/access_classes/manifests/init.pp 2011-01-13 20:07:12 UTC (rev 788) +@@ -0,0 +1,33 @@ ++class access_classes { ++ ++ # beware , theses classes are exclusives ++ # if you need multiple group access, you need to define you own class ++ # of access ++ ++ # for server where only admins can connect ++ class admin { ++ pam::multiple_ldap_access { "admin": ++ access_classes => ['mga-sysadmin'] ++ } ++ } ++ ++ # for server where people can connect with ssh ( git, svn ) ++ class committers { ++ # this is required, as we force the shell to be the restricted one ++ # openssh will detect if the file do not exist and while refuse to log the ++ # user, and erase the password ( see pam_auth.c in openssh code, seek badpw ) ++ # so the file must exist ++ # permission to use svn, git, etc must be added separatly ++ ++ pam::multiple_ldap_access { "committers": ++ access_classes => ['mga-committers'], ++ restricted_shell => true, ++ } ++ } ++ ++ class iso_makers { ++ pam::multiple_ldap_access { "iso_makers": ++ access_classes => ['mga-iso_makers','mga-sysadmin'] ++ } ++ } ++} + +Modified: puppet/manifests/nodes.pp +=================================================================== +--- puppet/manifests/nodes.pp 2011-01-13 20:02:31 UTC (rev 787) ++++ puppet/manifests/nodes.pp 2011-01-13 20:07:12 UTC (rev 788) +@@ -21,7 +21,7 @@ + include buildsystem::mainnode + include buildsystem::mgacreatehome + +- include access_class::committers ++ include access_classes::committers + include restrictshell::allow_svn + include restrictshell::allow_pkgsubmit + include openssh::ssh_keys_from_ldap +@@ -144,6 +144,6 @@ + include default_mageia_server + timezone::timezone { "Europe/Paris": } + include bcd +- include access_class::iso_makers ++ include access_classes::iso_makers + include openssh::ssh_keys_from_ldap + } +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20110113/6f748c91/attachment.html> +</PRE> + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="002064.html">[Mageia-sysadm] [787] - fix syntax +</A></li> + <LI>Next message: <A HREF="002066.html">[Mageia-sysadm] [789] add a xinetd module +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2065">[ date ]</a> + <a href="thread.html#2065">[ thread ]</a> + <a href="subject.html#2065">[ subject ]</a> + <a href="author.html#2065">[ 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> |