Cisco Headend System Release 2.7 Guia Da Instalação
Create the dncsSSH User on the DTACS Server
4042225 Rev A
133
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.
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.
chapter.
If no, continue with step 3.
3
In the root xterm window on the DTACS server, open the /etc/ssh/sshd_config
file in a text editor.
file in a text editor.
4 Edit the PermitRootLogin no entry to the following:
PermitRootLogin yes
5 Save and close the sshd_config file.
6
6
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.
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
/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.
single entry. Type the entire command before pressing Enter.
usermod -K type=normal -K profiles=All -K
lock_after_retries=no dncsSSH
lock_after_retries=no dncsSSH