Users » History » Version 1

Anonymous, 09/14/2007 09:33 AM

1 1 Anonymous
= User Management =
2 1 Anonymous
Make the following changes on the master node and each slave node:
3 1 Anonymous
4 1 Anonymous
 * Add new users into ''/etc/passwd'': 
5 1 Anonymous
   {{{
6 1 Anonymous
   procksi:x:510:510:ProCKSI-Server:/home/procksi:/bin/bash
7 1 Anonymous
   dxb:x:520:Daniel Barthel:/home/dxb:/bin/bash
8 1 Anonymous
   }}}
9 1 Anonymous
10 1 Anonymous
 * Add an entry for the new users into ''/etc/shadow'': 
11 1 Anonymous
   {{{
12 1 Anonymous
   procksi:[Add Encrypted Password]:13483:0:99999:7:::
13 1 Anonymous
   dxb:[Add Encrypted Password]:13755:0:99999:7:::
14 1 Anonymous
   }}}
15 1 Anonymous
16 1 Anonymous
 * Add a new group into ''/etc/group'', and add all users who should have access (e.g. ''dxb''):
17 1 Anonymous
   {{{
18 1 Anonymous
   procksi:x:510:dxb
19 1 Anonymous
   }}} 
20 1 Anonymous
   The members for group procksi are now: ''procksi'', ''dxb''
21 1 Anonymous
22 1 Anonymous
 * Generate home directory for ''procksi'' at ''/home/procksi''. Enter at the command line of the master node: 
23 1 Anonymous
   {{{
24 1 Anonymous
   mkdir /home/procksi
25 1 Anonymous
   chown procksi.procksi /home/procksi
26 1 Anonymous
   chmod 770 /home/procksi
27 1 Anonymous
   }}}
28 1 Anonymous