Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2005 07:33:47 -0800 (PST)
From:      John Public <jhnpublic@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   su command problem
Message-ID:  <20050328153347.15523.qmail@web50109.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050328153347.15523.qmail>