The sudo tag has no wiki summary.
5
votes
6answers
11k views
How do I open a file as root in TextEdit on Lion?
How do I open a file as root, in TextEdit? I've tried these commands as root, but TextEdit always say it's locked:
open -e /etc/apache2/httpd.conf
open -e -F /etc/apache2/httpd.conf
open -e -F -W ...
10
votes
4answers
5k views
Can sudo's annoying message be removed from Mountain Lion 10.8.0?
After the upgrade to 10.8.0, whenever I do a sudo, I always get this message:
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
I have ...
3
votes
3answers
2k views
How can I execute sudo commands as a cron job?
I'm trying to execute a shell script as a cron job. The problem is that my script needs to be run as a super user. I tried it with just writing sudo infront of the command in my crontab file, but it ...