User Tools

Site Tools


sto3_user_administration

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sto3_user_administration [2018/04/13 11:25]
143.169.49.101
sto3_user_administration [2019/11/21 15:33] (current)
192.168.96.8 [existing users]
Line 1: Line 1:
 ====== User administration ====== ====== User administration ======
-To easy the creation of users, I made a couple of bash scripts that do all the magic. They are located in the directory **/​usr/​local/​bin** and are called **add_backup_user.sh** and **remove_backup_user.sh**+To easy the creation of users, I made a couple of bash scripts that do all the magic. They are located in the directory **/​usr/​local/​bin** and are called **add_backup_user.sh** and **remove_backup_user.sh**. These users will be mounted on all tesla servers.
 ====== add a user ====== ====== add a user ======
 We can create a user, assign some groups, create its home directory, set a quota, store in the openldap database, ​ all in one script. Example: We can create a user, assign some groups, create its home directory, set a quota, store in the openldap database, ​ all in one script. Example:
Line 31: Line 31:
 </​code>​ </​code>​
 In this example, the user testuser2 did not exist anymore. You get the necessary warnings and questions before the bash script does the removal. In this example, the user testuser2 did not exist anymore. You get the necessary warnings and questions before the bash script does the removal.
 +
 +====== generate a password ======
 +./​gen_pwd.sh generates random passwords, which includes a numerical and a capitalized character, 8 characters long. 
 +<​code>​
 +root@sto3:/​usr/​local/​bin#​ ./​gen_pwd.sh ​
 +Aeg2Supa Ohsho6go as7aeQui Lohs8cie aeL6Eis3 oa8Ahhae mi0aiS4U rahvo1Ch wah4Usuo me3eeWeu
 +</​code>​
 +
 +====== existing users ======
 +  * astrabu ​ <​decrypt>​U2FsdGVkX1/​LrmyZ+a1HFvq7zhkXCWcE+rOb1g+VaSw=</​decrypt>​
 +  * ugent   <​decrypt>​U2FsdGVkX18FSS2+pBRFxqu2u47BlaF/​DmknxLTTQWA=</​decrypt>​
 +  * stobu  <​decrypt>​U2FsdGVkX1+6jLJUhPLR1xoNJJhMDrrGuL9Ze0KfEl4=</​decrypt>​
 +  * xre <​decrypt>​U2FsdGVkX1/​LEJgKdCQSdT1ST7yMdh3qNg+vc46VB+o=</​decrypt> ​
 +  * metroflex <​decrypt>​U2FsdGVkX181XrKZ4ZMg6W05OkqnUoGh3e+ra/​RuwcA=</​decrypt>​
 +  * bqminded <​decrypt>​U2FsdGVkX18pVAgcPmjhChuKbNqi8HEhbeGnCUn1SCs=</​decrypt>​
 +  * software
 +
  
sto3_user_administration.1523618702.txt.gz ยท Last modified: 2018/04/13 11:25 by 143.169.49.101