* Re: Problems with login
[not found] <NDBBJINIMKJKPGEBBJLKKEPFDOAA.ross@smithii.com>
@ 2001-11-02 21:32 ` chris hannon
2001-11-03 2:27 ` Corinna Vinschen
0 siblings, 1 reply; 5+ messages in thread
From: chris hannon @ 2001-11-02 21:32 UTC (permalink / raw)
To: Ross Smith; +Cc: cygwin
Hi Ross,
Thanks for replying.
I have the same problem with ssh!
what ever user/password I type it says the password is wrong.
I have set CYGWIN=ntsec in the batch file that calls bash/cygwin.
Administrator@ALONZO /
$ sshd -d
debug: sshd version 1.2.26 [i586-pc-cygwin32]
debug: Initializing random number generator; seed file /etc/ssh_random_seed
log: Server listening on port 22.
log: Generating 768 bit RSA key.
Generating p: ........................++ (distance 350)
Generating q: ...............++ (distance 332)
Computing the keys...
Testing the keys...
Key generation complete.
log: RSA key generation complete.
debug: Server will not fork when running in debugging mode.
log: Connection from 62.136.129.189 port 1955
debug: Client protocol version 1.5; client software version 1.2.27 Secure
KoalaTerm
debug: Sent 768 bit public key and 1024 bit host key.
debug: Encryption type: 3des
debug: Received session key; encryption turned on.
debug: Installing crc compensation attack detector.
debug: Attempting authentication for administrator.
debug: Password authentication for administrator failed.
Thanks
Chris
----- Original Message -----
From: "Ross Smith" <ross@smithii.com>
To: "Chris Hannon" <hannonc@dcs.kcl.ac.uk>
Sent: Saturday, November 03, 2001 12:34 AM
Subject: RE: Problems with login
> Chris,
>
> I've never gotten 'login' to work. But sshd works great.
>
> Also, add CYGWIN=ntsec to your system environment.
>
> -Ross
>
> > [ mailto:cygwin-owner@sources.redhat.com]On Behalf Of Chris Hannon
> >
> > I'm having some problems using login and sshd.
>
>
>
******In reply to:******
Hi,
Can anyone help?
I'm having some problems using login and sshd.
I am connected to a network but not part of a domin (I think - My NT login
does not give me the option to enter a domain).
I have only installed Cygwin a few days ago so I think I'm using 1.3.3.
Whatever password and user name I enter I can't login:
Administrator@ALONZO ~
$ login
login: Administrator
Password:
Login incorrect
I have editied the batch file that starts bash cywin.bat so that
CYGWIN=ntsec
@echo off
set CYGWIN=ntsec
E:
chdir \cygwin\bin
set CYGWIN=netsec
bash --login -i
I have used mkpasswd and mkgroup to make the passwd and group files
Administrator@ALONZO /etc
$ mkpasswd -l -g > passwd
$ mkgroup -l >group
passwd file:
============
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Backup Operators:*:551:551:,S-1-5-32-551::
Guests:*:546:546:,S-1-5-32-546::
Power Users:*:547:547:,S-1-5-32-547::
Replicator:*:552:552:,S-1-5-32-552::
Users:*:545:545:,S-1-5-32-545::
Administrator:This_field_is_not_used_by_cygwin_on_nt/2000/xp:500:513:,S-1-5-
21-2004385020-1794000073-1476137813-500:/home/Administrator:/bin/bash
Guest:This_field_is_not_used_by_cygwin_on_nt/2000/xp:501:513:,S-1-5-21-20043
85020-1794000073-1476137813-501:/home/Guest:/bin/bash
hannonc:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1000:513:Chris
Hannon,S-1-5-21-2004385020-1794000073-1476137813-1000:/home/hannonc:/bin/bas
h
VUSR_ALONZO:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1001:513:VSA
Server
Account,S-1-5-21-2004385020-1794000073-1476137813-1001:/home/VUSR_ALONZO:/bi
n/bash
group:
===========
Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
None:S-1-5-21-2004385020-1794000073-1476137813-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
I edited the group part of each user record so that it is not 513:
passwd file v2:
============
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Backup Operators:*:551:551:,S-1-5-32-551::
Guests:*:546:546:,S-1-5-32-546::
Power Users:*:547:547:,S-1-5-32-547::
Replicator:*:552:552:,S-1-5-32-552::
Users:*:545:545:,S-1-5-32-545::
Administrator:This_field_is_not_used_by_cygwin_on_nt/2000/xp:500:544:,S-1-5-
21-2004385020-1794000073-1476137813-500:/home/Administrator:/bin/bash
Guest:This_field_is_not_used_by_cygwin_on_nt/2000/xp:501:545:,S-1-5-21-20043
85020-1794000073-1476137813-501:/home/Guest:/bin/bash
hannonc:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1000:545:Chris
Hannon,S-1-5-21-2004385020-1794000073-1476137813-1000:/home/hannonc:/bin/bas
h
VUSR_ALONZO:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1001:545:VSA
Server
Account,S-1-5-21-2004385020-1794000073-1476137813-1001:/home/VUSR_ALONZO:/bi
n/bash
Does anyone know what I've missed?
Thanks,
Chris Hannon
--
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with login
2001-11-02 21:32 ` Problems with login chris hannon
@ 2001-11-03 2:27 ` Corinna Vinschen
0 siblings, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2001-11-03 2:27 UTC (permalink / raw)
To: cygwin
On Sat, Nov 03, 2001 at 05:37:09AM -0000, chris hannon wrote:
> Hi Ross,
> Thanks for replying.
>
> I have the same problem with ssh!
> what ever user/password I type it says the password is wrong.
>
> I have set CYGWIN=ntsec in the batch file that calls bash/cygwin.
Did you read /usr/doc/Cygwin/openssh-2.9.9p2.README?
Or /usr/doc/Cygwin/inetutils-1.3.2.README?
Or http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID ?
They all tell soemthing about NT/W2K user rights.
Oh, btw. this all is valid also for XP, including Home Edition.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with login
2001-11-04 9:26 Gregg Lebovitz
@ 2001-11-04 11:36 ` Peter Buckley
0 siblings, 0 replies; 5+ messages in thread
From: Peter Buckley @ 2001-11-04 11:36 UTC (permalink / raw)
To: Gregg Lebovitz; +Cc: cygwin
If you are using NTFS and ntsec, chown SYSTEM authorized_keys. There is
a script available at http://tech.erdelynet.com that will set the
correct permissions for all the ssh/sshd files.
HTH,
Peter
Gregg Lebovitz wrote:
> Corinna,
>
> I read all the documents that you recommended to Chris.
> In the ssh document, you say that the ssh key files must be owned by
> the same user as the one running the sshd daemon. If I run the sshd
> daemon
> as the localsystem, how can I change the ownership of the files to the
> localsystem user?
>
> Gregg
>
>
> --
> 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/
>
>
--
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with login
@ 2001-11-04 9:26 Gregg Lebovitz
2001-11-04 11:36 ` Peter Buckley
0 siblings, 1 reply; 5+ messages in thread
From: Gregg Lebovitz @ 2001-11-04 9:26 UTC (permalink / raw)
To: cygwin; +Cc: hannonc
Corinna,
I read all the documents that you recommended to Chris.
In the ssh document, you say that the ssh key files must be owned by
the same user as the one running the sshd daemon. If I run the sshd
daemon
as the localsystem, how can I change the ownership of the files to the
localsystem user?
Gregg
--
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Problems with login
@ 2001-11-02 16:22 Chris Hannon
0 siblings, 0 replies; 5+ messages in thread
From: Chris Hannon @ 2001-11-02 16:22 UTC (permalink / raw)
To: cygwin
Hi,
Can anyone help?
I'm having some problems using login and sshd.
I am connected to a network but not part of a domin (I think - My NT login
does not give me the option to enter a domain).
I have only installed Cygwin a few days ago so I think I'm using 1.3.3.
Whatever password and user name I enter I can't login:
Administrator@ALONZO ~
$ login
login: Administrator
Password:
Login incorrect
I have editied the batch file that starts bash cywin.bat so that
CYGWIN=ntsec
@echo off
set CYGWIN=ntsec
E:
chdir \cygwin\bin
set CYGWIN=netsec
bash --login -i
I have used mkpasswd and mkgroup to make the passwd and group files
Administrator@ALONZO /etc
$ mkpasswd -l -g > passwd
$ mkgroup -l >group
passwd file:
============
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Backup Operators:*:551:551:,S-1-5-32-551::
Guests:*:546:546:,S-1-5-32-546::
Power Users:*:547:547:,S-1-5-32-547::
Replicator:*:552:552:,S-1-5-32-552::
Users:*:545:545:,S-1-5-32-545::
Administrator:This_field_is_not_used_by_cygwin_on_nt/2000/xp:500:513:,S-1-5-
21-2004385020-1794000073-1476137813-500:/home/Administrator:/bin/bash
Guest:This_field_is_not_used_by_cygwin_on_nt/2000/xp:501:513:,S-1-5-21-20043
85020-1794000073-1476137813-501:/home/Guest:/bin/bash
hannonc:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1000:513:Chris
Hannon,S-1-5-21-2004385020-1794000073-1476137813-1000:/home/hannonc:/bin/bas
h
VUSR_ALONZO:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1001:513:VSA
Server
Account,S-1-5-21-2004385020-1794000073-1476137813-1001:/home/VUSR_ALONZO:/bi
n/bash
group:
===========
Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
None:S-1-5-21-2004385020-1794000073-1476137813-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
I edited the group part of each user record so that it is not 513:
passwd file v2:
============
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Backup Operators:*:551:551:,S-1-5-32-551::
Guests:*:546:546:,S-1-5-32-546::
Power Users:*:547:547:,S-1-5-32-547::
Replicator:*:552:552:,S-1-5-32-552::
Users:*:545:545:,S-1-5-32-545::
Administrator:This_field_is_not_used_by_cygwin_on_nt/2000/xp:500:544:,S-1-5-
21-2004385020-1794000073-1476137813-500:/home/Administrator:/bin/bash
Guest:This_field_is_not_used_by_cygwin_on_nt/2000/xp:501:545:,S-1-5-21-20043
85020-1794000073-1476137813-501:/home/Guest:/bin/bash
hannonc:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1000:545:Chris
Hannon,S-1-5-21-2004385020-1794000073-1476137813-1000:/home/hannonc:/bin/bas
h
VUSR_ALONZO:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1001:545:VSA
Server
Account,S-1-5-21-2004385020-1794000073-1476137813-1001:/home/VUSR_ALONZO:/bi
n/bash
Does anyone know what I've missed?
Thanks,
Chris Hannon
--
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-11-04 11:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <NDBBJINIMKJKPGEBBJLKKEPFDOAA.ross@smithii.com>
2001-11-02 21:32 ` Problems with login chris hannon
2001-11-03 2:27 ` Corinna Vinschen
2001-11-04 9:26 Gregg Lebovitz
2001-11-04 11:36 ` Peter Buckley
-- strict thread matches above, loose matches on Subject: below --
2001-11-02 16:22 Chris Hannon
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).