delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/13/05:23:39

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 13 Mar 2012 10:22:53 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: login-1.10-10 : throwing error in eventviewer
Message-ID: <20120313092253.GA26954@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAPz4_RAZeAX+h2w-t7E2MN2x4_w3Q3T1p30b2jQmbbZz_tuhqQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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

- Raw text -


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