Command behaviour is different via direct root login versus su
Issue
- A direct log in to the server as root behaves differently than log in to server as non root (test account) and then do a
su - root
orsu -
. - When a user logs in as non root and does a
su - root
into RHEL server and executes below command then command hangs and the process shows using up close to 100% CPU.
od -x < /dev/urandom | head -10
- While login as root directly and execute the same command it works.
od -x < /dev/urandom | head -10
Environment
- Red Hat Enterprise Linux 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.