How to acquire root access¶
Physical console¶
You can always enter under root on the server, if you have physical access to the server.
Attach monitor and keyboard to server.
When you'll see a prompt on the screen:
login:
...enter root.
When you'll see on the screen prompt:
password:
... enter password, which you have supplied when installed the system.
SSH console.¶
To obtain login and password to access server via SSH please apply to technical support of Streamco.
When applying please tell your IP address, from which you will enter.
Technical support will add this IP address to a list of allowed addresses.
To get your IP address please go to link https://www.google.com/?gws_rd=cr#bav=on.2,or.r_qf.&fp=442bdad5c6096e1d&q=what+is+my+ip
Consider you have the following credentials:
IP address of a server with Smartswitch: 10.0.0.1
SSH login on a server: admin
SSH password on a server: admin
To access server and acquire root rights you need to perform next steps:
1. Download putty application (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
2. Launch putty application, enter 10.0.0.1 in address field.
When it will prompt to enter login, enter admin.
When it will prompt to enter password, enter admin.
3. Acquire root rights:
# sudo -s
Notice! You may have not full root access, but only an access to a specific set of commands.
In this case 'sudo -s' won't work.
You'll need to add 'sudo ' before each command from the instructions.
For example,
sudo asterisk -r
This means that you execute 'asterisk' on behalf of root.