root privileges – POFTUT

Tagged: root privileges


What Is Sudo Command in Linux?

sudo or superuser do is a utility used on Linux, BSD and Unix systems that provides the running command with root or Administrator privileges. Not every user needs to have root privileges but in some cases needs to run commands with root privileges. We can use sudo to run some specific or all provided commands and edit files with the root privileges. sudo Configuration File sudoers sudo command is configuration...


“-bash: sudo: command not found” Error and Solution For Linux, Debian, CentOS

sudo  command is used to execute command as another user. This is generally used to run command as root. In some cases we can get an error like -bash:sudo:command not found which means sudo is not installed. In this tutorial we will look different ways and distributions to solve this problem. Install Sudo For Debian, Ubuntu, Mint, Kali We can install sudo for Debian, Ubuntu, Mint and Kali related distributions for deb or apt with...


Linux Su Command Tutorial With Examples

The su short for substitute super user command using to change currently logged user.  This makes things practical because the user change made without login. Su command can be used to get root privileges too. Su and sudo commands have different ways to act for similar aims. Syntax

Man Man page of the command can be seen like below.

Help To get fast and simple help the -h parameter can...


How To Allow Normal User Run Commands As Root In Linux with sudo Command?

We have an application that needs higher privileges than normal user. This application may be run with root user. But we need to run this application with normal user with root privileges. Sudo Command sudo command is used to elevate user privileges to higher. Generally used to run commands as root user. Commands issued with sudo  are logged into /var/log/auth.log In this example we will print the /etc/shadow file which is...

Enjoy this blog? Please spread the word :)