1848179 Members
6052 Online
104022 Solutions
New Discussion

Re: SU Question

 
SOLVED
Go to solution
spock
Advisor

SU Question

Hi Guys,
In syslog, i find "su: + tty?? root-oracle"
What does it mean. Why the tty is in ??

Why this question... because this morning, at the time of this command, Oracle database shutdown whit no reason.

Thanks for your help.
5 REPLIES 5
siva0123
Trusted Contributor

Re: SU Question

Hi,

This actually means from a terminal session a root user have switched over to as user oracle...

If u want to now what are the commands executed by that user just give history 100 and it will give you the last 100 command sexecuted in your system.

Check the commands executed after doing an su -.

You may find some clue

Thanks,
Siva
siva0123
Trusted Contributor

Re: SU Question

Hi,

This actually means from a terminal session a root user have switched over to as user oracle...

If u want to know what are the commands executed by that user just give history 100 and it will give you the last 100 command sexecuted in your system.

Check the commands executed after doing an su -.

You may find some clue

Thanks,
Siva
Peter Godron
Honored Contributor
Solution

Re: SU Question

Hi,
I would read this not as an interactive, but a cron login as tty?? means no terminal attachment.
Check your cron /cronlog for root.
Is there something like "su - oracle -c" in any of the called scripts?

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

So far you have not awarded any points !
spock
Advisor

Re: SU Question

Thanks for help.
With your help, i can be sure thant No cron task has send a shutdown database command. Maybe some scheduler like $Universe or Oracle.
I 'll investigate.
spock
Advisor

Re: SU Question

Tnanks