How is it possible to turn off authentication everytime when pc wakes up after sleep? I'm just really tired of it, I am often closing my pc and then opening again and everytime Ubuntu requires password.. I know that my pc is used by me only and I don't need to care about my information safety. I have already turned off authentication on pc boot. Now I am talking concretically about the "Log in" state after pc sleeping.
And, if it's possible, i'd like to turn off authentication just everywhere in Ubuntu, even when you type command "sudo" in console. I really don't need to care about my information safety because I don't store any important data on my pc and it is very hard for me to type password every 5 minutes...
Really, it is impossible. If I want to install/update 30 django packages in PyCharm or if I want to install/delete apps via Application Manager I need 30 times enter this password. It is so crazy.
This worked for me.
No prompt on SUDO password.
Try edit /etc/sudoers
with visudo:
# User privilege specification
root ALL=(ALL:ALL) NOPASSWD: ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) NOPASSWD: ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
# This entry must be at the bottom to overide any of the above
your_username ALL=(ALL:ALL) NOPASSWD: ALL
^O Write Out
^X Exit
The percent sign is used to indicate a group instead of a user.
In addition, any shortcut to a program must begin with sudo to make it work, e.g Exec=sudo synaptic-pkexec.
There is no need to delete your password.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다