delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/16/14:35:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
In-Reply-To: <cfqu9q$nj6$1@sea.gmane.org>
To: =?ISO-8859-1?Q?Maur=EDcio?= <briqueabraque AT yahoo DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: Using "su" on cygwin
MIME-Version: 1.0
Message-ID: <OF72C68F90.649073FA-ON85256EF2.0065E818-85256EF2.0065F671@abinitio.com>
From: Chuck McDevitt <cmcdevitt AT ABINITIO DOT COM>
Date: Mon, 16 Aug 2004 14:35:05 -0400
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i7GIZCY4016801

Why not use the Microsoft "runas" command to start your program/shell?

RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]
        /user:<UserName> program


 




Maurício <briqueabraque AT yahoo DOT com> 
Sent by: cygwin-owner AT cygwin DOT com
08/16/2004 03:26 PM

To
cygwin AT cygwin DOT com
cc

Subject
Re: Using "su" on cygwin






> 
>> Hi,
>> I got my /etc/passwd and /etc/group from mkpasswd and mkgroup. When I'm 
loged as user, sometimes I need to get administrator privileges, for 
instance, to make and install a library or program. How do I do that? I 
tried:
>>su administrator
>>but it always says I'm using the wrong password (I use the same password 
I use to log as administrator). What am I doing wrong?
> 
> 
> 
> You didn't read this:
> 
>>FAQ:    http://cygwin.com/faq/
> 
> See "Why doesn't `su' work?":
> 
> <http://cygwin.com/faq/faq_toc.html#TOC39>
> 

   After reading that and further docs, I managed to get login (instead 
of su) to work, but only when I am logged in Windows as administrator. 
Do you know why I can't get that to work for other users?

   Maurício


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


ForwardSourceID:NT0002D2A2 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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