Networking Forums

Networking Forums > Computer Networking > Linux Networking > nfs no access by root

Reply
Thread Tools Display Modes

nfs no access by root

 
 
stephen
Guest
Posts: n/a

 
      09-11-2004, 04:50 AM

I have two linux hosts on my little playbox linux LAN . My big box has all
my files (cvs + backup). Laptop's ordinary user (holiday) automounts my
big box's ordinary user's (holiday) home directory. Laptop's holiday can
access big box's holiday, but laptop's root can not.

laptop:root# cd /home/holiday/bigbox/holiday

gets access denied.

whereas
laptop:holiday$ cd /home/holiday/bigbox/holiday
gets in just fine.

This is weird to me. I would think that any machine's root could access
any mounted volume.

But clearly this is not so.

What is really so in this situation?




 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      09-11-2004, 07:21 AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.networking stephen <(E-Mail Removed)> suggested:

> I have two linux hosts on my little playbox linux LAN . My big box has all
> my files (cvs + backup). Laptop's ordinary user (holiday) automounts my
> big box's ordinary user's (holiday) home directory. Laptop's holiday can
> access big box's holiday, but laptop's root can not.

[..]

> This is weird to me. I would think that any machine's root could access
> any mounted volume.


Nothing weird about it, it depends IIRC on the export options,
check 'man 5 exports' about no_root_squash/root_squash.

Good luck

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBQqdcAkPEju3Se5QRAh6yAKCoHFe/RXLG2s85ADAg3fWk3Hn/bACdH976
lGHw/Gh9nxdOPwpHj9YeWBE=
=vQ4J
-----END PGP SIGNATURE-----
 
Reply With Quote
 
John Thompson
Guest
Posts: n/a

 
      09-11-2004, 03:10 PM
On 2004-09-11, stephen <(E-Mail Removed)> wrote:

> I have two linux hosts on my little playbox linux LAN . My big box has all
> my files (cvs + backup). Laptop's ordinary user (holiday) automounts my
> big box's ordinary user's (holiday) home directory. Laptop's holiday can
> access big box's holiday, but laptop's root can not.
>
> laptop:root# cd /home/holiday/bigbox/holiday
>
> gets access denied.
>
> whereas
> laptop:holiday$ cd /home/holiday/bigbox/holiday
> gets in just fine.
>
> This is weird to me. I would think that any machine's root could access
> any mounted volume.


Not with NFS. Allowing root access to a network filesystem means that a
root compromise on one machine puts the entire network accessing the
filesystem at risk.

> But clearly this is not so.
>
> What is really so in this situation?


Check "man exports" for more details,,,

--

-John ((E-Mail Removed))
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable root access to telnet with krb5-telnet Phoe6 Linux Networking 2 06-08-2007 11:00 AM
WG311T wireless card is showing c.root-server.net and other root-server.net in netstat. Robert Home Networking 1 05-06-2005 08:13 PM
Postfix config - cron messages for root going to root@ISP. Doug Laidlaw Linux Networking 5 02-27-2005 03:21 PM
MOVING DFS ROOT Matthew Farrin Windows Networking 0 10-07-2004 04:07 AM
root user can't access internet Nick Knight Linux Networking 3 04-18-2004 07:14 PM



1 2 3 4 5 6 7 8 9 10 11