All of lore.kernel.org
 help / color / mirror / Atom feed
* broken_suid mount option
@ 2004-09-05 21:37 Frank van Maarseveen
  2004-09-05 21:43 ` Trond Myklebust
  0 siblings, 1 reply; 5+ messages in thread
From: Frank van Maarseveen @ 2004-09-05 21:37 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: Linux NFS mailing list

Is this thing useful anymore? Google came up with this patch submission
and description from you:

http://www.ussg.iu.edu/hypermail/linux/kernel/0010.1/1178.html


-- 
Frank


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: broken_suid mount option
  2004-09-05 21:37 broken_suid mount option Frank van Maarseveen
@ 2004-09-05 21:43 ` Trond Myklebust
  2004-09-05 21:55   ` Frank van Maarseveen
  0 siblings, 1 reply; 5+ messages in thread
From: Trond Myklebust @ 2004-09-05 21:43 UTC (permalink / raw)
  To: Frank van Maarseveen; +Cc: Linux NFS mailing list

P=E5 su , 05/09/2004 klokka 17:37, skreiv Frank van Maarseveen:
> Is this thing useful anymore? Google came up with this patch submission
> and description from you:
>=20
> http://www.ussg.iu.edu/hypermail/linux/kernel/0010.1/1178.html

Just yesterday I saw traces made on a college server by a student this
summer in which >99% of the traffic was broken lookups of .Xauthority by
'root' processes...

Cheers,
  Trond



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: broken_suid mount option
  2004-09-05 21:43 ` Trond Myklebust
@ 2004-09-05 21:55   ` Frank van Maarseveen
  2004-09-05 22:03     ` Trond Myklebust
  0 siblings, 1 reply; 5+ messages in thread
From: Frank van Maarseveen @ 2004-09-05 21:55 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: Frank van Maarseveen, Linux NFS mailing list

On Sun, Sep 05, 2004 at 05:43:49PM -0400, Trond Myklebust wrote:
> 
> Just yesterday I saw traces made on a college server by a student this
> summer in which >99% of the traffic was broken lookups of .Xauthority by
> 'root' processes...

So they run old XFree86 software with broken setuid programs and
compensate using the broken_suid mount option. They probably use
an old kernel as well. Isn't it time to change this for 2.6?
You mentioned the word "security" ;-)

-- 
Frank


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: broken_suid mount option
  2004-09-05 21:55   ` Frank van Maarseveen
@ 2004-09-05 22:03     ` Trond Myklebust
  2004-09-06 19:39       ` [RFC] remove "broken_suid" nfs " Frank van Maarseveen
  0 siblings, 1 reply; 5+ messages in thread
From: Trond Myklebust @ 2004-09-05 22:03 UTC (permalink / raw)
  To: Frank van Maarseveen; +Cc: Linux NFS mailing list

P=E5 su , 05/09/2004 klokka 17:55, skreiv Frank van Maarseveen:

> So they run old XFree86 software with broken setuid programs and
> compensate using the broken_suid mount option. They probably use
> an old kernel as well. Isn't it time to change this for 2.6?
> You mentioned the word "security" ;-)

If people agree that we can remove it, then I'll take the patch. The
whole point of making it a mount option (rather than the default as used
to be the case earlier) was to allow us to deprecate it.

Note, though, that we should take this one too to lkml in order to get a
proper concensus.

Cheers,
  Trond



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [RFC] remove "broken_suid" nfs mount option
  2004-09-05 22:03     ` Trond Myklebust
@ 2004-09-06 19:39       ` Frank van Maarseveen
  0 siblings, 0 replies; 5+ messages in thread
From: Frank van Maarseveen @ 2004-09-06 19:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: Trond Myklebust

This has been discussed first on the nfs mailing list. Summary:

> To: Trond Myklebust
> Cc: Linux NFS mailing list
> Subject: [NFS] broken_suid mount option
> Date: Sun, 5 Sep 2004 23:37:02 +0200
> 
> Is this thing useful anymore? Google came up with this patch submission
> and description from you:
> 
> http://www.ussg.iu.edu/hypermail/linux/kernel/0010.1/1178.html

 "To summarize the feature:
  
    The old NFS had a feature whereby if a setuid process failed due to
  EACCES or EPERM, the RPC engine would drop the privileged credentials,
  and retry using the uid/gid (instead of fsuid/fsgid).
    Of course, this sort of thing may be a security problem, so in 2.4.x
  (and in 2.2.18pre) it has been disabled by default. Unfortunately some
  broken programs rely on this silliness instead of bothering to
  dropping privileges themselves (the setuid version of xterm trying to
  read ~/.Xauthority being one of the more prominent offenders); hence
  the decision to make a new mount option..."


On Sun, Sep 05, 2004 at 06:03:43PM -0400, Trond Myklebust wrote:
> 
> If people agree that we can remove it, then I'll take the patch. The
> whole point of making it a mount option (rather than the default as used
> to be the case earlier) was to allow us to deprecate it.
> 
> Note, though, that we should take this one too to lkml in order to get a
> proper concensus.
> 

-- 
Frank

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-06 19:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-05 21:37 broken_suid mount option Frank van Maarseveen
2004-09-05 21:43 ` Trond Myklebust
2004-09-05 21:55   ` Frank van Maarseveen
2004-09-05 22:03     ` Trond Myklebust
2004-09-06 19:39       ` [RFC] remove "broken_suid" nfs " Frank van Maarseveen

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.