I am trying to make a script to log in with my username directly without entering the password. The password should be entered automatically in the background, like the normal user you create in Ubuntu when you first install the OS when you sudo nano
vlad@Vlad:~$ sudo nano
[sudo] password for vlad:
I want the password to be entered automatically so I should have direct access to the editor where we make aliases.
I don't want to remove the password by any means. I want to write it in the script so it should connect automatically.