Re: system account files mystery
Ugh, top-posting... Reformatted. On Sat, 2 Dec 2006, dsacks wrote: Larry Hall (Cygwin) wrote: dsacks wrote: fyi, this is all about trying to get sshd to accept incoming connections. I want to use winscp into my xp box to move files. I am very confused about what password sshd would use - does it use windows authentication or does it expect to find passwords in /etc/passwd? Can I choose? Password authentication is done through Windows. Passwords on all NT-based platforms come from Windows. Okay, h. So what is the secret to geting sshd working? It is running, but when I try to ssh in, it doesn't accept my domain password. Does it work with domain users or is there something special I need to do for that to happen? I think Larry's answer was a bit too literal. Yes, passwords come from Windows, but for Cygwin to be able to get Windows to authenticate a given user, that user (or, rather, that user's SID) has to be in /etc/passwd. Now, domain users aren't added to /etc/passwd by default. Read the documentation on mkpasswd to find out how to add your domain users to /etc/passwd. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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/
Re: system account files mystery
Okay, h. So what is the secret to geting sshd working? It is running, but when I try to ssh in, it doesn't accept my domain password. Does it work with domain users or is there something special I need to do for that to happen? D Larry Hall (Cygwin) wrote: dsacks wrote: fyi, this is all about trying to get sshd to accept incoming connections. I want to use winscp into my xp box to move files. I am very confused about what password sshd would use - does it use windows authentication or does it expect to find passwords in /etc/passwd? Can I choose? Password authentication is done through Windows. Passwords on all NT-based platforms come from Windows. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/ -- View this message in context: http://www.nabble.com/system-account-files-mystery-tf2733714.html#a7660562 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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/
system account files mystery
Hi, I've used cygwin before, but for the first time I did mkpasswd and mkgroup and got it so that when go to a cygwin prompt, my id actually shows as my windows username and I end up in /home/myusername. Woohoo. wait, if I try to vi /etc/sshd_config now I cannot write it, because it is owned by SYSTEM and has restrictive rights. How do I edit system files now? I don't really grok the permission world in cygwin and how unixy permissions and users map to windows. Another thing worth mentioning, I am running windows xp sp2 and it is part of a domain. I am a domain user. I am also a member of Administrators on the computer. Help? -- View this message in context: http://www.nabble.com/system-account-files-mystery-tf2733714.html#a7626013 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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/
Re: system account files mystery
dsacks dennis at calico-consulting.com writes: wait, if I try to vi /etc/sshd_config now I cannot write it, because it is owned by SYSTEM and has restrictive rights. How do I edit system files now? I don't really grok the permission world in cygwin and how unixy permissions and users map to windows. Did you try chown your_user_id /etc/sshd_config ? to change the ownership to you so you can edit it? -- 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/
Re: system account files mystery
fyi, this is all about trying to get sshd to accept incoming connections. I want to use winscp into my xp box to move files. I am very confused about what password sshd would use - does it use windows authentication or does it expect to find passwords in /etc/passwd? Can I choose? Thanks!! dsacks wrote: Hi, I've used cygwin before, but for the first time I did mkpasswd and mkgroup and got it so that when go to a cygwin prompt, my id actually shows as my windows username and I end up in /home/myusername. Woohoo. wait, if I try to vi /etc/sshd_config now I cannot write it, because it is owned by SYSTEM and has restrictive rights. How do I edit system files now? I don't really grok the permission world in cygwin and how unixy permissions and users map to windows. Another thing worth mentioning, I am running windows xp sp2 and it is part of a domain. I am a domain user. I am also a member of Administrators on the computer. Help? -- View this message in context: http://www.nabble.com/system-account-files-mystery-tf2733714.html#a7627528 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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/
Re: system account files mystery
No, that didn't occur to me - and it seems to work. How does the permission system work?! Thank you very much for the info. Dennis Andrew Louie wrote: dsacks dennis at calico-consulting.com writes: wait, if I try to vi /etc/sshd_config now I cannot write it, because it is owned by SYSTEM and has restrictive rights. How do I edit system files now? I don't really grok the permission world in cygwin and how unixy permissions and users map to windows. Did you try chown your_user_id /etc/sshd_config ? to change the ownership to you so you can edit it? -- 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/ -- View this message in context: http://www.nabble.com/system-account-files-mystery-tf2733714.html#a7627966 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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/
Re: system account files mystery
dsacks wrote: fyi, this is all about trying to get sshd to accept incoming connections. I want to use winscp into my xp box to move files. I am very confused about what password sshd would use - does it use windows authentication or does it expect to find passwords in /etc/passwd? Can I choose? Password authentication is done through Windows. Passwords on all NT-based platforms come from Windows. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/
Re: system account files mystery
dsacks wrote: No, that didn't occur to me - and it seems to work. How does the permission system work?! http://cygwin.com/cygwin-ug-net/ntsec.html -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/