logoalt Hacker News

asveikau • yesterday at 10:14 PM • 2 replies • view on HN

NFS in particular is an old protocol and authentication was bolted on later in its long history. It's pretty common to configure it in a way that you trust the client when they say they're root. This adds to the perception that nobody would assume it's safe to expose.


Replies

chasil • yesterday at 11:11 PM

NFSv3 assumes that uid/gid synchronization is in place, and maps root activity on the shared volume to some kind of nobody (unless the volume is exported nosquash). The username is irrelevant; the uid controls access (AFAIK).

NFSv4 needs idmapd, which is a different beast altogether.

fn-mote • today at 3:53 AM

> It's pretty common to configure it in a way that you trust the client when they say they're root

This is how you can tell you’re reading a post from a Real Old Time hacker. Hasn’t been that way for a long time.