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

Jim Knoble jmknoble at pobox.com
Thu Jun 27 05:30:11 EST 2002


Circa 2002-Jun-26 11:58:19 -0700 dixit Bob Van Cleef:

  [...]
: When attempting to run I see:
: 
: [root at ns1 openssh-3.4p1]# /usr/local/sbin/sshd -d
: This platform does not support both privilege separation and compression
: Compression disabled
: debug1: sshd version OpenSSH_3.4p1
: debug1: private host key: #0 type 0 RSA1
: debug1: read PEM private key done: type RSA
: debug1: private host key: #1 type 1 RSA
: debug1: read PEM private key done: type DSA
: debug1: private host key: #2 type 2 DSA
: Bad owner or mode for /var/empty
: [root at ns1 openssh-3.4p1]# ls -l /usr/local/sbin/sshd
: -rwxr-xr-x    1 root     root       801476 Jun 26 11:36 
: /usr/local/sbin/sshd
: [root at ns1 openssh-3.4p1]# ls -lag /var/empty
: total 5
: drwx------    2 sshd     sshd         1024 Jun 25 16:13 .
: drwxr-xr-x   19 root     root         1024 Jun 25 16:13 ..
: -rw-r--r--    1 sshd     sshd           24 Jun 25 16:13 .bash_logout
: -rw-r--r--    1 sshd     sshd          230 Jun 25 16:13 .bash_profile
: -rw-r--r--    1 sshd     sshd          124 Jun 25 16:13 .bashrc
: [root at ns1 openssh-3.4p1]#

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.

-- 
jim knoble  |  jmknoble at pobox.com  |  http://www.pobox.com/~jmknoble/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 262 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020626/5c438e19/attachment.bin 


More information about the openssh-unix-dev mailing list