Login incorrect

Olivier Jacquemin Olivier.Jacquemin@DialogSystems.be
Thu May 18 09:01:00 GMT 2000


Hi,

I'm afraid everything is set as it should... and still this "Login
incorrect"...

Here is a small session, just after starting Cygwin from the shortcut (so I
did not set anything manually before and the CYGWIN environment variable was
set in the NT environment before startup).  I swear I entered my correct
password after the "Password:" promt :-)

bash-2.03$ echo $CYGWIN
ntsec binmode tty
bash-2.03$ mkpasswd -d > /etc/passwd
bash-2.03$ mkgroup -d > /etc/group
bash-2.03$ cat /etc/passwd | grep OJA
OJA::1013:513:Jacquemin
Olivier,S-1-5-21-154406374-876364143-99485923-1013::/bin/sh
bash-2.03$ login
login: OJA
Password:
Login incorrect
login: Login timed out after 300 seconds


What else should I check ?

By the way, inetd was installed and started properly according to the
instructions in the inetutils-1.3.2.README file.  I was able to ftp my own
PC, the ftp server started correctly, but authentication failed due to the
login problem.

Any other idea ?

Many thanks,

	_Olivier_


> -----Original Message-----
> From:	Corinna Vinschen [SMTP:corinna@vinschen.de]
> Sent:	Thursday, May 18, 2000 5:27 PM
> To:	Olivier Jacquemin
> Cc:	'cygwin@sourceware.cygnus.com'
> Subject:	Re: Login incorrect
> 
> Olivier Jacquemin wrote:
> > 
> > Hello,
> > 
> > The login command does not work on my PC, the only result I can get is
> > "Login incorrect".  My goal is to be able to log in using my usual NT
> > _domain_ name and password (and ultimately to use remote access with
> rlogin
> > or ftp).
> > 
> > In the /etc/passwd file, I tried both modifications proposed:
> > <domain name>\<user name> at the beginning of the line, or
> > U-<domain name>\<user name> just before ",S-..."
> > Nothing seems to work.
> 
> Do you set the CYGWIN environment variable to contain
> the word `ntsec'? You have to switch on the ntsec option
> to get the U- and S- options in /etc/passwd to work.
> 
> You have to set that in the NT environment as I pointed out
> in the today's thread
> 	"IMPORTANT: Installing inetd or sth else as service"
> in the cygwin mailing list.
> 
> > What am I supposed to enter at the login prompt after running the login
> > command ? Is it exactly the same (case-sensitive) as the NT user name
> that I
> > use to log in the NT domain ?
> 
> No! You may use your name which is given in the pw_name
> field in your passwd file, as described in the login README.
> 
> Imagin the example of a NT user "JohnDoe" in domain "BIGBROTHER".
> You want to use the name "john" under Cygwin. The passwd file
> looks like:
> 
> 	john::123:111:John Doe,U-BIGBROTHER\JohnDoe,S-1-5-....
> 
> and you have to login with the name 
> 
> 	john
> 
> and the NT password of the user
> 
> 	JohnDoe
> 
> Ok?
> 
> > What about NT priviledges ? Do I need special priviledges to set up all
> this
> > ?
> 
> Please, read the README files for inetutils and login.
> They are part of the binary tar files and will be unpacked
> in the / directory (not _that_ skillful solution, I know).
> 
> Hope, that helps,
> Corinna
> 
> -- 
> Corinna Vinschen
> Cygwin Developer
> Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list