Re: rlogind vs. smb
On Wed, Nov 10, 2004 at 11:02:40AM -0500, Igor Pechtchanski wrote: > > 1. does anybody know why rlogind doesn't like SMB shares? > > <http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SWITCH>, or see > /usr/share/doc/Cygwin/inetutils-1.3.2.README I think this is my problem... It sure sounds like it Arguably it's not a good idea to create a user that has the create process level token privilige, as which the inetd service will run, so that it can setuid /AND/ access shares... I think i'll just keep local copies of .rhosts as part of the installation procedure... *sigh* > Should be in /var/log/inetd.log or the Windows Event Log (Application). /var/log/inetd.log contains spawn info for the rlogind process, but not much more... As for the event log, it contains somewhat sparse info. Maybe this is a configuration problem? Should all syslogish output really be directed to the event log? (not that rlogin is very helpful in it's logging... =P) > If by "promiscuous" you mean "persistent", go to the Service Control > Manager and set Startup Type for the "inetd" service to "Automatic". promiscuous mode, in pam's rlogin auth lib, means that the '+' wild cards are OK. By default, on most distributions, unless the word 'promiscuous' is in one of it's options, these pluses are disregarded. I haven't reached the stage where i've figured out whether this is really required or not... ;-) -- Yuval Kogman, Sysadmin HyperRoll Israel, Ltd. -- 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: rlogind vs. smb
On Wed, Nov 10, 2004 at 10:11:42AM +0100, Morche Matthias wrote: > What are the permissions of .rhosts on the shares? rshd/rlogind refuses to > use them if anybody but the owner has write access! They are properly owned and properly modded - they work via NFS on all the other unixen, be they Linux, SunOS HP-UX, Aix or Tru64. The mode is usually 0600, with the group set to 'staff' or equivelent. The privs as transmitted by samba are screwed up a bit, though. They become 0644. Thanks! -- Yuval Kogman, Sysadmin HyperRoll Israel, Ltd. -- 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/
rlogind vs. smb
Howdy! We have some windows machines running Cygwin to which we'd like to connect via rsh. It all works well if the passwd entry's home field points to a local directory, and the .rhosts file in that directory contains the proper values. The accounts are hosted on a linux based file server. The unixes get the home directory via NFS, and the fileserver also shares via samba. If you set the home to //fileserver/share in the cygwin box's /etc/passwd, then .rhosts suddenly stops being valid, and you're asked for a password. What's funny is that if you put the right password in, then a shell is started, and the pwd is the share, and the files therein are available, including .rhosts. So basically: 1. does anybody know why rlogind doesn't like SMB shares? 2. does anybody know where rlogind logs it's complaints to? 3. while we're added, how do you get rlogind to be promiscuous? Or actually, what's the cygwin equivelent of /etc/pam.d/rlogind ? Thanks! -- Yuval Kogman, Sysadmin HyperRoll Israel, Ltd. -- 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/