Unable to Work with new user login
I am new to sun admin.
Recently i created the user Oracle and from then on if i login as Oracle user and type any command it says not found. The only command i can type to get result is pwd.
I am trying this in Sun Ultra20 workstation.
Can any one say where i did wrong?
thanks for your time!
[331 byte] By [
dbasan] at [2007-11-25 22:58:33]

# 1
Hello.
"set" should work, too.
Try to type the full command e.g. "/usr/bin/ls" instead of "ls".
Perhaps it is just the "PATH" environment variable which is not set correctly.
If this is the reason create a $HOME/.profile file or edit if it already exists and add the correct PATH.
Martin
# 2
Hi Martin,
You are right it works if i give the path along with command. you see every time i cannot type the full path.
Could you brief me how to set the path as i have added /usr/bin in the PATH of user .profile and still i get the same error:
$ls -ltra
/usr/bin/ksh: ls: not found
Also is that due to /usr/bin/ksh added in the .profile
My .profile
/usr/bin/ksh
ORACLE_HOME= /export/oracle/product/920
ORACLE_BASE= /export/oracle
PATH=/export/oracle/product/920/bin:/usr/ccs/bin:/usr/openwin/bin :/usr/bin:/etc:
DISPLAY=198.77.88.4:0.0
san