Koozali.org: home of the SME Server

Changing user passwords from outside the lan?

matoa

Changing user passwords from outside the lan?
« on: March 08, 2001, 11:40:05 PM »
Hi all
Everything is in the topic: How can e-smith users can change their password outside the lan?


Mathieu
;o)

Emmanuel

Re: Changing user passwords from outside the lan?
« Reply #1 on: March 10, 2001, 01:48:53 AM »
matoa wrote:
>
> Hi all
> Everything is in the topic: How can e-smith users can change
> their password outside the lan?
>
>
> Mathieu
> ;o)

First, you need a SSH client on the outside. The one I use is SecureCRT

http://www.vandyke.com/products/securecrt/

Next, when you're on your lan, configure your e-smith server to allow SSH access. Next, with your ssh client, setup port forwarding. In SecureCRT, you can do this by pressing the advanced button on the connection properties dialog box. On the port forwarding tab, enter the hostname (or ip address) of your e-smith machine for the remote hostname. Enter the port that your e-smith machine uses for webadmin for both local port and remote port.

Once these settings are entered and you've established an SSH connection to your e-smith maching, pull up a web browser and enter http://localhost: as the url replacing port with the port the admin port that you use. Now you can securely administer users and anything else remotely.

If you're using a command line based ssh client such as OpenSSH instead of secure crt, you can establish the tunnel like this:

ssh -L :e-smith-hostname: -l username

I hope this helps,

Emmanuel

Emmanuel


matoa

Re: Changing user passwords from outside the lan?
« Reply #3 on: March 10, 2001, 06:47:12 PM »
You have to login as root to use your method and I don't want everybody to have the root password...
Thanks for all.

Mathieu
;o)