Assuming you're on Oracle 8i (you don't say): 1) select SYS_CONTEXT('USERENV','OS_USER') from dual;
2) I believe this is because the $ORACLE_HOME/bin/oracle executable has an owner of "oracle" and has the sticky bit set on it's security. If you "ls -l $ORACLE_HOME/bin/oracle", you should see the security on the file as "-rwsr-s--x", with the "s" being the sticky bit. Try a "man chmod" for more info. HTH! :) Rich Jesse System/Database Administrator [EMAIL PROTECTED] Quad/Tech International, Sussex, WI USA -----Original Message----- Sent: Thursday, December 06, 2001 20:25 To: Multiple recipients of list ORACLE-L Hi all, I've got 2 questions here : (Platform : Sun Solaris) : 1. What is the command in PL/SQL to get unix userID who logged in when I execute PL/SQL script ? 2. I have created a new user : ABC123, and the primary group is oinstall. When I start oracle instance using ABC123, how come the process still belong to another user (oracle) ? Any feedback would be greatly appreciated Thanks & Regards Herman -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jesse, Rich INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).