sudo without entering a password!
Hate entering password every time you have to do some administration work? Do this. Not a secure thing. I do this because nobody else uses my computer.
sudo vsudo
Move cursor to the following line:
%admin ALL=(ALL) ALL
Change it to %admin ALL=NOPASSWD: ALL
Press Ctrl+X
Type Y to save
Press ENTER to confirm the file name.
That's all! Now you will not be asked for your password when you sudo
.
No comments:
Post a Comment