su - user -c "file" asks for password
- From: "astrosteve" <saqqara2000@xxxxxxxxxxx>
- Date: 29 Mar 2007 08:56:02 -0700
Hi guys & gals,
I am trying to find the magic config parameter which sorts out my
problem as follows :
I'm using Oracle on Linux Red Hat and wish to start the various
components automatically on reboot.
I've done all the /etc/rc3.d/S99oracle stuff and the same set up works
fine on all the other boxes I've installed it on. However, on this
particular box there is obviously a config problem. When I run a
command like this with the root user
su - oracle -c "/u01/app/oracle/orahome/bin/lsnrctl status"
both from inside a shell script and manually, I am prompted for the
oracle user password. Normally, as you probably already know, an 'su
-' from root does not require a password. This does not happen on any
other system I have set this up on and I am at a loss as to why it's
happening here.
There is obviously a minor config problem but it stops the scripts
from running and therefore I cannot get Oracle to start up on reboot.
I've looked on the Web but no answers were forthcoming.
Can anyone help me?
Thanks in anticipation of a solution....
Steve
.
- Follow-Ups:
- Re: su - user -c "file" asks for password
- From: SINNER
- Re: su - user -c "file" asks for password
- Prev by Date: Please help, I can't understand error message, I'm trying to install atitvout
- Next by Date: Re: how to make a partition on USB memory stick read-only ?
- Previous by thread: Please help, I can't understand error message, I'm trying to install atitvout
- Next by thread: Re: su - user -c "file" asks for password
- Index(es):
Relevant Pages
|
|