I want to run sudo as a user after changing to them from root without asking for their password or changing any settings.
Step 1: change to user, from root
Step 2: run sudo on command as that user
joseph@server:/$ sudo vim test.txt
Here I get the prompt for password.
[sudo] password for joseph:
I want to be able to bypass this prompt without having to change the users sudoers settings.
Is this possible?