User Tools

Site Tools


projects:57_north_id

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:57_north_id [2020/04/19 15:38] hibbyprojects:57_north_id [2023/04/11 22:06] (current) – make command a bit more readable Robert McWilliam
Line 26: Line 26:
   - ''apt install nodejs redis''   - ''apt install nodejs redis''
   - ''adduser 57n-id'' - ensure 57n-id has no password, has a /home/57n-id and a shell of /bin/sh   - ''adduser 57n-id'' - ensure 57n-id has no password, has a /home/57n-id and a shell of /bin/sh
 +  - ''su -l 57n-id''
 +    - ''git clone https://github.com/hackerdeen/57n-id''
 +    - ''cd 57n-id && npm install''
 +    - create ''/home/57n-id/57n-id/ldap-password.txt'' containing the ldap password
 +
 +==== Resetting someone's password ====
 +
 +If someone has forgotten their ID password it can be reset from ''finzean'' with a command like <code>ldappasswd -D "uid=id-admin,ou=special-users,dc=57north,dc=org,dc=uk" -W -S "uid=<username>,ou=users,dc=57north,dc=org,dc=uk"</code> This will first ask for the new password to set for them (twice) and then LDAP password for ''id-admin'' which can be found in ''~57n-id/57n-id/ldap-password.txt''
 +
      
 {{tag>project dormant finzean infrastructure}} {{tag>project dormant finzean infrastructure}}
projects/57_north_id.1587310697.txt.gz · Last modified: 2020/07/07 20:48 (external edit)