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

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.