delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/29/15:56:01

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <5.1.0.14.0.20030929154453.027e5350@127.0.0.1>
X-Sender:
Date: Mon, 29 Sep 2003 15:48:59 -0400
To: Matt Swift <swift AT alum DOT mit DOT edu>, cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: /usr/bin/su.exe in sh-utils always fails
In-Reply-To: <m265jbwj3u.fsf@beth.swift.xxx>
Mime-Version: 1.0

Matt,

See the email archives on this one.  I suggest you start here:

<http://www.cygwin.com/ml/cygwin/2003-06/msg01396.html>

The FAQ may be a little out-of-date on the specifics but the intent is
correct.  Don't expect 'su' to work even if it exists.

Larry


At 02:21 PM 9/29/2003, Matt Swift you wrote:
>The Cygwin FAQ says that there is no `su' command in recent versions
>of Cygwin, The sh-utils package, however, currently contains an `su'
>command, but it doesn't work.  The shell transcript below illustrates
>the problem.  You have to trust me that I offer the same password to
>`su' as I do to `ssh'.
>
>
>    [vav] swift> hostname; uname -a
>    vav
>    CYGWIN_NT-5.1 vav 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin
>    [vav] swift> whoami
>    swift
>    [vav] swift> su kate
>    Password:
>    su: incorrect password
>    [vav] swift> whoami
>    swift
>    [vav] swift> ssh kate AT vav
>    kate AT vav's password: 
>    [vav] kate> whoami
>    kate
>    [vav] kate> exit
>    logout
>    Connection to vav closed.
>    [vav] swift> whoami
>    swift
>    [vav] swift> 
>
>
>    [vav] swift> cygcheck /usr/bin/su.exe
>    C:/cygwin/bin/su.exe
>      C:\WINNT\System32\KERNEL32.dll
>        C:\WINNT\System32\ntdll.dll
>      C:/cygwin/bin\cygwin1.dll
>      C:/cygwin/bin\cygintl-2.dll
>        C:/cygwin/bin\cygiconv-2.dll
>
>    [vav] swift> cygcheck -f /usr/bin/su.exe
>    sh-utils-2.0.15-4
>
>    [vav] swift> cygcheck -c sh-utils
>    Cygwin Package Information
>    Package              Version        Status
>    sh-utils             2.0.15-4       OK
>
>--
>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/


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