X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0	tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew Schulman <schulman.andrew@epamail.epa.gov>
Subject: Re: admin privileges when logging in by ssh?
Date: Mon, 12 Sep 2011 10:24:46 -0400
Lines: 14
Message-ID: <fb5s67hrbvq8lej86nqjhfp0et01fc6lsf@4ax.com>
References: <rg0q679hpajl00ujv34jtmavsanhpb6n2t@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> When a user with administrative privileges logs in to sshd, it seems that the user is only granted
> standard user privileges for that session.  Is there a way around that?  How can I get the admin
> privileges for that session?

Winding this up:

Password authentication to sshd is all that's needed to be granted the account's admin privileges on
login.  I was mistaken about UAC:  unlike at the console, when you log in by ssh, the account's
admin privileges are granted at login, without needing any further authentication to UAC.

Thanks very much Eliot and Karl, for your answers about UAC.  Although it turns out that they're not
needed in this case, they're likely to be useful some other time.

Andrew.


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

