Enhanced useradd bash script for 389-ds

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

 



All,

I've recently deployed 389 on our compute cluster, and I found the 389-console to be frustrating and limiting in some ways[0].  One of the things I missed most was being able to add users *easily* from the command line.  I had a quick search around and found only one mention of a tool for this, an example shell script from the Red Hat Netgroup whitepaper[1] in 2008.

I've taken this script and modernized it a bit, including things like auto incrementing the user and group IDs based on the latest UID/GID in the directory.  The script is on my github account[2].

Hope someone else can take advantage of (and improve!) it.  Thanks!

[0] http://mjanja.co.ke/2013/06/useradd-bash-script-for-389-ldap/
[1] https://www.redhat.com/resourcelibrary/whitepapers/netgroupwhitepaper
[2] https://github.com/alanorth/hpc_infrastructure_scripts/blob/master/389/389_useradd.sh
-- 
Alan Orth
alan.orth@xxxxxxxxx
http://alaninkenya.org
http://mjanja.co.ke
"I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." -Bjarne Stroustrup, inventor of C++
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux