public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Running sshd service from non-SYSTEM account
@ 2001-11-20  2:55 Karl M
  2001-11-29  7:37 ` Karl M
  0 siblings, 1 reply; 2+ messages in thread
From: Karl M @ 2001-11-20  2:55 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Running sshd service from non-SYSTEM account
  2001-11-20  2:55 Running sshd service from non-SYSTEM account Karl M
@ 2001-11-29  7:37 ` Karl M
  0 siblings, 0 replies; 2+ messages in thread
From: Karl M @ 2001-11-29  7:37 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-29 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-20  2:55 Running sshd service from non-SYSTEM account Karl M
2001-11-29  7:37 ` Karl M

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).