PASSWORDLESS SWITCHING TO ROOT
Tired of typing password everytime you witch to root?
Enable passwordless switching to root.
Just type following:
sudo echo "(username) ALL=(ALL) NOPASSWD:ALL" | tee - a /etc/sudoers.d/(username)
And now, when you will type
sudo -i
It goes smooth to root without asking for password.
0
0 comments
Muhammad Sufyan Ali
2
PASSWORDLESS SWITCHING TO ROOT
powered by
Linux Infrastructure Academy
skool.com/linux-infrastructure-academy-5525
Master Linux infrastructure and DevOps skills with hands-on labs, tools, and community support. Build smarter, faster, and more secure systems.