Tag: sudo

What Is sudo rm -rf in Linux and Is It Dangerous?

October 19, 2022

The sudo rm -rf command removes a non-empty file directory with elevated permissions. But is there any danger to using this command? Find out by reading this article.

Read more

How to List Users in Linux

August 4, 2022

Linux OS is unique because of its multiuser characteristic. It allows multiple users on one system, at the same time. In such circumstances, it is essential to be able to track all the users. In this how-to article, you will learn how to list users along with their login information. These commands should work on Centos/Ubuntu/Arch and other Linux distros as well.

Read more

How to Use the sudo Command in Linux

August 18, 2020

sudo stands for SuperUser DO, and it’s used to temporarily elevate privileges in Linux. This guide will show you several ways that sudo command can be used.

Read more

The Difference Between sudo and su Explained

August 3, 2020

Learn when to use the su command and when to use the sudo command. While su is mostly used for account switching, sudo is utilized for executing commands that require root privileges. Find out more about SU vs. SUDO in this in-depth comparison.

Read more

How to Use the su Command in Linux with Examples

January 7, 2020

Learn how to use the su command with practical examples and explanations. Change users in the terminal window or switch to the root in a single step. This article tells you all you need to know about su.

Read more

How to Create a Sudo User on Debian

April 22, 2019

Sudo stands for superuser do. Sudo is a command used in Unix-like systems to allow a regular user to execute a program as another user. In most cases, it is the root user. Sudo gives you administrator-level permissions to run programs on your machine. This guide will show you how to create a user with sudo privileges on Debian and test the sudo access.

Read more

How to Change Sudo or Root Password in Ubuntu

April 10, 2019

Are you looking to change the root password in Ubuntu? Changing passwords is a good practice and should be done periodically. Linux allows multiple user accounts, each having its own password. Users can only change their own password. However, there is always a sudo/root (SuperUser) account. Root users can change the password of any account, including their own.

Read more

How To Add User To Sudoers & Add User To Sudo Group on Ubuntu

March 19, 2019

The sudo command is the preferred means to handle elevated permissions. Standard user accounts are restricted from performing sensitive tasks, such as viewing the contents of the /root directory. This prevents the accidental use of commands with massive consequences. It also makes it more difficult for intruders to compromise a system. If you need to run an administrative command. Sudo – or Super User Do – grants you privileges to run sensitive tasks. The sudo command will grant elevated permissions for 15 minutes. This guide will show you how to create a new user on Ubuntu and provide sudo access.

Read more

How To Add User to Sudoers & Add User to Sudo Group on CentOS 7

December 5, 2018

This guide will walk you through the steps to create or add a sudo user on CentOS 7. The “sudo” command stands for “Super User DO,” and temporarily elevates the privileges of a regular user for administrative tasks.

Read more