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, 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