sudoers

Set Password For Sudo Commands Permanently OS X

When we write scripts, we want to embed sudo command with password automatically for our username. We need to edit the hidden etc/sudoers to add (usersname is our login name). usersname ALL=(ALL) NOPASSWD: ALL        

Fix Yosemite OS X From Waking Up After 2 Hours

2014-11-23 – The method below doesn’t really work if the AC power is connected – it still reboots after a few hours. I found this fix for the RTC Alarm which works through the night with AC power on, although it has some inconvenient stuff. I used this method now. The inconvenient stuff is: 1.