Changes

Jump to navigation Jump to search
no edit summary
Line 46: Line 46:  
  chkconfig network on
 
  chkconfig network on
 
  start network
 
  start network
 +
 +
* Optimize creation of new users
 +
 +
mkdir /etc/skel/.ssh
 +
cat >/etc/skel/.ssh.authorized_keys <<__EOF__
 +
# Place your ssh public keys here, one per line
 +
__EOF__
 +
    
* Create sysadmin accounts:
 
* Create sysadmin accounts:
   −
mkdir /etc/skel/.ssh
   
  useradd -c "Bernie Innocenti" -m bernie
 
  useradd -c "Bernie Innocenti" -m bernie
 
  cat >>/home/bernie/.ssh/authorized_keys
 
  cat >>/home/bernie/.ssh/authorized_keys

Navigation menu