Command behaviour is different via direct root login versus su

Solution Unverified - Updated -

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 or su -.
  • 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In