Skip to contentSkip to conversation

broken_suid mount option

DISCUSSION Frank van Maarseveen 2 participants 5 messages Sep 5, 2004 – Sep 6, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

Signature · 11 lines
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  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#1 lore raw

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

Quoted 4 lines

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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw
Quoted 4 lines · Trond Myklebust

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" ;-)

Signature · 11 lines
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  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#3 lore raw

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

Quoted 4 lines

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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#4 lore raw

[RFC] remove "broken_suid" nfs mount option

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

Quoted 9 lines

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..."

Quoted 8 lines · Trond Myklebust

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.

Signature · 1 line
Frank