Date: Sat, 6 Jun 2009 08:40:02 GMT From: Jilles Tjoelker <jilles@stack.nl> To: freebsd-rc@FreeBSD.org Subject: Re: conf/134333: PPP configuration problem in the rc.d scripts in combination with bash shell Message-ID: <200906060840.n568e2Jc044752@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/134333; it has been noted by GNATS. From: Jilles Tjoelker <jilles@stack.nl> To: bug-followup@FreeBSD.org, dreibh@iem.uni-due.de Cc: Subject: Re: conf/134333: PPP configuration problem in the rc.d scripts in combination with bash shell Date: Sat, 6 Jun 2009 10:30:36 +0200 The cause is probably that /etc/rc.d/ppp is using su -m, which uses the invoking user's shell from /etc/passwd. There doesn't seem a good alternative for su -m though, other than requiring the target user have /bin/sh as shell and using plain su or su -. A new option to su to execute a command using /bin/sh could be useful. -- Jilles Tjoelker
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906060840.n568e2Jc044752>