Tag

su

0 views collected around this technical thread.

Architecture Digest
Architecture Digest
Oct 27, 2024 · Operations

Understanding and Using su and sudo Commands in Linux

This article provides a comprehensive guide to the Linux su and sudo commands, explaining their differences, usage options such as login-shell and non-login-shell, how to switch users, set passwords, configure sudoers, and practical examples for managing user privileges securely.

System Administrationlinuxsu
0 likes · 12 min read
Understanding and Using su and sudo Commands in Linux
Efficient Ops
Efficient Ops
Oct 14, 2024 · Operations

Mastering su vs sudo: When and How to Switch Users on Linux

This guide clarifies the differences between the Linux commands su and sudo, explains their options and effects on the shell environment, shows how to create and manage users, edit the sudoers file, and choose the appropriate method for secure privilege escalation.

Privilege EscalationSystem Administrationlinux
0 likes · 14 min read
Mastering su vs sudo: When and How to Switch Users on Linux
Architect's Tech Stack
Architect's Tech Stack
Aug 11, 2023 · Operations

Understanding and Using the su and sudo Commands on Linux

This article explains the differences between the su and sudo commands, demonstrates how to create users, switch between them using login and non‑login shells, shows practical examples with code snippets, and covers sudo configuration via the /etc/sudoers file for secure privilege escalation.

Command-lineSystem Administrationlinux
0 likes · 13 min read
Understanding and Using the su and sudo Commands on Linux
Laravel Tech Community
Laravel Tech Community
Oct 12, 2021 · Operations

Understanding and Using the su and sudo Commands in Linux

This article systematically explains the differences, syntax, and practical usage of the Linux su and sudo commands, covering user creation, login shells, command‑line options, password handling, sudoers configuration, and a side‑by‑side comparison of their security implications.

System Administrationlinuxsu
0 likes · 14 min read
Understanding and Using the su and sudo Commands in Linux