DKT Comega juma-ii series Podręcznik użytkownika - Strona 11

Przeglądaj online lub pobierz pdf Podręcznik użytkownika dla Sprzęt sieciowy DKT Comega juma-ii series. DKT Comega juma-ii series 12 stron. Cpe

DKT Comega juma-ii series Podręcznik użytkownika
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