Koozali.org: home of the SME Server

Need to set Vacation mode for someone with only terminal access to the server.

Offline brianr

  • *
  • 988
  • +2/-0
I have a remote server which I cannot currently connect using the VPN (I suspect something has happened locally to stop this).

I have command line access.  Is there a way I can configure the Vacation module for someone?
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Frank VB

  • ***
  • 127
  • +0/-0
Sure, you can.
Log in remotely with PuTTy using the admin account and password. You will be presented with the server console menu.
Select option 6. Access server manager. Confirm that you want to login using the Elinks text-based browser.
Login with the admin account. Use the TAB key to navigate to the left menu pane and select the User Vacations option. TAB to the main screen listing all the users. I think you know where to go from there ...
PS: After logging out from the server-manager, you can quit the Elinks browser by pressing the "q" key.


Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
I suggest you use port redirect on putty.

For example, if your server is 192.168.0.1: connect with putty redirecting port 443 to 192.168.0.1:443

After connected, open a browser with ip: 127.0.0.1:443/server-manager/
make login normally.

Jáder
...

Offline brianr

  • *
  • 988
  • +2/-0
Jader - yes that worked very well.

For completion here is the command I used:

sudo ssh -L 443:<ip address of remote server>:443 root@<ip address of remote server> -p <port ssh set to>

and then accessed the server manager by:

https://127.0.0.1/server-manager

Many thanks
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
You're welcome.
I suggested Putty because I was not aware you're running linux.
Anyway it worked!

Jáder
...

Offline brianr

  • *
  • 988
  • +2/-0
You're welcome.
I suggested Putty because I was not aware you're running linux.

I run Linux Mint Debian Edition with Cinnamon GUI. Recommended.

Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........