summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-May/003419.html
blob: e92acc0d9c91dbed3d7b93ece61a37544879bf33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] Importing ssh keys to ldap
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Importing%20ssh%20keys%20to%20ldap&In-Reply-To=%3C1304372756.2325.90.camel%40akroma.ephaone.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="003418.html">
   <LINK REL="Next"  HREF="003420.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] Importing ssh keys to ldap</H1>
    <B>Michael Scherer</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Importing%20ssh%20keys%20to%20ldap&In-Reply-To=%3C1304372756.2325.90.camel%40akroma.ephaone.org%3E"
       TITLE="[Mageia-sysadm] Importing ssh keys to ldap">misc at zarb.org
       </A><BR>
    <I>Mon May  2 23:45:56 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="003418.html">[Mageia-sysadm] Importing ssh keys to ldap
</A></li>
        <LI>Next message: <A HREF="003420.html">[Mageia-sysadm] Fwd: kde-l10n-en_US package changes
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#3419">[ date ]</a>
              <a href="thread.html#3419">[ thread ]</a>
              <a href="subject.html#3419">[ subject ]</a>
              <a href="author.html#3419">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le lundi 02 mai 2011 &#224; 23:12 +0200, nicolas vigier a &#233;crit :
&gt;<i> On Mon, 02 May 2011, Michael Scherer wrote:
</I>&gt;<i> 
</I>&gt;<i> &gt; Le lundi 02 mai 2011 &#224; 22:47 +0200, nicolas vigier a &#233;crit :
</I>&gt;<i> &gt; &gt; On Mon, 02 May 2011, Michael Scherer wrote:
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; &gt; While discussing on #mageia-dev with olorin, I started to write a script
</I>&gt;<i> &gt; &gt; &gt; to import ssh keys from the fs to the ldap, and then finished, and then
</I>&gt;<i> &gt; &gt; &gt; I ran it ( while I was on it  ).
</I>&gt;<i> &gt; &gt; &gt; 
</I>&gt;<i> &gt; &gt; &gt; So all keys from the filesystem have been copied to ldap. ( if I didn't
</I>&gt;<i> &gt; &gt; &gt; done something wrong... )
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; Nice !
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; So we should be able to enable using ssh keys from ldap now ?
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; We need : 
</I>&gt;<i> &gt; - to export them
</I>&gt;<i> &gt; - to check that they are exported
</I>&gt;<i> &gt; - to say to use that key 
</I>&gt;<i> &gt; - to check it still work
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; I suspect we could do a test run on rabbit ?
</I>&gt;<i> 
</I>&gt;<i> I think it's already being used on rabbit now.
</I>
Indeed. And after running the script to export, it worked well.

So we can now, after successfully testing a a poor rabbit in the
laboratory, start to test on production servers :)

&gt;<i> What is missing maybe is a cron to run the export script.
</I>
Yup.
Every hour, every 10 minutes ? 

Script is fast to run so we can run it often so modification are
reflected faster.

-- 
Michael Scherer

</PRE>







<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="003418.html">[Mageia-sysadm] Importing ssh keys to ldap
</A></li>
	<LI>Next message: <A HREF="003420.html">[Mageia-sysadm] Fwd: kde-l10n-en_US package changes
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#3419">[ date ]</a>
              <a href="thread.html#3419">[ thread ]</a>
              <a href="subject.html#3419">[ subject ]</a>
              <a href="author.html#3419">[ 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>