cancel
Showing results for 
Search instead for 
Did you mean: 

the securty problem

Former Member
0 Kudos

i login on sap with sapid;

host:sidadm 1>

and;

host:sidadm 1>su - ora<sid>

oraprt's Password:

%

what is the %?

thanks in advance

ferhan

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

Just to add to the last post:

http://hell.org.ua/Docs/oreilly/unix/upt/ch07_01.htm

<...>
A percent sign (%) is the default C shell prompt on many systems. Not too useful, is it? All that prompt tells you is that you're logged in.
<...>

Markus

Answers (2)

Answers (2)

Former Member
0 Kudos

try to check the current shell for both of the users , sidadm and orasid

host:sidadm> echo $SHELL and host:orasid> echo $SHELL

this % prompt also comes when the 'env' is not set yet for the particular user, like may be it's the case with your orasid user here and not with the sidadm

we have observed this while doing system copies. Untill we set the 'env' for the sidadm and orasid users, we see the prompt % and after setting up the env varables we can see the prompt corresponding to sidadm and orasid.

I would like if Markus can suggest whether my observations are correct or not

Former Member
0 Kudos

host:sidadm> echo $SHELL

/bin/csh

<sid>adm 4> env

USER=<sid>adm

LOGNAME=<sid>adm

LOGIN=<sid>adm

HOME=/home/<sid>adm

PATH=/oracle/<sid>/102_64/bin:/usr/java14_64/bin:/home/<sid>adm:/usr/sap/<sid>/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/<sid>adm/bin:/usr/bin/X11:/sbin:.

MAIL=/var/spool/mail/<sid>adm

SHELL=/bin/csh

TZ=MEST-2MEDT,M3.5.0,M10.5.0

SSH_CLIENT=192.99.0.21 2603 22

SSH_CONNECTION=192.99.0.21 2603 192.100.0.184 22

SSH_TTY=/dev/pts/0

TERM=vt100

AUTHSTATE=compat

LANG=en_US

LOCPATH=/usr/lib/nls/loc

LC__FASTMSG=true

ORACLE_HOME=/oracle/<sid>/102_64

ORACLE_SID=<sid>

ODMDIR=/etc/objrepos

SAPSYSTEMNAME=<sid>

DIR_LIBRARY=/usr/sap/<sid>/SYS/exe/run

JAVA_HOME=/usr/java14_64

IBM_JAVA_OPTIONS=-Xmx256M -Xj9

THREAD=NOPS

dbms_type=ORA

dbs_ora_tnsname=<sid>

dbs_ora_schema=SAPSR3

DB_SID=<sid>

ORACLE_BASE=/oracle

TNS_ADMIN=/usr/sap/<sid>/SYS/profile/oracle

NLS_LANG=AMERICAN_AMERICA.UTF8

SAPDATA_HOME=/oracle/<sid>

MAILMSG=[YOU HAVE NEW MAIL]

NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat

LIBPATH=/usr/lib:/lib:/usr/sap/<sid>/SYS/exe/run:/oracle/client/10x_64/instantclient

and host:orasid> echo $SHEL

/bin/csh

% env

TERM=vt100

AUTHSTATE=compat

SHELL=/bin/csh

HOME=/oracle/<sid>

USER=ora<sid>

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin

TZ=MEST-2MEDT,M3.5.0,M10.5.0

LANG=en_US

LOCPATH=/usr/lib/nls/loc

LC__FASTMSG=true

ORACLE_HOME=/oracle/<sid>/102_64

ORACLE_SID=<sid>

ODMDIR=/etc/objrepos

LOGNAME=ora<sid>

LOGIN=ora<sid>

NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat

Former Member
0 Kudos

Well, it might be the case of c shell...

but still I have doubt as my observations are still not clarified, as the orasid env posted in this thread seems to be 'incomplete'. Our server has the following env for orasid

r3lpar17:orap10 1> env

TERM=vt220

AUTHSTATE=files

SHELL=/usr/bin/csh

HOME=/oracle/P10

USER=orap10

JAVA_HOME=/usr/java14_64

PATH=/oracle/P10/102_64/bin:.:/oracle/P10:/usr/sap/P10/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/bin:/usr/java14/jre/bin:/usr/java14/bin

TZ=EST5EDT

LANG=en_US

LOCPATH=/usr/lib/nls/loc

LC__FASTMSG=true

ODMDIR=/etc/objrepos

LOGNAME=orap10

LOGIN=orap10

SAPSYSTEMNAME=P10

DIR_LIBRARY=/usr/sap/P10/SYS/exe/run

THREAD=NOPS

DISPLAY=138.226.115.38:0.0

dbms_type=ORA

dbs_ora_tnsname=P10

dbs_ora_schema=SAPR3

ORACLE_PSRV=P10

ORACLE_SID=P10

ORACLE_HOME=/oracle/P10/102_64

ORACLE_BASE=/oracle

ORA_NLS10=/oracle/P10/102_64/nls/data

NLS_LANG=AMERICAN_AMERICA.WE8DEC

SAPDATA_HOME=/oracle/P10

TNS_ADMIN=/oracle/P10/102_64/network/admin

NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat

LIBPATH=/usr/lib:/lib:/usr/sap/P10/SYS/exe/run:/oracle/P10/102_64/lib

r3lpar17:orap10 2>

Markus,

May be you guys can help me in clarifying my doubt here

markus_doehr2
Active Contributor
0 Kudos

> but still I have doubt as my observations are still not clarified, as the orasid env posted in this thread seems to be 'incomplete'.

Why do you think so?

Markus

Former Member
0 Kudos

May be it is your shell prompt character.