########################
----------- RNX OS - Docs - Setup sudo for RNX
---------
Guide on how to give super user privilege to any user
----------- RNX OS - Setup sudo for RNX
---------
Updated on : 04/10/2021
Index - Table
first install sudo this if not installed
then run this command
su
then run this command
apt update
apt install sudo
run this command
su -l -c visudo
then enter your root password
it open command line text editor
then add below text at last of filee
replace 'rks' with your username
### awnto edits
rks ALL = NOPASSWD:ALL
#### end awnto edits
then save file
ctrl+s to save file
then
ctrl+x to close editor
then open new terminal as user
now sudo will work
That's it!
Your user has superuser privilege now!
Use "sudo" wisely 😏😏
*NOTE : BUT BE VERY CAREFUL!!!! AS SUPERUSER POWERS CAN ALSO DESTROY YOUR WHOLE SYSTEM.
SO DON'T USE ANY UNKNOWN COMMANDS WITHOUT KNOWLEDGE!!!!*
Enjoy!!
credits : Just9n55 (J9) : Contact Telegram
message me if you want to suggest something for RNX / facing any issues links are given below
----------------------------------
Youtube : Here
Twitter : Here
Instagram(Rishu) : Here
Facebook : Here
WhatsApp(Rishu) : Here
Mail : i.awnto@gmail.com
Telegram : Channnel
Telegram : Group
Telegram : Help Desk
WhatsApp : Channel
----------------------------------