Wednesday, June 19, 2019

NFS exports everything

I am quite sleepy, perhaps a stupid error, but annoying.

I have in /etc/exports only the following line:

/home/exp/nfs -alldirs -ro -network=10.0.0.0 -mask=255.255.255.0

I start the nfs service either with "rcctl -f start portmap mountd nfsd"
or with "portmap; mountd; nfsd -u -t -n 4".

Then I can mount *any* directory in the client, for example:

mount -t nfs 10.0.0.14:/etc /mnt

I do not remember that this is normal. Is it??????!!!!

Rodrigo

No comments:

Post a Comment