Does sshd support running as non-root?

It looks like it can't read the servers private key, wherever it happens
to be stored.

Even if you fix that, you'll be dead in the water when it comes to the
port.  Only root can bind to any port under 1024.

There may be other "non-root" complexities as well.  For example, if it's
not running as root, when someone logs in it can't switch to the uid
for the person logging in.

And depending on authentication methods, you may not be able to
authenticate using /etc/shadow as well.

--
Brian

On Sat, 13 May 2000, Darren Wyn Rees wrote:

>I'd like to run sshd as non-root on one machine.
>
>I type in sshd -p 50 
>
>and I'm given the error message
>
>FATAL: ssh_privkey_read from <path.to>/hostkey failed
>
>I don't understand this, sorry.  What am I missing ?
>
>I created a private key (ssh-keygen) by typing ssh-keygen,
>and the private key hostkey and public key hostkey.pub exists.
>
>Thanks for any useful comments.
>
>-- 
>this is my .sig, show me yours
>

Reply via email to