How to execute all sudo commands without password

preview_player
Показать описание
***You need to consider any security consequence of allowing a sudo command execute without a password.

Some times you may need to run a command with root privileges, but you do not want to type a password using sudo command. This can be achieved by editing /etc/sudoers file.

sudo visudo
your_username ALL=(ALL) NOPASSWD:ALL
For ex- mayur ALL=(ALL) NOPASSWD:ALL
mayur is my username

Subscribe our channel for more tech stuff.
Рекомендации по теме
Комментарии
Автор

Thank you so much for making this video. It helped me a lot. I am struggling to solve this from around 3 days. It got solved by performing the steps you shown in this video.❤

MEGHANANAMBURU
Автор

Might as well be logged in as root, bad security practice

jordanh
Автор

root name will be ec2 instance name or dockerhub name?

radheyazunjur
join shbcf.ru