SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


solarisnotes
Differences

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

Link to this comparison view

Both sides previous revision Previous revision
solarisnotes [2013/04/21 10:56]
sjoerd
solarisnotes [2014/05/19 22:17] (current)
sjoerd [Locking and Unlocking a user]
Line 216: Line 216:
 export PATH="/​usr/​local/​sbin:/​usr/​local/​bin:/​sbin:/​bin:/​usr/​sbin:/​usr/​bin:/​root/​bin:/​usr/​openwin/​bin"​ export PATH="/​usr/​local/​sbin:/​usr/​local/​bin:/​sbin:/​bin:/​usr/​sbin:/​usr/​bin:/​root/​bin:/​usr/​openwin/​bin"​
 </​code>​ </​code>​
 += Create A User =
 +<​code>​
 +useradd sjoerd \
 +  -c "​Sjoerd Hooft Local Account"​ \
 +  -d /​export/​home/​sjoerd \
 +  -m \
 +  -s /​usr/​bin/​bash
 +
 +useradd -c "​Sjoerd Hooft Local Account"​ -d /​export/​home/​sjoerd -m -s /​usr/​bin/​bash sjoerd
 +</​code>​
 +
 +> Note that the /home is reserved for system usage and that local users should get a homedir in /​export/​home
 +
 = Locking and Unlocking a user = = Locking and Unlocking a user =
  
solarisnotes.txt ยท Last modified: 2014/05/19 22:17 by sjoerd