From owner-freebsd-questions@FreeBSD.ORG Mon Mar 28 15:33:52 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3658416A4CE for ; Mon, 28 Mar 2005 15:33:52 +0000 (GMT) Received: from web50109.mail.yahoo.com (web50109.mail.yahoo.com [206.190.38.37]) by mx1.FreeBSD.org (Postfix) with SMTP id 7640B43D46 for ; Mon, 28 Mar 2005 15:33:51 +0000 (GMT) (envelope-from jhnpublic@yahoo.com) Received: (qmail 15525 invoked by uid 60001); 28 Mar 2005 15:33:47 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=17w5C3WRz2BDIAeIQn35r7knxWecKA5p3tyYu+gPl7ms9peiudY3u8j98L1wyQKxMh1FxiLq4lScyoYfgzE7onHV+0il7uTD7RJv33P9AfHQ96Z5QIlPAQ2yjtFJkK6sprap+DXG1wL6pD2BTrJHZXESpQdaH9iIxlPZpzBfgb0= ; Message-ID: <20050328153347.15523.qmail@web50109.mail.yahoo.com> Received: from [164.64.118.112] by web50109.mail.yahoo.com via HTTP; Mon, 28 Mar 2005 07:33:47 PST Date: Mon, 28 Mar 2005 07:33:47 -0800 (PST) From: John Public To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: su command problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 15:33:52 -0000 To whom it may concern: I am running into an issue using rc.conf to run applications at startup. Specifically, nagios, and mysql. When the system boots, it goes to a command prompt at the stage of the boot process when those applications would be run and then stops. If I exit out of the prompt, booting continues normally. I believe I have traced the problem to the su command which is used in the rc. In attempting to run the mysql w/ mysql_enable="YES" in the rc.conf, it su's to the mysql account and is supposed to run a command and exit. It su's to mysql OK, but never runs the command and exits. I have attempted this manually and received the same results. This system is running FreeBSD 5.3. I have another system which uses FreeBSD 5.2.1 and doesn't have this problem. I'm not sure if this is a security fix that has been implemented in 5.3 or if the issue lies elsewhere. I have been able to implement a workaround to make them work by changing their startup scripts to not use su, but would like to resolve the issue. I have check the problem reports on the FreeBSD website and don't see anything that appears to be related. I have also google'd this and found nothing. I also didn't find anything in the manual. Any help would be greatly appreciated. Thanks in advance. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com