Re: su | post section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 02, 2007 at 11:10:21AM +0530, Lis Maria wrote:
> 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 ??

Please show us your %post script that does su and the SQL commands.


-- 
lfr
0/0

Attachment: pgpMAgwrAyPGT.pgp
Description: PGP signature

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux