Hello Everyone,
I have a question about how to give sudo privileges to a user that log in via public key without password.
I created a normal user and I added this user to the "visudo" folder with ALL privileges.
when the user is logged in the system via public key and the user wants to become a root, a password is requested but i don't want to type the password.
Also to add the public key to the root it is not possible because i track the user log in in the system and if they log via root i cannot do that.
Thank you in advance.