This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: OpenSSH for Non Administrators
Damian Sobieralski wrote:
> My apologies if this has asked before. I researched as much as I could
> on my own. I hope a kind soul can direct me to a useful resource.
>
> I installed Cygwin on a Windows 2003 Server with OpenSSH 4.2p1-1.
> After installing I ran ssh-host-config and chose privilege separation.
>
> "privilege separation" -> Yes
> "create local user sshd_server" -> Yes
> "install sshd as a service" -> Yes
> CYGWIN=" -> ntsec
>
> I synced the users and passwords with:
>
> mkpasswd --local > /etc/passwd
> mkgroup --local > /etc/group
>
> Now the weird thing is that I am able to log in (ssh in). I'm part of
> the administrator group. I set up another user as a "normal" user and
> they are not able to authenticate and get in. If I promote this user to
> be part of the administrator group he/she is able to get in.
>
> I read this thread and noticed a poster stated if one read the readme
> in /usr/share/doc/Cygwin that this should cover all I need to know. I
> did read it and I am not seeing where I made the mistake. Can anyone
> assist me on where I am making a mistake?
Does the normal user have a HOME directory? usually /home contains the HOME
directories of each user that has used the Cygwin console, when it doesn't exist
I think it's impossible to login using ssh.
Another question: did you use ssh-user-config?
--
René Berber
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/