Why does user run application as a root user though it executes using sudo?

Solution Verified - Updated -

Issue

  • Sudo has been configured so that a user can start a script as another user (wasadmin) but it runs as root.  Is that to be expected?

root     29237 28464  0 May04 pts/2    00:00:00 sudo -u wasadmin opt/web/run_task_manager.sh

Environment

  • Red Hat Enterprise Linux 5.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content