[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
su | post section
- From: "Lis Maria" <lismariain gmail com>
- To: "RPM Package Manager" <rpm-list redhat com>
- Subject: su | post section
- Date: Mon, 2 Apr 2007 11:10:21 +0530
Hi
I am trying to run some sqls at the post installation of the RPM.At the beginning of the %post section, i am doing a su - <user> . But the sqls are getting executed as root itself. So if oracle home is not set in the root home, it will throw some error. and i cannot guarantee that oracle_home will be set for root in where all i install this RPM. How can i ensure that my sqls will get executed as the user to which i am switching to ??
Thanks in Advance
Lis
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]