en:user_advanced:gs2_user_management
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
en:user_advanced:gs2_user_management [2018/08/27 00:09] – created kjdon | en:user_advanced:gs2_user_management [2018/08/27 00:53] – [User Comments] kjdon | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Greenstone 2 User Management ====== | ======Greenstone 2 User Management ====== | ||
+ | |||
+ | |||
+ | =====Creating a new user===== | ||
+ | |||
+ | You need to use the administration facility. You can access the administration page by clicking the **Administration Page** button on the home page of your Greenstone installation. If this is not present, enable it by setting **status** to **enabled** in the GSDLHOME/ | ||
+ | |||
+ | From the administration page you can list users and add new users by clicking the links down the left hand side of the page. You will need to use the admin account that was set up when you installed Greenstone. | ||
+ | |||
+ | You can change the properties of an existing user by clicking the edit link from the list users page. | ||
+ | |||
+ | If you are adding users to access a protected collection, make sure you add the required group into the groups field. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | =====Forgotten Password===== | ||
+ | (With instructions by Diego Spano.) | ||
+ | |||
+ | User account details are stored in etc/ | ||
+ | |||
+ | There are several ways in which to reset your admin account' | ||
+ | |||
+ | **Option 1** | ||
+ | |||
+ | In greenstone/ | ||
+ | |||
+ | Do the following: | ||
+ | |||
+ | 1. Create a text file named myusers.csv and add the following line inside: | ||
+ | < | ||
+ | |||
+ | 2. open a terminal | ||
+ | |||
+ | 3. move to Greenstone root folder. | ||
+ | |||
+ | 4. Run setup.bat (Windows) or setup.bash | ||
+ | |||
+ | 5. Run "perl -S csv-usernames-to-db.pl / | ||
+ | |||
+ | With this script you will create a user named Tom, with password " | ||
+ | |||
+ | **Option 2** | ||
+ | |||
+ | 1. If you're admin, then open a terminal. To set the admin password on Linux, you can run: | ||
+ | < | ||
+ | and on Windows: | ||
+ | < | ||
+ | |||
+ | 2. If your admin account is working fine, then make sure you've enabled the Administration pages. You can do this by opening etc/ | ||
+ | < | ||
+ | to | ||
+ | < | ||
+ | |||
+ | 3. Go to your Greenstone home page, click on the // | ||
+ | |||
+ | 4. Login with the admin account. Then select the user whose password you want to reset by pressing the Edit button and filling in the new details. | ||
+ | |||
+ | **Option 3** | ||
+ | |||
+ | Delete the file greenstone/ | ||
+ | |||
+ |
en/user_advanced/gs2_user_management.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1