Cisco Headend System Release 2.5 Installation Guide

Page of 158
 
 
 
Create the dncsSSH User on the DTACS Server 
 
4035749 Rev B 
129 
 
Create the dncsSSH User on the DTACS Server 
Important:  All steps in this procedure take place in the root xterm window on the 
DTACS server. 
1  Type the following command and press Enter
grep dncsSSH /etc/hosts
 
2  Does the dncsSSH user exist? 
 
If yes, skip the rest of this procedure and go to the next procedure in this 
chapter. 
 
If no, continue with step 3. 
In the root xterm window on the DTACS server, open the /etc/ssh/sshd_config 
file in a text editor. 
4  Edit the PermitRootLogin no entry to the following:  
PermitRootLogin yes
 
5  Save and close the sshd_config file. 
Type the following command and press Enter to restart the SSH service. 
svcadm restart ssh
  
7  To create the dncsSSH user, type the following command and press Enter
Note:  The following command is a single command and should be typed as a 
single entry. Type the entire command before pressing Enter
useradd -c "DNCS SSH Account" -e "" -f 0 -d 
/export/home/dncsSSH -g dtacs -m -s /bin/ksh dncsSSH
  
8  Type the following command and press Enter
Note:  The following command is a single command and should be typed as a 
single entry. Type the entire command before pressing Enter
usermod -K type=normal -K profiles=All -K 
lock_after_retries=no dncsSSH