Tagged articles
su
21 articles · Page 1 of 1
This article explains the differences between su and sudo in Linux, covering how each switches user contexts, handles passwords, manages environment variables, and when to use each for tasks like checking Nginx configuration or accessing deployment accounts.
LinuxPAMUbuntu
0 likes · 11 min read

This article explains the differences between Linux su, sudo, sudo su, and sudo -i commands, covering password requirements, environment variable handling, shell behavior, and practical usage scenarios for switching user privileges.
Linuxenvironment variablesroot
0 likes · 4 min read

This article compares the Linux su and sudo commands, explaining differences in authentication methods, permission scope, security implications, audit logging, and ideal use cases to guide administrators in selecting the right privilege escalation tool.
Linuxaudit loggingprivilege escalation
0 likes · 6 min read

The article explains how the Linux su command switches user identities using the root password, while sudo lets regular users run privileged commands with their own password, comparing their usage, security, logging, permission scope, and suitable scenarios.
Linuxprivilege escalationsu
0 likes · 6 min read

This guide explains the differences between the su and sudo commands, shows how to create and manage users, demonstrates login-shell versus non‑login-shell switching, covers the -c option for one‑off commands, and compares security implications of each method in Linux environments.
Linuxcommand-linesu
0 likes · 11 min read

This guide explains the differences between the su and sudo commands, how to create test users, switch between them using login and non‑login shells, employ the -c option, configure sudo privileges via /etc/sudoers, and choose the safest method for privilege escalation on Linux systems.
Linuxshellsu
0 likes · 14 min read

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.
Linuxsusudo
0 likes · 12 min read

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.
Linuxprivilege escalationsu
0 likes · 14 min read

This guide explains how Linux administrators can execute commands as a non‑login user by configuring sudo or using su with a custom shell, detailing step‑by‑step instructions, required sudoers entries, and important security considerations to prevent privilege misuse.
Linuxnon-login usersecurity
0 likes · 4 min read

This article explains the differences between the Linux su and sudo commands, covering how each switches user identity, their security implications, permission scopes, logging behavior, usage methods, and ideal scenarios to help you choose the right tool for privileged operations.
Linuxprivilege escalationsu
0 likes · 6 min read

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.
Linuxcommand-linesu
0 likes · 13 min read

This article compares the Linux su and sudo commands, explaining how each works, their security implications, logging behavior, usage differences, and ideal scenarios, helping users choose the appropriate tool for switching users or executing privileged operations.
Linuxprivilege escalationsu
0 likes · 6 min read

This guide explains the differences between the Linux commands su and sudo, shows how to create test users, switch between login and non‑login shells, use the -c option, configure sudo privileges with visudo, and compare security implications of each method.
Linuxsusudo
0 likes · 15 min read

This guide explains the differences between su and sudo, demonstrates how to create test users, switch between accounts using login and non‑login shells, configure sudo privileges via /etc/sudoers, and provides practical command examples for secure user management on Linux.
Linuxsusudo
0 likes · 14 min read

This tutorial explains the differences between the Linux su and sudo commands, shows how to create and manage test users, demonstrates login‑shell versus non‑login‑shell switching, and details sudo configuration with visudo to control privileged access.
Linuxcommand-linesu
0 likes · 16 min read

This article explains the differences between the su and sudo commands, shows how to create test users, demonstrates login‑shell and non‑login‑shell switches, covers the -c option, details sudo’s permission model via /etc/sudoers, and provides a side‑by‑side comparison with practical code examples.
Linuxsusudo
0 likes · 15 min read


ITPUBOct 21, 2021 · Operations
This article clarifies the distinct purposes and usage patterns of the Linux commands su and sudo, explains their parameters such as '-' and '-c', demonstrates user creation, password setting, environment differences between login and non‑login shells, and shows how to configure sudo privileges safely.
Linuxshellsu
0 likes · 15 min read

This article systematically explains the differences between the Linux commands su and sudo, covering preparation steps, usage patterns, parameter effects, practical examples, sudoers configuration, and security considerations to help readers confidently manage user switching and privilege escalation.
Linuxsusudo
0 likes · 15 min read

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.
Linuxsusudo
0 likes · 14 min read


ITPUBSep 17, 2020 · Operations
This article explains how sudo and su differ in password requirements, default behavior, scope of privilege elevation, environment handling, and usage syntax, providing clear examples and guidance for choosing the appropriate command in Linux system administration.
Linuxcommand-linesu
0 likes · 5 min read

This guide explains the key differences between sudo and su on Linux, covering password requirements, default behaviors, environment handling, command syntax variations, and practical usage tips for switching users or executing privileged commands safely.
Linuxsusudo
0 likes · 5 min read
