PL/SQL (MOSC)

MOSC Banner

run a "who -m" command in a logon trigger

edited Apr 4, 2018 7:41AM in PL/SQL (MOSC) 22 commentsAnswered

Hello,

On my Linux environment, my dba users first connect with their personal id account and then run a su - oracle command, so I'd want to use the result of the "who -m" command in a dbms_session.set_identifier() procedure used inside an after logon trigger in order to identify initial user in audit files.

Is there an easier solution than using dbms_scheduler, dbms_pipe or external procedure to retrieve the result of the shell command?

Thank's

Dan

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center