Re: LDAP useradd command?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

On Mon, Aug 17, 2009 at 15:00, Eric B.<ebenze@xxxxxxxxxxx> wrote:
> Is there an equivalent of a useradd for systems that are using LDAP user
> management?  I know I can build an LDIF file and import it, but it is a bit
> of a pain to do it manually all the time.

You can try "libuser", it's available in CentOS 5 (yum install
libuser) and apparently has support for LDAP.

"libuser" is an attempt to generalize the useradd/mod/del,
groupadd/mod/del commands to work with generic backends. The
implementation includes a module to work with an LDAP backend, I just
don't know how functional/stable it is...

You can start by installing the package and having a look at
/etc/libuser.conf, and at the commands luseradd, lgroupadd, ... (the
same ones you already use, only with the "l" prefix.)

For more information: https://fedorahosted.org/libuser/

HTH,
Filipe
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux