Why can i put my laptop to sleep without sudo myself in a terminal, but not in a cronjob
122437
command not running in cron (systemctl suspend)
55282
Block a command from sudo user
589
How to avoid using sudo when working in /var/www?
81334
What's exactly the point of the sudo command, in terms of security?
27714
How do I drop root privileges in shell scripts?
128312
How can I keep a command I started from the shell running if I logout from the shell?
14919
How do I run a 'sudo' command inside a script?
10422
How do I use sudo to redirect output to a location I don't have permission to write to?
67217
How is sudo safer than directly using su if the user is granted access to all commands?
33749
Why should users never use normal sudo to start graphical applications?
73484
BashScript works from Terminal but not from CronTab
92250
Is there a "reverse sudo"?
51651
Why doesn't running "sudo shutdown now" shut down?
65829
How to run a command as a user whose login is disabled?
23792
How to enter password only once in a bash script needing sudo
125940
sudo with password in one command line?
82978
Why can `root` run any command as any user without providing password?