1
vote
2answers
1k views

su & sudo on Mac OS X 10.9/Server 3.0

I am trying to use su and sudo on my iMac that I did a fresh clean install of Mac OS X 10.9 and Server 3.0. I explicitly set the password for root with passwd root but when I try to use su or sudo ...
0
votes
2answers
1k views

what is the default path for sudo command

What is the default path of sudo command? I checked in some linux flavours and some solaris flavours, it is /usr/bin/sudo If a solaris machine is not bundled with sudo, Where it will get installed ...
0
votes
2answers
2k views

Why can I only run 'sudo node' and not just 'node'?

I just got a new macbook and installed node.js using the official installer. For some reason I can only run node.js using sudo node and not just node. I double checked the $PATH and the path to node ...
1
vote
1answer
1k views

Always required to use “sudo” in the terminal

Recently I've noticed that every time I try to use a command like "mkdir", I get "permission denied" when used without "sudo". I guess that's because I am not connected as an admin, only as far as I ...
1
vote
1answer
1k views

How to run python script on startup with sudo permission on Mac OS

I have created a script with python that basically ping all servers found in my lists. I need this script to be run on startup with sudo permission. So the question is, How do you run the script on ...
3
votes
1answer
2k views

passwordless sudo apachectl

I'd like to be able to restart apache under OS X Lion without entering a password. I tried placing this in /etc/sudoers: <User> ALL= NOPASSWD: /usr/sbin/apachectl But when I execute apachectl ...
1
vote
2answers
476 views

How to rename a directory under Mac (10.6.4) via the superuser?

This is my directory list on my NFS: macbook-pro-andrey-k:Download Andrey$ ls 1289816143_PL_t1181913 1289816171_PL_t1183807 1290117075_BFD_DVD02(Drums) I can't delete ...
1
vote
3answers
5k views

What does the sudo command do?

I have been a windows user for all of my professional life. I just got a MacBook Pro and want to get started developing with Ruby on Rails. I have run across several installation guides which ...
3
votes
2answers
4k views

Mount TrueCrypt USB device w/o sudo on Mac OS X

I made a TrueCrypt partition on a USB drive. I can mount it fine but only using admin password, either via the graphical interface or via sudo truecrypt --auto-mount=devices. This is preventing me ...