Hmm, this seems to work for me as well (on Solaris). The trick seems to be to set the ora_session_mode to ORA_SYSDBA, provide a username of 'SYS' and a *non-null* password - anything will do, even a single space. I've checked this from my primary oracle login account, and by adding/removing a normal user from/to the dba group:

# User not in dba group
t$ /tmp/dba
ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin)

# User added to dba group
$ /tmp/dba
BASALT
SYS

--
Alan Burlison
--



Reply via email to