Operating System - HP-UX
1833707 Members
2398 Online
110063 Solutions
New Discussion

losing setuid/setgid privileges when tracing with tusc

 
SOLVED
Go to solution
Leo The Cat
Regular Advisor

losing setuid/setgid privileges when tracing with tusc

Hi there

I'm under HP-UX Itanium 11.23,and i'd like to find why my emagent (this agent is for Oracle Application Sever Console) crash after few seconds. It's my primary problem.

I've tusc for HP-UX but it doesn't run. (see below).

[oracle]/logiciel/app/oracle>/usr/local/bin/tusc -fae -o /tmp/tusc.log emctl start agent
Oracle Enterprise Manager 10g Application Server Control Release 10.1.2.0.2
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Starting agent ....NOTE: /etc/ping: losing setuid/setgid privileges when tracing
started.
( Terminating process 8335 ("/logiciel/app/oracle/oas10g/perl/bin/perl /logiciel/app/oracle/") )

Any ideas are welcome

Regards
Den
5 REPLIES 5
Dennis Handly
Acclaimed Contributor
Solution

Re: losing setuid/setgid privileges when tracing with tusc

Try running tusc as root? Losing privileges maybe related to security issue.

Was there anything useful in tusc.log?
Prasanth Vattoly
Frequent Advisor

Re: losing setuid/setgid privileges when tracing with tusc

could you please check in /etc/fstab ofr "nosuid " entry ....
prasanth.v.a
Leo The Cat
Regular Advisor

Re: losing setuid/setgid privileges when tracing with tusc

I've something like that:

/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvol11 /backup_OAS vxfs delaylog,datainlog,nolargefiles,rw,suid 0 2
/dev/vg01/lvol13 /logiciel/prd vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvol10 /logiciel vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvol15 /nsi_files vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvol14 /nsi_donnees vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvol12 /logiciel/rec vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvol16 /logiciel/mig vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvol17 /logiciel/pre vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvol20 /livraison_FNMF vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvol18 /depot vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvol21 /nsi0x00 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvol22 /area vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/dsk/c0t0d0 /cdrom cdfs ro,suid 0 0
/dev/dsk/c0t0d0 /cdrom cdfs ro,suid 0 0


Regards
Den
Leo The Cat
Regular Advisor

Re: losing setuid/setgid privileges when tracing with tusc

Hi and thanks

It's ok. tusc ran correctly but with a root connection and direct attachment over process:

/usr/local/bin/tusc -fae -o /tmp/tusc.log -p [pid]

Regards
Den
Leo The Cat
Regular Advisor

Re: losing setuid/setgid privileges when tracing with tusc

.