This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Running sshd service from non-SYSTEM account
- From: "Karl M" <karlm30 at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 29 Nov 2001 07:37:34 -0800
- Subject: Running sshd service from non-SYSTEM account
- Bcc:
Hi All...
I'm running sshd from an non-SYSTEM account on a Win2k SP2 machine. I've
done this in the past, but the (Cygwin) world has changed a bit since I last
set it up.
The non-SYSTEM account in in the administrators group, and I have given it
the following privs:
Act as part of the operating system
Increase quotas (Administrators group)
Log on as a service
Replace a process level token
One thing I found is that the log file in /var/log must be protected so the
new account can write to it. This is an issue when I install the sshd in the
default way and then later change the account. Without this, the service
refuses to start with the 3534 message. This might be worth a note in the
readme file.
The problem I have is that when I log in from a different account name,
using public key authentication, it kicks me back out with the following
local dialog:
$ ssh remote-machine
Enter passphrase for key '/home/user/.ssh/id_rsa':
Last login: Thu Nov 29 06:45:02 2001 from local-machine
Connection to remote-machine closed by remote host.
Connection to remote-machine closed.
the verbose log doesn't seem to provide much more information.
The log file in /var/log for the sshd service is empty.
In the system application log I see the following entries:
/usr/sbin/sshd : Win32 Process Id = 0x240 : Cygwin Process Id = 0x240 :
Accepted publickey for user-name from 1.2.3.4 port 1217 ssh2.
/usr/sbin/sshd : Win32 Process Id = 0x470 : Cygwin Process Id = 0x470 :
fatal: setuid 1000: Not owner.
/usr/sbin/sshd : Win32 Process Id = 0x240 : Cygwin Process Id = 0x240 :
fatal: Write failed: errno ESHUTDOWN triggered.
What am I missing here?
Thanks,
...Karl
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/