X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 13 Mar 2012 10:22:53 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: login-1.10-10 : throwing error in eventviewer
Message-ID: <20120313092253.GA26954@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <CAPz4_RAZeAX+h2w-t7E2MN2x4_w3Q3T1p30b2jQmbbZz_tuhqQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAPz4_RAZeAX+h2w-t7E2MN2x4_w3Q3T1p30b2jQmbbZz_tuhqQ@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On Mar 13 13:37, Vinay Kumar wrote:
> Hello Cygwin Team,
> 
> We are having two user in Windows 2003 environment : Administrator and
> tioadmin. Cygwin is installed using  user Administrator. When we are
> trying to execute command "login -p tioadmin" from cygwin bash shell,

You can't do that due to Windows security restrictions.  The login
command is supposed to be run indirectly via a service running under a
privileged account.  If you want to switch the user account
interactively, consider to install sshd as service and then call `ssh -l
tioadmin localhost'.  As for setting up a sshd service, see the FAQ:

  http://cygwin.com/faq-nochunks.html#faq.using.sshd-in-domain


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

