switch user issue
Prepare for installation of Oracle 11g R2 on SUSE Linux Enterprise Server 11 R2. First I logged in as root, then created a user named oracle (with its password). Next I tried to switch to user oracle:
#su - oracle
Supposedly I am now oracle user. But when I check the current user for the session, it is still the root, not oracle.
I tested:
echo $USER
or
last | grep $USER
or
env | grep -i user
They all returned: root
Why so?
Now start a new session, and login as oracle, the error message states:
xsession: login for oracle is disabled.
What was wrong here?
Thanks to help
Scott
Last edited by scottjsn; 07-01-2012 at 10:18 PM.
|