🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.sys.sun.admin
Article #13381

NFS4

#13381
From: raveenpl
Date: Thu, 01 Jun 2006 20:24
37 lines
2199 bytes
Witam

Czy ktos orientuje sie w jaki sposob moge ograniczyc dostep _tylko_ do
poszczegolnych zasobow w NFS4??

Plik /etc/exports
/export
192.168.0.66(rw,wdelay,insecure,root_squash,no_subtree_check,fsid=0,async)
/export/test1
*(rw,wdelay,nohide,insecure,root_squash,no_subtree_check,async)
/export/test2
*(rw,wdelay,nohide,insecure,root_squash,no_subtree_check,async)

mount -t nfs4 192.168.0.55:/ test
mount: permission denied

mount -t nfs4 192.168.0.55:/test1 test
mount: permission denied

mount -t nfs4 192.168.0.55:/test2 test
mount: permission denied

Ustawienie dostepu dla konkretnego IP dla zasobu glownego uniemozliwa
wejscie do katalogow podrzednych.

Przy ustawieniu:
/export *(rw,wdelay,insecure,root_squash,no_subtree_check,fsid=0,async)
/export/test1
192.168.0.66(rw,wdelay,nohide,insecure,root_squash,no_subtree_check,async)
/export/test2
*(rw,wdelay,nohide,insecure,root_squash,no_subtree_check,async)

udalo sie zamontowac wszystkie katalogi, lacznie z katalogiem test1, do
ktorego teoretycznie dostepu nie powinienem miec (moj ip *.230)

Byc moze cos robie zle, jesli ktos ma jakies pojecie o tym, widzi jakis
blad prosze o pomoc.
Technical Details
Message-ID: <1149193479.993149.68400@u72g2000cwu.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!news.germany.com!postnews.google.com!u72g2000cwu.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!news.germany.com!postnews.google.com!u72g2000cwu.googlegroups.com!not-for-mail
From: raveenpl@gmail.com
Newsgroups: pl.comp.sys.sun.admin
Subject: NFS4
Date: 1 Jun 2006 13:24:40 -0700
Organization: http://groups.google.com
Lines: 38
Message-ID: <1149193479.993149.68400@u72g2000cwu.googlegroups.com>
NNTP-Posting-Host: 213.17.150.130
Mime-Version: 1.0
X-Trace: posting.google.com 1149193483 7261 127.0.0.1 (1 Jun 2006 20:24:43 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 1 Jun 2006 20:24:43 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: u72g2000cwu.googlegroups.com; posting-host=213.17.150.130;   posting-account=BP4j_A0AAAAOhIS5OGhw1PW84QyjwJZa
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit