In article <seVJL=_00WB_I2qoQ3@andrew.cmu.edu> Frank T Lofaro <fl0p+@andrew.cmu.edu> writes:Running suid/sgid programs without extra privileges usually has some nasty side effects: - a program may fail in non-obvious ways. I've seen this several times where bad code doesn't check whether operations that depend on suid fail. - programs like xterm and screen may lose their ability to keep utmp up to date and may fail to protect ptys properly. I don't know whether the latter is a problem on Linux. - you can continue being lazy and ignore that you're running programs in a context they don't expect ;-) Most importantly, nosuid (with nodev) is typically used when mounting devices that you don't consider trustworthy, like floppy disks, archives (via NFS), user disks in an insecure environment, etc. In those cases it's desirable that any attempt to run suid files just returns a complaint, because suid files aren't supposed to be on the media. It's trivial in either way. Implementing such changes of "kernel policy" as a config option rather than as a mount option seems to be more common, but there's really no big difference. (Besides that you'd have to find a new mount option name ;-) Could somebody with access to the POSIX standard documents please have a look at this ? - Werner -- _________________________________________________________________________ / Werner Almesberger, ETH Zuerich, CH almesber@nessie.cs.id.ethz.ch / / IFW A44 Tel. +41 1 254 7213 almesberger@rzvax.ethz.ch / /_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/
| Linus Torvalds | Linux 2.6.27-rc8 |
| Greg KH | [patch 00/71] 2.6.26-stable review |
| Dmitry Torokhov | 2.6.27-rc8+ - first impressions |
| jimmy bahuleyan | Re: Hibernation considerations |
git: | |
| Petr Baudis | [FYI][PATCH] Customizing the WinGit installer |
| Jan Hudec | Re: [PATCH] Move all dashed form git commands to libexecdir |
| Jay Soffian | Re: [PATCH] gitweb: Support caching projects list |
| Mark Levedahl | Allowing override of the default "origin" nickname |
| Richard Stallman | Real men don't attack straw men |
| Leon Dippenaar | New tcp stack attack |
| Luca Dell'Oca | Authenticate squid in Active Directory |
| Todd Pytel | IDE or SCSI virtual disks for VMWare image? |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Matthew Dharm | Re: [RFC] Patch to option HSO driver to the kernel |
| Ingo Molnar | Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+ |
| David Miller | Re: [GIT PULL] [IPV6] COMPAT: Fix SSM applications on 64bit kernels. |
