This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Elevated prompt under ssh on Windows 7


On Jan 18 07:58, Ryan Johnson wrote:
> On 18/01/2012 7:12 AM, Timothy Madden wrote:
> >Is there a way to get the remote shell not to run elevated under
> >sshd, even if the user could otherwise run programs elevated in
> >the native Windows OS ?
> I suspect you could set up ssh to use a "shell" which drops the
> user's privilege level and then invokes the real shell. I don't know
> the magic incantation off-hand, tho.

There's a cygdrop tool in the cygutils package which allows to start
another process under a restricted token.  See `cygdrop --help'.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]