delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/18/07:13:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Timothy Madden <terminatorul AT gmail DOT com>
Subject: Elevated prompt under ssh on Windows 7
Date: Wed, 18 Jan 2012 14:12:57 +0200
Lines: 16
Message-ID: <jf6d07$ile$1@dough.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello

I use ssh to connect to my cygwin machine (running on Windows 7 SP1 
64-bit) and I would like the remote shell not to run elevated (as it 
runs by default if I start it on the remote machine directly), except 
for the Administator user.

That way I can get the Unix-like behavior in which other users need to 
`su` first in order to perform administrative tasks.

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 ?

Thank you,
Timothy Madden


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019