DKT Comega forsete-ii series 사용자 설명서 - 페이지 11
{카테고리_이름} DKT Comega forsete-ii series에 대한 사용자 설명서을 온라인으로 검색하거나 PDF를 다운로드하세요. DKT Comega forsete-ii series 12 페이지. Cpe
The sshd script automatically restores password- and SSH key files from flash before the SSH daemon is
started.
Procedure for changing SSH password on all CPE units.
If password for Administrator is to be changed for all CPE's do the following:
1) Log into one CPE via ssh
2) change user to root with command
cd /etc
3)
4) change password of the CPE
5) Now copy the shadow file to a tftp server, typing
This file has to be pushed to all CPE's
6) you can edit CPE's configuration files by inserting the following commands:
tftp -g -r shadow -l /tmp/shadow <TFTP Server IP Address> # This will get the shadow file for Administrator from
TFTP server and temporarily store this in /tmp directory
chown root /tmp/shadow # change owner of shadow
chmod 600 /tmp/shadow # change rights of shadow
mv /tmp/shadow /etc/ # move the shadow file to correct directory
save_configuration # save configuration to flash memory, now the password is saved locally on each CPE
su
"tftp -p -l shadow -r shadow <TFTP Server IP
Address>"
11