This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Still confused about cyg_server vs. user id when logging in via ssh
- From: Anthony Geoghegan <anthony dot geoghegan at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 6 Nov 2013 14:31:59 +0000
- Subject: Re: Still confused about cyg_server vs. user id when logging in via ssh
- Authentication-results: sourceware.org; auth=none
- References: <21110 dot 44071 dot 195847 dot 904212 at consult dot pretender> <20131104120307 dot GE2731 at calimero dot vinschen dot de>
>> My bottom line question is whether there is any way to login via SSH
>> and to get a shell with true ADMINISTRATOR privileges so that there is
>> no difference between a SSH log in and a local login... at a minimum
>> is there any way to get subinacl to work right.
>
> http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-logonuser
I spent ages wrestling with similar issues. I found running `mkpasswd
-c` a useful way to see which Windows user I'm logged in as. It took a
lot of experimentation to realise that I was only logged in with the
permissions of my Windows user if I disabled SSH keys and used my
account password to authenticate. After much research, I found all the
relevant answers in the documentation that Corinna linked to - though
I had to read it twice to fully understand it (I've only recently
started to learn about Windows' authentication and security
processes).
Regards,
Anthony Geoghegan
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple