delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/21/10:36:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 21 Feb 2003 09:43:28 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: =?ISO-8859-1?Q?Maur=EDcio?= <briqueabraque AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: using ntsec, su doesn't work
In-Reply-To: <b3550c$u0r$1@main.gmane.org>
Message-ID: <Pine.GSO.4.44.0302210936090.16682-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1LFal718297

On Fri, 21 Feb 2003, Maurício wrote:

>    Hi,
>
>    I'm using cygwin latest install. I did:
>
> mkpasswd -l > /etc/passwd
> mkgroup -l > /etc/group
>
>    When I log as administrator or as user (postgres), 'who' gives the
> proper name. However, when I try 'su Administrator' or 'su postgres' it
> rejects the password. I can log on win2000 using those passwords.
>    What am I doing wrong?
>
>    Thanks,
>    Maurcio

Nothing, this is expected behavior.  'su' doesn't work under Cygwin unless
the user has appropriate privileges.  See
<http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.3> for
details.  You can always use "ssh user AT localhost" or Windows services
("at" or "runas").
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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