su questions

Rodrigo Serra rmserra@fibertel.com.ar
Fri Apr 4 20:50:00 GMT 2003


Pierre,

I follow your instructions and su command fails with "access denied"
message. Attached file is the output of strace.

Rodrigo

-----Mensaje original-----
De: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] En nombre de
Pierre A. Humblet
Enviado el: Viernes, 04 de Abril de 2003 11:40 a.m.
Para: Rodrigo Serra
CC: cygwin@cygwin.com
Asunto: Re: su questions

Rodrigo Serra wrote:
> 
> Pierre,
> 
> The cygwin environment is binmode ntsec tty. This following string is
> extracted from cygwin1.dll "1.3.22-dontuse-21". Windows is "Windows.NET
> Server 2003" RC2.
> 
> This happen only when try to use no password authentication.
> 
OK, It may have to do with your version of Windows
I need your help for some debugging

1) Edit /etc/passwd to
   a) remove the passwd of SYSTEM
   b) add a home directory for SYSTEM (e.g. /)
   c) add a shell for SYSTEM
   d) remove your password (uid 1003)
2) telnet localhost and login as SYSTEM
   It should let you in without password
   You are now running as SYSTEM, confirm with "id"
3) su yourself (uid 1003)
   If that fails: 
4) strace -o trace su yourself
   and send me the trace 
5) Put the SYSTEM password back if your machine is directly accessible.

Pierre

--
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trace
Type: application/octet-stream
Size: 87296 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030404/fd7377b8/attachment.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list