RE: Nice feature
"Manuel Amador (Rudd-O)" <[email protected]> Mon, 03 Jan 2005 20:32:23 -0500
| Newsgroups | gmane.network.directoryadmin |
|---|---|
| Message-ID | <[email protected]> |
Most of these scripts, though, do not add the useful attributes like first name, last name and well, all the spiffy stuff like samba accounts and the like. wwhich DA does. (when's the new release coming?) El mar, 21-12-2004 a las 17:50 -0500, Ryan Golhar escribió: > The things I'm looking for in particular: > > 1. Uniqueness of User IDs > 2. Ability to specify primary group id > 5. Ability to set an initial password > > I was able to script my own script minus the uniqueness of user id, and > I ran into trouble setting the initial password. If your script does > this, then it has everything I need, and would like to get a copy if > possible. > > Thanks, > > Ryan > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Greg Matthews > Sent: Tuesday, December 21, 2004 4:58 AM > To: [email protected] > Subject: Re: [Directoryadmin-list] Nice feature > > > On Tue, 2004-12-21 at 09:06, Mike Jackson wrote: > > Ryan Golhar wrote: > > > You know what would be really nice...a command-line version of DA. > > > > > > I basically use this tool to create new users. It would be even > > > more convenient for me to add users if I could pass everything on > > > the command-line. This way, I can write a script to gather the > > > necessary information and call DA from a shell to add the user. I > > > can then give other users sudo access to add users w/o training them > > > > on a new interface... > > > > I wrote a command-line tool to add users to a directory. It allows you > > > to specify all of the > > required posixAccount attributes. It doesn't (yet) do uid or uidnumber > uniqueness checking, but I > > suppose that wouldn't be too difficult to add. I can send it to you if > you like. It's written in > > perl, using Net::LDAP. > > I too have some perl scripts to replace useradd/userdel etc. They are > based on some that I found on the net but heavily modified to add most > of the required posix attributes and check for uidnumber uniqueness etc > (this was the biggest priority for me otherwise you may as well use a > browser). They are also quite strict about encryption to protect the > manager password, and use a config file for site preferences. This is a > bit off-topic for the DA list but if anyone is interested I dont mind > posting them to the interop list: > http://lists.fini.net/mailman/listinfo/ldap-interop > > There are other utils available. I spent a while trying to get "cpu" to > work on solaris. I could get it to compile but not run. This is a > drop-in replacment for the user/group tools and works well on linux: > http://cpu.sourceforge.net/ Looking at recent release notes it may work > on Solaris now. > > There is also LED which allows you to edit what looks like a flat file > and transcribes the changes to the LDAP directory: > http://sourceforge.net/projects/led > > hth > > G > > > > > -- > > mike > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real > > users. Discover which products truly live up to the hype. Start > > reading now. http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Directoryadmin-list mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/directoryadmin-list > -- > Greg Matthews > iTSS Wallingford 01491 692445 > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Directoryadmin-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/directoryadmin-list > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Directoryadmin-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/directoryadmin-list -- Manuel Amador (Rudd-O) <[email protected]> ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt