Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

hpccluster-ldap [2015/02/07 19:28]
abuss
hpccluster-ldap [2015/02/07 19:32] (actual)
abuss
Línea 167: Línea 167:
   sudo chmod 400 /etc/ldapscripts/ldapscripts.passwd   sudo chmod 400 /etc/ldapscripts/ldapscripts.passwd
  
 +The scripts are now ready to help manage your directory. Here are some examples of how to use them:
 +
 +**Create a new user:**
 +
 +  sudo ldapadduser george example
 +
 +This will create a user with uid george and set the user's primary group (gid) to example
 +
 +**Change a user's password:**
 +
 +  sudo ldapsetpasswd george
 +  Changing password for user uid=george,ou=People,dc=example,dc=com
 +  New Password: 
 +  New Password (verify): 
 +
 +**Delete a user:**
 +
 +  sudo ldapdeleteuser george
 +
 +**Add a group:**
 +
 +  sudo ldapaddgroup qa
 +
 +**Delete a group:**
 +
 +  sudo ldapdeletegroup qa
 +
 +**Add a user to a group:**
 +
 +  sudo ldapaddusertogroup george qa
 +
 +You should now see a memberUid attribute for the qa group with a value of george.
 +
 +**Remove a user from a group:**
 +
 +  sudo ldapdeleteuserfromgroup george qa
 +
 +The memberUid attribute should now be removed from the qa group.
  
 
hpccluster-ldap.txt · Última modificación: 2015/02/07 19:32 por abuss
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki