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

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
To: cygwin AT cygwin DOT com
Subject: /usr/bin/su.exe in sh-utils always fails
From: Matt Swift <swift AT alum DOT mit DOT edu>
Date: Mon, 29 Sep 2003 14:21:57 -0400
Message-ID: <m265jbwj3u.fsf@beth.swift.xxx>
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
X-Transfinites-MailScanner: clean
X-Transfinites-MailScanner-SpamCheck: not spam, SpamAssassin (score=-4.9,
required 5, BAYES_00 -4.90)
Note-from-DJ: This may be spam

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/

- Raw text -


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