From owner-freebsd-rc@FreeBSD.ORG Sat Jun 6 08:40:03 2009 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6126F106564A for ; Sat, 6 Jun 2009 08:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 343C18FC0C for ; Sat, 6 Jun 2009 08:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n568e2lv044753 for ; Sat, 6 Jun 2009 08:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n568e2Jc044752; Sat, 6 Jun 2009 08:40:02 GMT (envelope-from gnats) Date: Sat, 6 Jun 2009 08:40:02 GMT Message-Id: <200906060840.n568e2Jc044752@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Jilles Tjoelker Cc: Subject: Re: conf/134333: PPP configuration problem in the rc.d scripts in combination with bash shell X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jilles Tjoelker List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jun 2009 08:40:03 -0000 The following reply was made to PR conf/134333; it has been noted by GNATS. From: Jilles Tjoelker 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