Re: Nice feature
Mike Jackson <[email protected]> Tue, 21 Dec 2004 11:06:09 +0200
| Newsgroups | gmane.network.directoryadmin |
|---|---|
| Message-ID | <[email protected]> |
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. -- 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/