Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Tech News
  • Contact
  • Toggle search form

How to switch users in Linux

Posted on 02/11/201617/08/2026 IT Expert By IT Expert No Comments on How to switch users in Linux
  1. Home
  2. Linux
  3. How to switch users in Linux
Linux user switching

Learn how to switch users in Linux with ease. One simple method is using the ‘su’ command, allowing swift transition to the admin account within your current session. This proves helpful, particularly when the root user faces login issues via SSH or the GUI display manager. Here are some other articles relating to automatic logon: How to enable or disable automatic login on macOS, how to prevent MacBook from automatically Logging out, and Implementation of Kiosk Mode using Local Settings: Single App Kiosk Setup.

Als, see how to start an application automatically on macOS, and how to disable automatic screen lock on Ubuntu Desktop with the GUI and dconf Editor.

How to switch users in Linux on the command line using "sudo su"

Looking to enhance your Linux skills? Discover the power of Su, also known as substitute user or switch user. Learn how to switch users in Linux effectively, allowing you to execute commands with different user privileges. When using Su, you can invoke a shell without altering the working directory or the user environment.

root@test-VirtualBox:~# su test
test@test-VirtualBox:/root$

Changing to the root user

test@test-VirtualBox:/$ sudo -i

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Linux Tags:Linux distro, Ubuntu, Ubuntu 20.04 LTS

Post navigation

Previous Post: How to enable ssh via ASDM on Cisco ASA
Next Post: HA-Proxy Configuration File: Copy Between Nodes on Proxmox VE

Related Posts

  • featureunions
    How to Install Unison on Linux System Linux
  • Generate SSH Keys
    Associate SSH Public key with Azure Linux VM AWS/Azure/OpenShift
  • download
    Remove Packages from a Linux: Quick Guide Linux
  • featuredpkg
    How to solve /var/lib/dpkg/lock Error in Ubuntu Linux Linux
  • OPEN OFFICE
    How to Install Apache OpenOffice on Ubuntu  Linux
  • MV command in Linux
    Rename or Move Files or Directories in Linux with Bash Terminal Linux

More Related Articles

featureunions How to Install Unison on Linux System Linux
Generate SSH Keys Associate SSH Public key with Azure Linux VM AWS/Azure/OpenShift
download Remove Packages from a Linux: Quick Guide Linux
featuredpkg How to solve /var/lib/dpkg/lock Error in Ubuntu Linux Linux
OPEN OFFICE How to Install Apache OpenOffice on Ubuntu  Linux
MV command in Linux Rename or Move Files or Directories in Linux with Bash Terminal Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • vSwitches
    vSwitches: How to delete Virtual Switches from Hyper-V Virtualization
  • Error 0x800f0823 The specified package cannot be added to this Windows Image
    Error 0x800f0823: Wizard.hta Screen stuck during WDS Deployment Windows Server
  • Proxmox Installation
    Install Proxmox VE on a Beelink EQ12 Mini PC Virtualization
  • Windows 10 Upgrade 1 1
    Perform an in-place upgrade from Windows Server 2016 to Windows Server 2019 Windows Server
  • Devolusion RDM update e1784558877194
    Action required: Update Devolutions Remote Desktop Manager Before July 21 Tech News
  • How to fix Windows Update Fails with Error 0x80092004
    How to fix Windows Update Fails with Error 0x80092004 Windows
  • VMware Tech Showcase
    Great details on VMware Tech Showcase Virtualization
  • Upgrade the embedded PostgreSQL for Veeam Backup and replication
    How to upgrade PostgreSQL Engine used by VBR Backup

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,762 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.