Tagged: sudo

0

“-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...

0

What Does “sudo apt-get update” do?

We have examined the apt-get  and its sub commands in a detailed manner previously. apt-get  is used to manage installed packages in a Linux distribution like Ubuntu, Debian, Mint, Kali etc. Here we will look simply sudo apt-get update  and related commands to update a deb based Linux distribution. For...

1

Linux Chroot Command Tutorial with Examples

Linux provides different mechanisms for practical and security reasons. chroot is one of them. Processes in linux can access to the file system or root by default. Linux kernel also provides chroot mechanism to restrict access to the whole filesystem in Linux. Syntax The chroot syntax is like below.

OPTION is chroot...

0

What is chmod 777

chmod 777 is very popular ownership command. 777 simply means give all rights to the all users. chmod 777 generally used to make operations more smoothly because it will remove all ownership related problems. We generally use chmod 777 some error message like below.

All Files and Directories Recursively One of the most...

1

Linux Sudo Command Tutorial with Examples To Get Root Privileges

Linux sudo command is used to give root privileges to the normal users . /etc/sudoers file is used for configuration of sudo . Sudoers file provides the users who can run sudo command. Sudoers also used to limit the commands the user can run. Run Command With Sudo Sudo command will accept given command and...

0

Linux Su Command Tutorial With Examples

The su short for substitute 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...

0

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

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 sudo command is used to elevate user privileges. Generally used to run commands as root user. Commands issued...

Enjoy this blog? Please spread the word :)