su – POFTUT

Tagged: su

0

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

0

How to Become SuperUser or Root with su Command In Linux?

Linux provides root account as superuser or Administrator. As root account has all privileges to manage a system this may be a threat for misuse or error of administrators. We generally use normal user accounts in daily operation and change to the superuser with su  command. Root root exist all Linux systems and can not be deleted because of Linux privileges administration logic. root user has special home directory located /root and other users can...

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 Sudo For Debian, Ubuntu, Mint, Kali We can install sudo for Debian, Ubuntu, Mint and Kali related distributions for deb or apt with...

0

How to Create New User In CentOS?

CentOS is enterprise level Linux distribution which is clone of the RedHat. User management like create, add, remove etc is important part of the daily Administration tasks. In this tutorial we will look how to add new user to the CentOS system. List Current Users Before creating new user we will list existing users. We can use different methods to list existing users but following is the most practical way...

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 option NEWROOT is the new root directory COMMAND is the command we want to run in the chrooted directory Chroot Jail or...

2

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 look to the sudoers file. If the given user have right to run command with sudo the password will be...

0

How To Give Su Rigth To User In FreeBSD?

I have a FreeBSD box. I want to connect this system remotely with ssh. FreeBSD security settings are very restricted so we can not connect FreeBSD system with root user remotely. We will ssh with a regular existing user and then login as root with su command. The problem is regular existing user can not run su  command. How can we give ability to run su command to regular user in FreeBSD? su Error When...

0

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

Enjoy this blog? Please spread the word :)