top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Global User Management in Ubuntu?

0 votes
287 views

Does anyone know is there an Option for Global User Management?
So it means I wanted to be able to have a Database (sql/LDAP) and wanted to connect all my Servers to that Database. (All Users in a specific group are able to login via ssh on any Server.)

posted Dec 8, 2016 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

I would like to manually add a new user to my Ubuntu 12.04 box with admin privileges.

This is what I did so far:

adduser 
adduser  admin, sudo

Edited the sudoers file with visudoers:

# User alias specification
...
User_Alias ADMINS = 
 ...
# User privilege specification

...
 ALL=(ALL) ALL 
...

I then logged in with the new user, but every time I try to run a command (like visudoers) it says the command is not found. when I "echo $PATH" the /bin/sbin directory is not in the path.

Is there a similar command to adduser but for admin users (so it copies the root user skeleton at the end (copy /etc/skel)? How do I manually create a user like the one I create as the first user when installing Ubuntu?

0 votes

I am writing a command line tool in python to generate one time passwords/tokens. The command line tool will have certain sub-commands like --generate-token and --list-all-tokens for example. I want to restrict access to certain sub-commands. In this case, when user tries to generate a new token, I want him/her to authenticate against AD server first.

I have looked at python-ldap and I am even able to bind to the AD server. In my application I have a function

 def authenticate_user(username, password): pass

which gets username and plain-text password. How do I use the LDAPObject instance to validate these credentials?

+1 vote

I want information regarding adding index on an ldap attribute.

My directory structure is like:

ObjectClass Hierarchy: Company=>Department (In dc=example,dc=com)

Inside ObjectClass"Company", One of the attributes "UserID" to be indexed. I have added index on the same as per following in slapd.conf:

index UserID eq

Kindly let me know whether it is the correct syntax of defining an index.

0 votes

I know that in version 3.3.9 Mongodb supports LDAP on windows. So I wanted to know whether it will be available for Community Edition or it remains for the Enterprise Edition only?

+6 votes

I am trying to configure PAM to connect to OpenDJ LDAP server, however seem tricky , I configured via system-config-authentication tool and sssd gets restarted,

Please let me know a simple way to connect to SSL based LDAP server to authenticate users created in LDAP server.

...