[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

/etc/skel/.rhosts needed any longer?



Is there a reason that OpenBSD still installs a .rhosts file by default?

/etc/daily moans about the existence of .rhosts where
I have accounts where users authenticate off samba's
password file, but have a valid shell and a * in their
password field in /etc/master.passwd .

Patch to not install it follows.


Index: etc/Makefile
===================================================================
RCS file: /library/OpenBSD/src/etc/Makefile,v
retrieving revision 1.201
diff -u -u -r1.201 Makefile
--- etc//Makefile	29 Feb 2004 18:02:14 -0000	1.201
+++ etc//Makefile	2 May 2004 13:43:36 -0000
@@ -105,9 +105,7 @@
 		${INSTALL} -c -o root -g wheel -m 644 dot.mailrc \
 		    ${DESTDIR}/etc/skel/.mailrc; \
 		${INSTALL} -c -o root -g wheel -m 644 dot.profile \
-		    ${DESTDIR}/etc/skel/.profile; \
-		${INSTALL} -c -o root -g wheel -m 600 dot.rhosts \
-		    ${DESTDIR}/etc/skel/.rhosts
+		    ${DESTDIR}/etc/skel/.profile;
 	cd kerberosV; \
 		${INSTALL} -c -o root -g wheel -m 644 README \
 		    ${DESTDIR}/etc/kerberosV; \



Visit your host, monkey.org