User Tools

Site Tools


root

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
root [2025/01/18 08:03] – [Root and Superuser] 1211112299root [2025/01/18 08:11] (current) – 1211112299
Line 3: Line 3:
 ===== Enabling root and superuser on Debian ===== ===== Enabling root and superuser on Debian =====
 This section will show you how to enable root account and superuser on Debian. This section will show you how to enable root account and superuser on Debian.
 +-----
 1. Click on Activities on the top left corner of the screen. You can also press the Windows key as a shortcut. {{image_2025-01-16_140330413.png?nolink}} 1. Click on Activities on the top left corner of the screen. You can also press the Windows key as a shortcut. {{image_2025-01-16_140330413.png?nolink}}
  
Line 15: Line 15:
  
 5. Then, enter your user password as the Administrator's password. In my case, it is 1211112299. Once that is done, you should notice that the blue bar is gone. 5. Then, enter your user password as the Administrator's password. In my case, it is 1211112299. Once that is done, you should notice that the blue bar is gone.
- +----- 
-You have successfully enabled root and superusers on your Debian! [[Sudoers|Click this link]] to know how to add your accounts to sudo group. +You have successfully enabled root and superusers on your Debian! Click this [[Sudoers|link]] to know how to add your accounts to sudo group.
-===== Enabling root and superuser on Debian ===== +
- +
-  - Click on Activities on the top left corner of the screen. You can also press the Windows key as a shortcut. {{image_2025-01-16_140330413.png}} +
-  - Search for Settings and click on it. {{image_2025-01-16_140456909.png?100}} +
-  - On the left pane, scroll down or search for Users and click on it. {{image_2025-01-16_140517967.png}} +
-  - On the blue bar at the top of the page, click Unlock.\\ {{image_2025-01-16_140545623.png?500}} +
-  - Then, enter your user password as the Administrator's password. In my case, it is 1211112299. Once that is done, you should notice that the blue bar is gone. +
-  - Now press Activities again, and search for Terminal. Click on it. {{image_2025-01-16_140920616.png?100}} +
-  - Type ''sudo whoami'' and see the results.\\ {{image_2025-01-16_140944452.png}}\\ The user megat is not in the sudoers file, we need to change that.\\ {{image_2025-01-16_141000786.png}}  +
-  - Type ''su root'' to go into root.\\ {{image_2025-01-16_141354849.png}}\\ Notice that ''megat@vbox'' changed to ''root@vbox''.\\ {{image_2025-01-16_141422924.png}} +
-  - Type ''sudo visudo /etc/sudoers'' to edit the sudoers file.\\ {{image_2025-01-16_141612910.png}} +
-  - Search for the line ''# User privilege specification''.\\ {{image_2025-01-16_141628075.png}} +
-  - Add the line ''megat    ALL=(ALL:ALL) ALL''.\\ {{image_2025-01-16_141753705.png}} +
-  - Save the file using Ctrl + O -> Enter -> Ctrl + X. +
-  - Type ''exit'' to exit root.\\ {{image_2025-01-16_141931069.png}} +
-  - Type ''sudo whoami'' again and see the difference.\\ {{image_2025-01-16_142011640.png}} +
- +
-**Congratulations, user megat now has sudo permissions!** +
root.1737187437.txt.gz · Last modified: 2025/01/18 08:03 by 1211112299

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki