Hello,
I am running an NFS server/PXE on a Cent OS 5.1 server. I have defined an NFS export with "no_root_squash" option in my /etc/exports file: # # NFS Export Files # /export/images *(rw,sync,no_root_squash)
... A client PXE boots as a diskless station to the above server into a root-NFS directory underneath the above /export/images export. When the client boots; the NFS export is NOT root-Squashing - whenever I touch a file, it is created as user nobody and NOT root.
I would like to NFS root-squash the root directory. I believe that I am missing to pass a parameter in my kernel - (defined in .. /pxelinux.cfg/default) .. currently my kernel parameters are:
APPEND root=/dev/nfs rw nfsroot=192.1.2.5:/export/images/root-fs ip=dhcp
... would anyone be kind to provide advise on how I can mount my client so that I am ensure that the "no_root_squash" setting is enabled?
thanks in advace.
On Mon, 25 Feb 2008 14:36:17 -0800 vincenzo romero new2xen@gmail.com wrote:
I would like to NFS root-squash the root directory.
no_root_squash means just what it says. If you want to have root-squashing, remove that parameter from your /etc/exports file. root-squash=yes is the default setting unless otherwise specified with no_root_squash.
I apologize for the miscommunication.
I would like to enable that ability to "no_root_squash" to make sure root users on the clients have actual root permissions; or effectively root users are NOT mapped to user nobody.
1. I have no_root_squash enabled in /etc/exports
2. But my client when accessing the export via NFS - seems to be root-squashing it .. so that root is mapped to nobody. I would like the root client to have actual root permissions.
... What am I missing in my client side configuration (append line passed to kernel)?
thanks in advance.
On Mon, Feb 25, 2008 at 2:41 PM, Frank Cox theatre@sasktel.net wrote:
On Mon, 25 Feb 2008 14:36:17 -0800 vincenzo romero new2xen@gmail.com wrote:
I would like to NFS root-squash the root directory.
no_root_squash means just what it says. If you want to have root-squashing, remove that parameter from your /etc/exports file. root-squash=yes is the default setting unless otherwise specified with no_root_squash.
-- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of vincenzo romero Sent: Tuesday, February 26, 2008 2:24 AM To: Frank Cox Cc: CentOS mailing list Subject: Re: [CentOS] NFS options on kernel parameters
I apologize for the miscommunication.
I would like to enable that ability to "no_root_squash" to make sure root users on the clients have actual root permissions; or effectively root users are NOT mapped to user nobody.
1. I have no_root_squash enabled in /etc/exports
2. But my client when accessing the export via NFS - seems to be root-squashing it .. so that root is mapped to nobody. I would like the root client to have actual root permissions.
... What am I missing in my client side configuration (append line passed to kernel)?
thanks in advance.
On Mon, Feb 25, 2008 at 2:41 PM, Frank Cox theatre@sasktel.net wrote:
On Mon, 25 Feb 2008 14:36:17 -0800 vincenzo romero new2xen@gmail.com wrote:
I would like to NFS root-squash the root directory.
no_root_squash means just what it says. If you want to have root-squashing, remove that parameter from your /etc/exports file. root-squash=yes is the default setting unless otherwise specified with no_root_squash.
-- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com