[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: root access over nfs



Andy Spiegl wrote:
  >...
  >But here, I've actuallye got 2 problems concerning 'root' in a
  >network.  For one thing, I am not able to log in as root on my
  >other debian machine for a non root account:
  >
  >mpcii:~> rlogin mpci -l root
  >Password: <correct passwd>
  >Login incorrect
  >
  >I think I have heard that this can be configured somewhere, but
  >I can't remember where.

I can't suggest anything here

  >The other thing is that I can't write to a nfs mounted directory,
  >not even as root:
  >
  >mpci:~# mount
  >[...]
  >mpcii:/usr/local/bin on /usr/local/bin type nfs (rw,addr=192.168.0.1)
  >[...]
  >mpci:~# cd /usr/local/bin
  >mpci:/usr/local/bin# touch test
  >touch: test: Permission denied

By default, root is treated as user -2 on the remote machine, so it
probably has very little capability.  This is set up in the file
/etc/exports on the remote machine; it is called `root squashing'.
Add the option `no_root_squash' to the appropriate line in /etc/exports.

`man exports' for details.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                                  http://lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: