How do I use the su command?

Updated -

The su command enables you to take the identification (and the privileges) of another user on the system without logging out.

One common use of su command is to temporarily be the root user to accomplish some task that requires root's privileges. Other common uses are to take the identification of a 'system' user.

The su command accepts seve...

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.