Basic Security: Difference between revisions

From Phobos Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
<br />
<br />
Here is the default /etc/shadow files content:
Here is the default /etc/shadow files content:
<syntaxhighlight lang="bash">
<pre>
root@Telem-GWM ~ $ cat /etc/shadow
root@Telem-GWM ~ $ cat /etc/shadow
root:$1$Urv3LxYa$hf.UwazXZLYQmhZ2KWfdk1:10933:0:99999:7:::
root:$1$Urv3LxYa$hf.UwazXZLYQmhZ2KWfdk1:10933:0:99999:7:::
Line 24: Line 24:
martem:$1$9Z9vTc0h$eWWGwJgXC6H2o65V1p0Tl1:14477:0:99999:7:::
martem:$1$9Z9vTc0h$eWWGwJgXC6H2o65V1p0Tl1:14477:0:99999:7:::
root@Telem-GWM ~ $
root@Telem-GWM ~ $
</syntaxhighlight>
</pre>
<br />
<br />
From command prompt issue command passwd to change current users password. For instance:
From command prompt issue command passwd to change current users password. For instance:
<syntaxhighlight lang="bash">
<pre>
root@Telem-GWM ~ $ passwd
root@Telem-GWM ~ $ passwd
Changing password for root
Changing password for root
Line 34: Line 34:
Password for root changed by root
Password for root changed by root
root@Telem-GWM ~ $
root@Telem-GWM ~ $
</syntaxhighlight>
</pre>
changes password for root. Similarly password for user martem can be changed.
changes password for root. Similarly password for user martem can be changed.
<br />
<br />
gws.exe can be used to change passwords by pressing “Change Password” at “SSH Settings” dialog.
gws.exe can be used to change passwords by pressing “Change Password” at “SSH Settings” dialog.

Revision as of 05:28, 27 May 2013

This is a basic guideline for securing TELEM-GWM. It is assumed that reader is familiar with TELEM-GWM configuration software gws.exe.

Account Management

As the configuration of the TELEM-GWM is done over SSH it is important to change the default accounts passwords. As a minimum change the passwords for users martem and root.

Changing the Default Account Credentials

TELEM-GWM chips with default accounts and known passwords. By default two accounts have passwords set. Only user martem can be used for changing the configuration of the device as root is not permit by SSH daemon configuration.
Here is the default /etc/shadow files content:

root@Telem-GWM ~ $ cat /etc/shadow
root:$1$Urv3LxYa$hf.UwazXZLYQmhZ2KWfdk1:10933:0:99999:7:::
bin:*:10933:0:99999:7:::
daemon:*:10933:0:99999:7:::
adm:*:10933:0:99999:7:::
lp:*:10933:0:99999:7:::
sync:*:10933:0:99999:7:::
shutdown:*:10933:0:99999:7:::
halt:*:10933:0:99999:7:::
uucp:*:10933:0:99999:7:::
operator:*:10933:0:99999:7:::
nobody:*:10933:0:99999:7:::
default:*:10933:0:99999:7:::
martem:$1$9Z9vTc0h$eWWGwJgXC6H2o65V1p0Tl1:14477:0:99999:7:::
root@Telem-GWM ~ $


From command prompt issue command passwd to change current users password. For instance:

root@Telem-GWM ~ $ passwd
Changing password for root
New password: 
Retype password: 
Password for root changed by root
root@Telem-GWM ~ $

changes password for root. Similarly password for user martem can be changed.
gws.exe can be used to change passwords by pressing “Change Password” at “SSH Settings” dialog.