Re: / owned by bin causes sshd to complain bad ownership

看板FB_security作者時間13年前 (2012/06/23 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/17 (看更多)
"Julian H. Stacey" <jhs@berklix.com> writes: > On an 8.3-RELEASE running sshd, /var/log/auth.log=20 > Jun 22 12:54:06 lapr sshd[57505]: Authentication refused: > bad ownership or modes for directory / sshd requires that the user's authorized_keys, the directory it's in (~/.ssh) and all its ancestor directories be owned by either the user or root. > Until I did > chown 0:0 / > ( It was previously > drwxr-xr-x 25 bin bin 1024 Jun 20 19:53 ./ > ) I don't see why / should be owned by bin; bin is intended for system binaries and libraries, i.e. {,/usr}/{bin,sbin,lib,libexec}, except those that need to be setuid or setgid. The directories themselves should probably still be owned by root:wheel. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #1FvBBVdO (FB_security)
討論串 (同標題文章)
文章代碼(AID): #1FvBBVdO (FB_security)