Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 466 Bytes

root_account_and_sudo_commands.md

File metadata and controls

5 lines (3 loc) · 466 Bytes

The Root Account and the sudo and su Commands

The Photon OS Administration Guide assumes that you are logged in to Photon OS with the root account and running commands as root. The sudo program contains the full version of Photon OS.

On the minimal version, you must install sudo with tdnf if you want to use it. As an alternative to installing sudo, to run commands that require root privileges you can switch users as needed with the su command.