bad owner on /var/empty: RH6.2 sparc 3.4p1

Tim Rice tim at multitalents.net
Thu Jun 27 05:50:59 EST 2002


On Wed, 26 Jun 2002, Kevin Steves wrote:

> On Wed, Jun 26, 2002 at 03:30:11PM -0400, Jim Knoble wrote:
> > No.  Bad.  /var/empty should be mode 0755, owner 0 (root), group 0
> > (root, wheel, sys, or whatever it is on your system).  And, it should
> > be empty.  Does your useradd default to creating the user's home
> > directory?  Perhaps that's why your /var/empty appears to have been
> > chowned and populated from /etc/skel.
>
> yes.  also note we do try hard to keep documentation up-to-date;
> from sshd.8:

Shall we patch Makefile.in ?

--- Makefile.in.old	Tue Jun 25 16:45:42 2002
+++ Makefile.in	Wed Jun 26 12:49:25 2002
@@ -219,6 +219,7 @@
 	$(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir)
 	$(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH)
 	chmod 0700 $(DESTDIR)$(PRIVSEP_PATH)
+	chown 0 $(DESTDIR)$(PRIVSEP_PATH)
 	$(INSTALL) -m 0755 -s ssh $(DESTDIR)$(bindir)/ssh
 	$(INSTALL) -m 0755 -s scp $(DESTDIR)$(bindir)/scp
 	$(INSTALL) -m 0755 -s ssh-add $(DESTDIR)$(bindir)/ssh-add
>
>      /var/empty
>              chroot(2) directory used by sshd during privilege separation in
>              the pre-authentication phase.  The directory should not contain
>              any files and must be owned by root and not group or world-
>              writable.
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net





More information about the openssh-unix-dev mailing list