sshd as non-root
Stephen Samuel
samuel at bcgreen.com
Sun Sep 28 12:21:24 EST 2003
I'm trying to get sshd to the point where it can run as non-root.
I think that this is quite doable if using rsa-key authentication
So far, I've run into and fixed the proben that chgroups only works
if you're root and I've added a ModulusFile option to sshd_config
(not necessary, but nice).
Now I've run into the fact that the system attempts to do PAM
authentication, even though you're root. Are there any other
problems I'm likely to run into? Has this already been fixed
somewhere?
This is mostly out of curiosity, but I see a few real uses for
non-root ssh -- ranging from special-purpose security lockdowns
to bootstrapping ssh on a remote machine without having to log
onto root via an open channel.
--
Stephen Samuel +1(604)876-0426 samuel at bcgreen.com
http://www.bcgreen.com/~samuel/
Powerful committed communication. Transformation touching
the jewel within each person and bringing it to light.
More information about the openssh-unix-dev
mailing list