Symptom
It is reported that when logging in with an <sid>adm, and the loging scripts initializing the users environment fail to run correctly and the Admin user cannot be used.
It is also reported that other <sid>adm accounts do not have the same problem, even for the same SID.
The following errors are seen when logging in:
<hostname>:~ # su - <sid>adm
su: warning: cannot change directory to /usr/sap/<SID>/home: Permission denied
-sh: grep: command not found
-sh: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8): Permission denied
-sh: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): Permission denied
-sh: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): Permission denied
-sh: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8): Permission denied
-sh: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8): Permission denied
-sh: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8)
-sh: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8)
-sh: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
-sh: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
-sh: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8)
-sh: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8)
-sh: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
-sh: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8)
-sh: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
-sh: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
-sh: grep: command not found
-sh: grep: command not found
-sh: grep: command not found
-sh: grep: command not found
-sh: grep: command not found
-sh: grep: command not found
-sh: grep: command not found
-sh: sed: command not found
-sh: sed: command not found
-sh: /usr/sap/<SID>/home/.profile: Permission denied
<sid>adm@:/root>
Read more...
Environment
HANA DB 2.0
Product
SAP HANA, platform edition 2.0
Keywords
KBA , HAN-DB-SEC , SAP HANA Security & User Management , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview