diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-February/002780.html')
| -rw-r--r-- | zarb-ml/mageia-sysadm/2011-February/002780.html | 160 |
1 files changed, 160 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-February/002780.html b/zarb-ml/mageia-sysadm/2011-February/002780.html new file mode 100644 index 000000000..cb99393c5 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-February/002780.html @@ -0,0 +1,160 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] Saving and sharing passwords in mageia teams + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Saving%20and%20sharing%20passwords%20in%20mageia%20teams&In-Reply-To=%3C20110218214502.GO21938%40mars-attacks.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="002875.html"> + <LINK REL="Next" HREF="002781.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] Saving and sharing passwords in mageia teams</H1> + <B>nicolas vigier</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Saving%20and%20sharing%20passwords%20in%20mageia%20teams&In-Reply-To=%3C20110218214502.GO21938%40mars-attacks.org%3E" + TITLE="[Mageia-sysadm] Saving and sharing passwords in mageia teams">boklm at mars-attacks.org + </A><BR> + <I>Fri Feb 18 22:45:02 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="002875.html">[Mageia-sysadm] Cron <root at krampouezh> /usr/sbin/urpmi.update -a -q +</A></li> + <LI>Next message: <A HREF="002781.html">[Mageia-sysadm] Automated Reply Re: " Saving and sharing passwords in mageia teams" +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2780">[ date ]</a> + <a href="thread.html#2780">[ thread ]</a> + <a href="subject.html#2780">[ subject ]</a> + <a href="author.html#2780">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello, + +We often need to register some accounts on various websites for the +Mageia project (domain name registration, twitter, identica, etc ...). +And we need to be able to share the account informations (login and +password) with other people inside teams. So we need something like a +password database, with permissions to restrict access to only some +people or groups of people. We can store this database on Mageia servers, +but I think it should be encrypted, so that root access on the server +does not give access to the passwords. + +I have looked at existing tools, but didn't find one that would allow +us to do this easily. So I'm thinking about writting some scripts to do +it. It would work like this : + + - all users first need to upload their gnupg public key in ldap + - we have a command to create a password on the server, with a list + of groups/users who can access this password : + $ mgapassword create passwdname %group1 %group2 user1 user2 ... + - a command to save the value of a password : + $ mgapassword set passwdname < value + or + $ mgapassword edit passwdname + - an other command to retrieve a password : + $ mgapassword get passwdname + - a command to list the passwords you can access : + $ mgapassword list + +All commands connect to the server using ssh and the ldap account. When +saving a password, the client ask to the server the list of gpg keys of +all users who should have access to the password, then encrypt the +password with all keys and send it encrypted to the server. + +The command to retrieve a password connect to the server, then the server +sends the password encrypted for the key of the user, which is decrypted +locally using the private gpg key of the user. + +When new users are added into a group, they cannot access passwords +immediatly (as it is not encrypted for their keys), so someone needs to +retrieve and save the passwords, to encrypt them for the new users. + +So, what do you think about this ? Or maybe someone knows existing tools +that can do this ? + +Nicolas + +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="002875.html">[Mageia-sysadm] Cron <root at krampouezh> /usr/sbin/urpmi.update -a -q +</A></li> + <LI>Next message: <A HREF="002781.html">[Mageia-sysadm] Automated Reply Re: " Saving and sharing passwords in mageia teams" +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2780">[ date ]</a> + <a href="thread.html#2780">[ thread ]</a> + <a href="subject.html#2780">[ subject ]</a> + <a href="author.html#2780">[ 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> |
