Cisco DNCS System Release 2.7 3.7 4.2 Installation Guide

Page of 124
 
 
 
Create the dncsSSH User on the DTACS Server 
 
OL-31613-01 
85 
 
Create the dncsSSH User on the DTACS Server 
Important: All steps in this procedure take place in the root remote terminal window 
on the DTACS server. 
1  Type the following command and press Enter
grep dncsSSH /etc/passwd
 
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 remote terminal 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
 
Save and close the sshd_config file. 
6  Type the following command and press Enter to restart the SSH service: 
svcadm restart ssh
  
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