Accessing Airwave CLI via Web Browser
How could you access the CLI of Airwave server via Web Browser on any Mobile Devices?
Airwave server 8.2.x is introduced with a service called as "shellinaboxd" via which we could now access the Airwave Command Line using Web Browser.
You could start the service using the command below:
[root@localhost mercury]# service shellinaboxd start
Starting shellinaboxd: [ OK ]
Now open the Airwave on the browser with port 4200.
Note: Only user login is allowed, you could use 'sudo' or change the user to root using 'su' post user login.
To create a user for Airwave command line access you could follow the procedure below:
Login to Airwave CLI and add the CLI user and password as shown below-
# useradd <username>
create password to the same user.
# passwd <username>
If needed you could also add this users in the sudoers file, by doing the following:
add the user name in the below lines of the file, by going into insert mode, (you could key in "i" on the keyboard]:
## Allows people in group wheel to run all commands
<username> ALL=(ALL) ALL
## Same thing without a password
<username> ALL=(ALL) NOPASSWD: ALL
Then do save and apply by hitting the "esc" key on the keyboard and wq!
you should be able to login now on the GUI:
If you would like to sudo in, you could do:
[username@<airwave Ip ~]$ sudo su -