Re: / owned by bin causes sshd to complain bad ownership
Garance A Drosehn <gad@FreeBSD.org> writes:
> At one time I read that having directories/files owned by root was a
> security benefit when considering the -maproot=3D<x> for NFS exports.
> All unix systems recognize UID=3D0 means root, and there is no other
> UID which all unix systems agree on. Disclaimer: I rarely use NFS,
> so I don't really pay attention to the details. I may have the wrong
> idea for what the advantage is, but it was some kind of connection
> with UID=3D0 and NFS exports or imports.
-maproot=3Dfoo means that requests coming from root on the client are
treated as if the came from the user "foo" instead.
If binaries are owned by bin, root on the client can su to bin and
modify them. If they are owned by root and the server maps root to an
unprivileged user (e.g. "nobody"), root on the client can't touch them.
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"
討論串 (同標題文章)
完整討論串 (本文為第 15 之 17 篇):