Central management of Linux users?

I'm looking to set up something more tenable than Ansible-provisioned sudo users. Preferably, something that lets me manage users across our entire VPC in one place. Is there a way to do this?

Posted Apr 4, 2017, 7:08 PM UTC

1113
draeath•

Have some reading. While this is mostly about hooking it into AD, it does bring up a bunch of considerations.

FreeIPA may be up your alley?

3
incipient_imperatorOP•

Yes, it looks like FreeIPA might be the solution we're looking for. Thanks!!

1
singlecoilpickup•

In our case, we use old-fashioned Open LDAP. Our boxes use PAM to interact with LDAP and fetch user profiles, home directories, group permissions, etc.

3
gort32•

Check out Centrify. They have a bunch of options to link up *nix systems with Active Directory, which should be compatible with AWS Simple Directory. Their full commercial suite is nice I guess, but the client (basically some PAM modules + configs) is free and simple.

2
incipient_imperatorOP•

Is there a more direct link to the client, or documentation about it? Their website is very... enterprise-y.

1
gort32•

https://www.centrify.com/express/linux-unix/download/

It isn't F/OSS, and you do need to sign in with at least a dummy account

0
Toger•

https://jumpcloud.com/ offers directory-as-a-service if you don't want to manage your own LDAP infrastructure, and is free for <=10 users. ^I ^am ^only ^a ^user.

2
incipient_imperatorOP•

This is interesting. How long have they been around?

1
Toger•

At least 10 months based on when I signed up for the free account; 2005 if you believe their whois record.

2
gastroengineer•

Is Simple Directory an option?

1
incipient_imperatorOP•

It might be, though the majority of our servers are Ubuntu 16.04, which is not explicitly supported by Simple Directory, it seems.

1
ramen2005•

I wrote this library to manage users, with public keys, sudoers perms, etc., separately from my Ansible deploy: https://github.com/jonhadfield/creds You define all the users in a json or yaml file and upload to S3, then you just need a script to pull the file from S3 and creds will create/update/delete users on the system to match what's in the file. It validates sudoers, allows you to specify users to never change, etc.

1
robohoe•

FreeIPA aka Red Hat's IdM. Ssh pub key management, ldap, sudo management, host-based access control and Kerberos all baked in.

1
[deleted]•

[deleted]

-2