There seems to be a difference in how
commands are run from sshd depending on
whether password or key (I'm using RSA)
authentication is used.
I verified this by writing my own app that is used
as my shell.
This application calls
OpenThreadToken or OpenProcessToken
if it fails. I then call LookupAccountSid
and write the domain and user name to
a log.
When RSA authentication is used, the SYSTEM
account is used to run the shell. When password
authentication is used, the shell is run under the
corresponding NT user that logged in. It's not
very useful for me for the shell to be run
under SYSTEM and I don't want to use
password authentication.
Any ideas?
I guess Cygwin isn't as robust as I had
hoped it would be.
Thanks,
Terris
-- List Information: http://tech.erdelynet.com/maillist-ssh-l.asp List Archives: http://erdelynet.com/archive/ssh-l/Received on Wed Oct 17 15:59:32 2001
This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:33:30 EDT