public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* /usr/bin/su.exe in sh-utils always fails
@ 2003-09-29 19:38 Matt Swift
  2003-09-29 19:53 ` David Starks-Browning
  2003-09-29 20:07 ` Larry Hall
  0 siblings, 2 replies; 3+ messages in thread
From: Matt Swift @ 2003-09-29 19:38 UTC (permalink / raw)
  To: cygwin

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@vav
    kate@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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* /usr/bin/su.exe in sh-utils always fails
  2003-09-29 19:38 /usr/bin/su.exe in sh-utils always fails Matt Swift
@ 2003-09-29 19:53 ` David Starks-Browning
  2003-09-29 20:07 ` Larry Hall
  1 sibling, 0 replies; 3+ messages in thread
From: David Starks-Browning @ 2003-09-29 19:53 UTC (permalink / raw)
  To: Matt Swift; +Cc: cygwin

On Monday 29 Sep 03, Matt Swift writes:
> 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'.

So the FAQ should point out that the su from sh-utils doesn't work,
instead of saying that there is no su command.  I'll update it.

David


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /usr/bin/su.exe in sh-utils always fails
  2003-09-29 19:38 /usr/bin/su.exe in sh-utils always fails Matt Swift
  2003-09-29 19:53 ` David Starks-Browning
@ 2003-09-29 20:07 ` Larry Hall
  1 sibling, 0 replies; 3+ messages in thread
From: Larry Hall @ 2003-09-29 20:07 UTC (permalink / raw)
  To: Matt Swift, cygwin

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@vav
>    kate@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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-29 19:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-29 19:38 /usr/bin/su.exe in sh-utils always fails Matt Swift
2003-09-29 19:53 ` David Starks-Browning
2003-09-29 20:07 ` Larry Hall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).