All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amit Gud <agud@redhat.com>
To: "Steinar H. Gunderson" <sesse@debian.org>
Cc: Neil Brown <neilb@suse.de>,
	nfs@lists.sourceforge.net, Steve Dickson <SteveD@redhat.com>
Subject: Re: [PATCH] Fix NFS mount options in mount.nfs
Date: Fri, 07 Jul 2006 16:54:09 -0400	[thread overview]
Message-ID: <44AEC9F1.6000804@redhat.com> (raw)
In-Reply-To: <20060707203223.GA4193@uio.no>

Steinar H. Gunderson wrote:
> On Fri, Jul 07, 2006 at 03:47:00PM -0400, Amit Gud wrote:
>> Please use the attached patch for testing. It varies only in the above 
>> portion, but that should make a difference.
> 
> Say, why is mount.nfs suid root in the first place? I'd expect it only to be
> called by mount, which should be suid already...
> 

For security reasons, mount command resets the uids before calling 
mount.nfs. So, even mount.nfs needs to be suid root to be able to use 
the 'user' and 'users' mount options for NFS.


AG
-- 
May the source be with you.
http://www.cis.ksu.edu/~gud


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2006-07-07 20:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-07 17:45 [PATCH] Fix NFS mount options in mount.nfs Amit Gud
2006-07-07 17:45 ` Steinar H. Gunderson
2006-07-07 18:03   ` Amit Gud
2006-07-07 18:31     ` Steinar H. Gunderson
2006-07-08 18:56     ` Chuck Lever
2006-07-08 19:12       ` Amit Gud
2006-07-07 18:40 ` Steinar H. Gunderson
2006-07-07 19:47   ` Amit Gud
2006-07-07 20:32     ` Steinar H. Gunderson
2006-07-07 20:54       ` Amit Gud [this message]
2006-07-07 23:31 ` Neil Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44AEC9F1.6000804@redhat.com \
    --to=agud@redhat.com \
    --cc=SteveD@redhat.com \
    --cc=neilb@suse.de \
    --cc=nfs@lists.sourceforge.net \
    --cc=sesse@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.