LDAP

From Bloominglabs
Revision as of 23:18, 20 March 2013 by Jtillots (Talk | contribs)

Jump to: navigation, search

To create Bloominglabs accounts:

  • ssh to bloominglabs.org (ask dosman about the specifics)
  • /usr/local/bin/ldapadduser {username} {group} "{gecos}"
    • group can either be the group name or the gid
    • make sure to put gecos info in quotes if there is a space - like between their first and last name
    • you can add a uid at the end of the command if you want to set a particular uid
    • running ldapadduser without any parameters will give you usage info
  • Examples"
    • /usr/local/bin/ldapadduser pvenkman users "Dr. Peter Venkman"
      • This will create the pvenkman account and assign it the next uid and the gid of the users group
    • /usr/local/bin/ldapadduser rstanz 100 "Dr. Raymond Stanz" 2408
      • This will create the rstanz account and assign it the uid 2408 and the gid 100
Personal tools