como executar esses comandos ao iniciar no i3wm sem pedir a senha? Can anyone help me how to run commands when starting in i3wm without asking for the password? #6014
-
vim .config/i3/config exec --no-startup-id alacritty -e sudo apt autoremove como executar esses comandos ao iniciar no i3wm sem pedir a senha? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You need to configure sudo to not ask for a password. Hint: use |
Beta Was this translation helpful? Give feedback.
-
Problem resolved successfully! I would like to thank my colleagues who were willing to help with this matter! Gratitude!! |
Beta Was this translation helpful? Give feedback.
You can use this boilerplate. I allow users in the sudoers group to do safe operations without a password. There is a potentially unsafe bit with dist-upgrades (full-upgrades), but since I feel my people have knowledge, I also allow this to be passwordless. Anything else requires a password. Feel free to change it to your liking.