How to Get SuperUser Permission without Root in Kali Linux
Get Root Access in User Account without Typing SUDO SU (Grant Root Access)
This post was prepared for guide you how to get SuperUser permission or root access in user account without typing SUDO SU or root password.
SuperUser (or) RootUser:
In Linux, the superuser is a special user account used for system administration. Depending on Linux operating system, the actual name of this account might be root.
Only in root account you was able to make changes in default system packages.
What is SuperUser Permission (or) Grant Root Access:
In User Account you don’t have permission to make changes in system default packages (Use Thunar File Manager, it helps you). But you want to make changes, then every time you need to type SUDO SU for getting permission or root access. It was the annoying one for lot of users.
If you want to avoid to type SUDO SU every time. Then set up Grant Root Access in your user account. Follow the below steps for Grant Root Access.
How to Get SuperUser Permission?
Steps for Grant root Access:
The steps are same to all Debian Distributions.
- Install Kali-Grant-Root
- Reconfigure Kali-Grant-Root
- Edit .Bashrc
First of all you want to install Grant Root packages in your system.
So open a terminal and run the following command for installing the packages,
mk007@linuxlia:~$ sudo apt-get install kali-grant-root
Type the following dpkg command in your terminal.
mk007@linuxlia:~$ sudo dpkg-reconfigure kali-grant-root
This command execute the following menu. Here choose “Enable password-less privilege escalation” and hit enter.
Edit .Bashrc :
Open a File manager and press “Ctrl+H” for viewing Hidden Folders.
Open “.Bashrc” file in any text editor and add “sudo su” in bottom of the file.
After that, save the file.
Finally reboot your system for changes let reflect. Click the terminal icon and see the changes.
In User Account the Root Terminal was opening.
If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.