bad owner on /var/empty: RH6.2 sparc 3.4p1
Bob Van Cleef
vancleef at microunity.com
Thu Jun 27 06:10:32 EST 2002
On Wed, 26 Jun 2002, Jim Knoble wrote:
> 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;
You are correct. I used useradd to create the account and it populated
the directory. As previously noted, chown root.root cured the problem
and I have now deleted the .bash cruft.
Thanks again everyone for the quick response to this issue.
Bob
[ now to get it working under SunOS 4.1.4 - I love old systems :) ]
More information about the openssh-unix-dev
mailing list