Close Menu
    Facebook X (Twitter) Instagram Pinterest WhatsApp Discord
    TechzureTechzure
    • Blog
      1. Crypto
      2. Windows
      3. View All

      How to Make an Account on Metamask

      March 20, 2023

      Crypto Testnet Faucets: How They Work and Should You Use Them?

      March 10, 2023

      Is Cryptocurrency The Future of Money?

      February 15, 2023

      Crypto and Blockchain Explained

      February 10, 2023

      RAM: The Unsung Hero Powering Modern Computing

      October 22, 2021

      Mastering the Windows Task Scheduler: Automation at Its Best

      October 11, 2021

      Unmasking Windows Driver Errors: Causes, Solutions, and Best Practices

      October 4, 2021

      Computer Storage: The Bedrock of Digital Progress

      January 3, 2021

      AI’s Societal Impact: Analysis & Adaptive Strategies

      May 26, 2025

      Smartwatch Evolution: From Timekeepers to Health Tools

      May 19, 2025

      Rise of Sophisticated Mobile Games & Monetization Models

      May 12, 2025

      How AI Enhances Gameplay with Adaptive Difficulty & NPCs

      May 5, 2025
    • Web
      1. WordPress
      2. SEO
      3. Hosting
      4. View All

      Resolve common HTTPS insecure site and mix-content warning Error

      February 3, 2020

      Backlink Breakdown: The Art and Science of Building Quality Links

      November 28, 2021

      The Power of Backlinks in SEO: A Deep Dive into Their Role, Quality, and Influence on Ranking

      November 21, 2021

      Mastering Web Design: Crafting User-Centric Experiences

      May 8, 2021

      The Role of Content in SEO: A Deep Dive into the Symbiotic Relationship

      May 3, 2021

      Building A Business With Unlimited Reseller Hosting

      March 13, 2020

      Backlink Breakdown: The Art and Science of Building Quality Links

      November 28, 2021

      The Power of Backlinks in SEO: A Deep Dive into Their Role, Quality, and Influence on Ranking

      November 21, 2021

      Understanding SSL: Ensuring Online Security

      November 12, 2021

      Streaming Wars: The Digital Transformation of Entertainment

      July 16, 2021
    • Gaming

      GTA Popularity Continues to Rising

      March 15, 2023

      Top Upcoming games and what to expect

      January 8, 2023

      Top Games of 2022

      December 7, 2022

      Play 2 Earn In Crypto

      September 3, 2022
    • News

      GTA Popularity Continues to Rising

      March 15, 2023

      The Rise of Private Trackers

      February 23, 2023

      Top Upcoming games and what to expect

      January 8, 2023

      Top Games of 2022

      December 7, 2022

      Is meta the future

      December 6, 2022
    • Reviews

      Best Grocery Shopping APP in India in 2020

      April 7, 2020
    • How-To Guides

      How to Make an Account on Metamask

      March 20, 2023

      How to Resolve Error 1923 occurs when you try to update Adobe Acrobat DC

      January 30, 2023

      How to change name pattern in Sharex

      January 24, 2023

      Maximizing Phone Battery Life: Essential Tips and Tricks

      September 21, 2021

      How to Make Money on Youtube

      August 21, 2021
    • Technology

      New Feature of Microsoft Edge: Constant Data Fetch from Chrome

      March 4, 2023

      Does NFT have a future?

      January 15, 2023

      Web3 Future

      October 4, 2022

      Understanding SSL: Ensuring Online Security

      November 12, 2021

      The Motherboard: The Heart and Soul of a Computer

      November 2, 2021
    TechzureTechzure
    Home - How-To Guides - How to switch another user to root user with Linux Commands
    How-To Guides

    How to switch another user to root user with Linux Commands

    JainBy JainApril 23, 20202 Mins Read
    Facebook Twitter WhatsApp Telegram Email Pinterest
    SWITCH TO ROOT AND ANY OTHER USER

    Linux is the first choice of developers, and sometimes newcomers often get confused with switch another user to root user.

    Linux is really Sudo (su) command is a superuser privilege which grants you to perform tasks with administration rights, su can bypass any security privileges and helps you to avoid specific security measures to install the desired programmes or to make necessary changes.

    Sometimes people face problem switching to root user and not able to perform the tasks actively. We will discuss how easy it’s to change to root user and any other user.

    Switching to root user is different depending on the distribution you’re on, for example, Ubuntu, Linux, Kubuntu, Xubuntu and Lubuntu. Here’s the command:

    sudo su

    And, If you’re on a distribution which allows you to set a root user password when you’re installing a new distribution then you can use the below command:

    su

    To understand this simply if you will run the Sudo command then you will be asked to put the password, but if you use the su you will need to enter the root password.

    To confirm which username you’re currently on type the following command:

    whoami

    Now you know about root let’s discuss other users and adapt their environment.

    Su command is powerful, and you can easily switch to any other user, it is useful if you’re testing the user-account privileges and provisioning.

    If you need to switch from root user to another user, for example, your other user is Sara then issue this command:

    su Sara

    Now whatever you do on your system will be logged under the Sara and not in the default home folder but to if you need to log in as Sara and to adapt the full environment use this command:

    su – Sara

    I hope this clarifies your fundamental doubts and please comment below if you face any problem and need to suggest something.

    linux commands root user switch to root and any other user
    Share. Facebook Twitter Pinterest Email Reddit Telegram WhatsApp
    Previous ArticleEasily remove side strip from the Video Thumbnail in Windows 10
    Next Article Few Idea to Make Money In College

    Related Posts

    Crypto

    How to Make an Account on Metamask

    March 20, 20236 Mins Read
    How-To Guides

    How to Resolve Error 1923 occurs when you try to update Adobe Acrobat DC

    January 30, 20232 Mins Read
    How-To Guides

    How to change name pattern in Sharex

    January 24, 20231 Min Read
    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Digital Marketing – The 21st century way of advertising

    July 16, 2020

    The Intricate World of Computer Chips

    February 5, 2021

    Content as the Kingpin: Fine-tuning SEO with Quality Writing and Keywords

    June 5, 2021

    Mastering Windows Task Manager: A Comprehensive Guide to System Monitoring and Optimization

    December 17, 2020

    The Rise of Private Trackers

    February 23, 2023
    • Techzure: Your Source for all things Techie Stuffs. We provide all the latest Tech, Games, Crypto news and reviews of World, Windows, Market & much more.
    Facebook X (Twitter) Pinterest Instagram RSS

    Categories

    • Blog
    • News
    • Crypto
    • How To
    • Gaming
    • Reviews
    • Technology

    Services

    • Advertise with US
    • Cookies Policy
    • Copyright
    • Newsletters
    • Sponsored News
    • Work With Us

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    © 2026 ThemeSphere. Designed by ThemeSphere.
    • Privacy Policy
    • Terms
    • Contact

    Type above and press Enter to search. Press Esc to cancel.