How make your user permanet root for a shell session

PHOTO EMBED

Thu Oct 06 2022 22:52:08 GMT+0000 (UTC)

Saved by @DiegoEraso #bash

sudo -s
# as request the sistem going to ask for a password
visudo
# then use the combination SHIFT + i to open de INSERT mode and add:
# username ALL=(ALL) NOPASSWD: ALL
# to save and exit pres ESC + :wq


content_copyCOPY

Search for commands to Vim editor https://www.educba.com/vim-command-in-linux/

https://unix.stackexchange.com/questions/276474/how-can-i-execute-any-command-as-a-normal-user-without-sudo