[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mandb wrapper scripts

On Mon, Feb 07, 2000 at 03:44:50AM -0900, Ethan Benson wrote:
> however, there is another solution, that just occured to me:
> exec su -s /bin/sh nobody -c ${1+"$cmd"}
> the -s flag tells su to use the specified shell instead of the one
> from /etc/passwd.
> the only possible problem with this is portability, I know the su
> debian currently uses supports -s but what about other su ? if debian
> were to change to another one it would suck to have things start
> breaking because it lost -s

hurd's su is pretty minimalistic and doesn't support this -s option.

I would prefer a portable implementation over adding -s to the native su
each time Debian is ported to a new platform.


`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server 
Marcus Brinkmann              GNU    http://www.gnu.org    for public PGP Key 
Marcus.Brinkmann@ruhr-uni-bochum.de,     marcus@gnu.org    PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       brinkmd@debian.org

Reply to: