Messages in this thread | | | From | (Miquel van Smoorenburg) | Subject | Re: strace security <feature> | Date | 30 Dec 1999 18:45:59 GMT |
| |
In article <cistron.199912301818.NAA28190@kf8nh.apk.net>, Brandon S. Allbery KF8NH <allbery@kf8nh.apk.net> wrote: >It might be worth reminding people that some shells (notably bash) will >check if EUID != UID and reset the EUID to the UID on startup, unless a >particular option (-p on bash) is given. IOW, testing the above with a >setuid shell script won't work unless its startup line is "#! /bin/bash -p" >(or /bin/sh in place of /bin/bash).
Won't work at all - Linux doesn't support setuid shell scripts (and rightly so).
Mike. -- Living is a horizontal fall. -- The From: and Reply-To: addresses are internal news2mail gateway addresses. Reply to the list or to miquels@cistron.nl (Miquel van Smoorenburg)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |