LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-16-2010, 05:34 AM   #1
maheshp86
LQ Newbie
 
Registered: Jun 2010
Location: mumbai
Posts: 22

Rep: Reputation: 0
nfs option root_squash


In /etc/exports one of the defaults option for host
is root_squash ,

ie any user having root privilage will mapped to user id 'nfsnobody'.

if it is so how root can mount nfs share from client??

pls clear my doubt.
 
Old 07-16-2010, 06:30 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
It's not about mounting the share, it's about accessing the files inside it. As there is very little security inherent in NFSv2 / v3 it could easily be the case that someone with root access on their toy desktop development box can mount an NFS share on the core file server and edit things as root. This stops that.
 
  


Reply

Tags
nfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
root_squash is default in NFS server surya_b4u Linux - Server 2 07-10-2010 02:30 PM
Cannot mount NFS share (wrong fs type, bad option, bad superblock)... martinezpt Linux - Server 3 04-25-2010 09:44 PM
NFS: "remount" showing up as NFS option kenneho Linux - Newbie 0 11-18-2008 06:25 AM
No GUI NFS Server option in Suse 10.2? kaine Linux - Wireless Networking 3 03-18-2008 05:08 PM
Can't find option Root filesystem in NFS while building kernel benjaminrtz Linux - Newbie 1 01-25-2006 04:29 PM


All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration