Koozali.org: home of the SME Server

SSH etc

Geoff

SSH etc
« on: March 19, 2000, 11:05:24 PM »
Hello again,

Well I got FTP working, and I got openSSH installed and running, but when I try and log on as root or admin it will just quit, any ideas why this is? Also I am wondering what the user directories are, for example if i create a user named geoff shouldnt his homepage be http://www.sinfield.com/~geoff? All I get is a permission denied error even though I have set CHMOD to 755? Any ideas with this?

thanks

-geoff

Charlie Brady

RE: SSH etc
« Reply #1 on: March 22, 2000, 07:56:11 AM »
Geoff wrote:

> I got openSSH installed and
> running, but when I try and log on as root or admin it will
> just quit, any ideas why this is?

Quite simple. The root user has a standard shell, but SSH is configured to refuse login attempts as root. The admin user does not have a valid login shell. What you should do is set up an account for yourself, say "geoff", then change the shell for "geoff" to be "/bin/sh" - as "root", do:

/usr/bin/chsh -s /bin/sh geoff


> Also I am wondering what the
> user directories are, for example if i create a user named
> geoff shouldnt his homepage be http://www.sinfield.com/~geoff?

Usually not. The expansion of "~geoff" depends entirely on the
Apache configuration. And from a quick look at the current e-smith apache configuration, there is no expansion at all, and no permissions to view user directories via HTTP.

> All I get is a permission denied error even though I have set
> CHMOD to 755? Any ideas with this?

Again, it will be an apache configuration question.

You should consider joining the developers mailing list, since you appear to want to "push the envelope" of the e-smith server/gateway.

Charlie