Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20030107194601.81238.qmail@web14707.mail.yahoo.com> Date: Tue, 7 Jan 2003 11:46:01 -0800 (PST) From: Robert Bercik Subject: login problems... telnet etc. To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, I'm trying to use login on cygwin, but it's not working. I have done pretty much everything in the login.README file and its still not functioning properly. The output of various programs are included below: -- **** Creating files for login: -- mkpasswd -l -d > /etc/passwd mkgroup -l -d > /etc/group -- **** cygwin.bat: -- @echo off D: chdir D:\cygwin\bin bash --login -i -- **** : -- $ grep -i primeran /etc/passwd Primeran:unused_by_nt/2000/xp:11681:10513:Primerano Pier Giulio,U-BUTR_MI\Primeran,S-1-5-21-317811356-168917041-1681:/cygdrive/d/home /Primeran:/bin/bash Primeran AT WS-PRIMERA ~ -- **** My ID is: -- $ id uid=11681(Primeran) gid=10513(Domain Users) groups=0(Everyone),10513(Domain Users),11860(Office 2K Aquila),547(Power Users),545(Users) Primeran AT WS-PRIMERA ~ -- **** The first bad surprise is: -- $ passwd passwd: unknown user Primeran Primeran AT WS-PRIMERA ~ -- **** Environment variable CYGWIN should be fine: -- Primeran AT WS-PRIMERA ~ $ printenv | grep -i 'cygwin' !D:=D:\cygwin\bin CYGWIN=ntsec TERM=cygwin Primeran AT WS-PRIMERA ~ -- **** Environment variables: -- $ printenv NUMBER_OF_PROCESSORS=1 PROMPT=$P$G PWD=/cygdrive/d/home/Primeran LOGONSERVER=\\AQUILA2 PROCESSOR_LEVEL=6 OS2LIBPATH=C:\WINNT\system32\os2\dll; COMSPEC=C:\WINNT\system32\cmd.exe !C:=C:\WINNT\Profiles\Primeran\Desktop SYSTEMDRIVE=C: PROCESSOR_REVISION=0703 !D:=D:\cygwin\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH COMPUTERNAME=WS-PRIMERA WINDIR=C:\WINNT USERPROFILE=C:\WINNT\Profiles\Primeran MANPATH=:/usr/ssl/man PS1=\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ CYGWIN=ntsec MSINPUT=C:\Program Files\Microsoft Hardware USER=Primeran PROCESSOR_IDENTIFIER=x86 Family 6 Model 7 Stepping 3, GenuineIntel OS=Windows_NT OLDPWD=/usr/bin PROCESSOR_ARCHITECTURE=x86 TEMP=/cygdrive/c/TEMP SYSTEMROOT=C:\WINNT TMP=/cygdrive/c/TEMP HOMEDRIVE=w: SHLVL=1 MAKE_MODE=unix HOMEPATH=\home\Primeran USERDOMAIN=BUTR_MI USERNAME=Primeran TERM=cygwin HOME=/cygdrive/d/home/Primeran PATH=/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WIN NT:/cygdrive/c/ORANT/BIN:.:/cygdrive/c/WINNT /System32/WBEM:/usr/bin:/cygdrive/c/Perl/bin:/cygdrive/c/jdk1.3/bin:/cygdriv e/c/mingw32/gcc-2.95.2/bin:. _=/usr/bin/printenv Primeran AT WS-PRIMERA ~ -- **** The Daemon seems to work: -- Primeran AT WS-PRIMERA ~ $ /usr/sbin/inetd -d ADD : echo proto=tcp, wait=0, user=root builtin=4060b0 server=internal registered internal on 4 ADD : echo proto=udp, wait=0, user=root builtin=4060c0 server=internal registered internal on 5 ADD : discard proto=tcp, wait=0, user=root builtin=4060d0 server=internal registered internal on 6 ADD : discard proto=udp, wait=0, user=root builtin=4060e0 server=internal registered internal on 7 ADD : daytime proto=tcp, wait=0, user=root builtin=406110 server=internal registered internal on 8 ADD : daytime proto=udp, wait=0, user=root builtin=406120 server=internal registered internal on 9 ADD : chargen proto=tcp, wait=0, user=root builtin=406130 server=internal registered internal on 10 ADD : chargen proto=udp, wait=0, user=root builtin=406140 server=internal registered internal on 11 ADD : time proto=tcp, wait=0, user=root builtin=4060f0 server=internal registered internal on 12 ADD : time proto=udp, wait=0, user=root builtin=406100 server=internal registered internal on 13 ADD : ftp proto=tcp, wait=0, user=root builtin=0 server=/usr/sbin/in.ftpd registered /usr/sbin/in.ftpd on 14 ADD : telnet proto=tcp, wait=0, user=root builtin=0 server=/usr/sbin/in.telnetd registered /usr/sbin/in.telnetd on 15 ADD : shell proto=tcp, wait=0, user=root builtin=0 server=/usr/sbin/in.rshd registered /usr/sbin/in.rshd on 16 ADD : login proto=tcp, wait=0, user=root builtin=0 server=/usr/sbin/in.rlogind registered /usr/sbin/in.rlogind on 17 ADD : exec proto=tcp, wait=0, user=root builtin=0 server=/usr/sbin/in.rexecd registered /usr/sbin/in.rexecd on 18 ADD : talk proto=udp, wait=1, user=root builtin=0 server=/usr/sbin/in.talkd registered /usr/sbin/in.talkd on 19 ADD : ntalk proto=udp, wait=1, user=root builtin=0 server=/usr/sbin/in.talkd registered /usr/sbin/in.talkd on 20 someone wants ftp accept, ctrl 3 + Closing from 20 332 execl /usr/sbin/in.ftpd 332 reaped, status 0 someone wants ftp accept, ctrl 3 + Closing from 20 271 execl /usr/sbin/in.ftpd 271 reaped, status 0 someone wants ftp accept, ctrl 3 + Closing from 20 362 execl /usr/sbin/in.ftpd -- **** MS-DOS Cmd Shell: I Tried to login with my Win-NT password but I never succeeded! -- thanks, -Rob __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- 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/