conf/134333: PPP configuration problem in the rc.d scripts in combination with bash shell

Jilles Tjoelker jilles at stack.nl
Sat Jun 6 08:40:03 UTC 2009


The following reply was made to PR conf/134333; it has been noted by GNATS.

From: Jilles Tjoelker <jilles at stack.nl>
To: bug-followup at FreeBSD.org, dreibh at 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


More information about the freebsd-rc mailing list