Tagged Questions
1
vote
2answers
11 views
Is there a way to set an Application Shortcut in the Keyboard Preference Pane via Terminal?
I'd like to have a bootstrap for my custom keyboard shortcuts to use on multiple machines...
1
vote
2answers
59 views
Password problems changing users in Terminal
I'd like to switch between the default user in Terminal and the user 'postgres', created when I installed PostgreSQL 9.2.
If I type su postgres, I'm prompted for a password that I don't know and ...
1
vote
0answers
300 views
My MBP (13 inch, MID 2010) will not start up
I have used the internet for the past 2 weeks in search of something that will help me troubleshoot/repair my MBP. It wont boot in Safe Mode using the SHIFT key. Following is everything I have tried ...
1
vote
2answers
137 views
Terminal returns not found for most commands Mac OSX
I'm really new to Mac OSX and UNIX based systems. I wanted to run a few Windows games on my Mac Mini so I started installing Wine and MacPorts.
Having done so, I typed in sudo port install wine and ...
3
votes
3answers
77 views
After typing sudo I can no longer autocomplete commands by pressing Tab
In a Terminal, if I type beginning of any command by pressing tab I can see the rest of that command.
However this feature does not work with any words I type after sudo.
How can I complete command ...
3
votes
1answer
177 views
whoami is not who I am!
I login into my own computer as username geoff. When I open a terminal I have as prompt:
Geoffs-MacBook-Air:~ org1$
The org1 is my work username! I have no login of that username for this computer ...
0
votes
1answer
61 views
File has different owner if examined using `sudo`
I have some files backed up on an external HD, and according to Finder they're all owned by my standard user account. According to Terminal, however, they're owned "unknown" if I look at them using ...
0
votes
0answers
278 views
How can I play a sound from the command line running as sudo?
While typing afplay danger.mp3 in the Terminal will play the .mp3, doing sudo afplay danger.mp3 or sudo su and then afplay danger.mp3 does not.
Any idea why is this? How can I use the afplay command ...
2
votes
3answers
1k views
Why does sudo ask for a password in terminal?
Why does sudo ask for a password when one can sudo su without a password and perform the same commands? Is there a way to make sudo not ask for a password when you're logged in as the an admin anyway?
...
3
votes
1answer
225 views
Can sudo use my existing aliases?
How can I let sudo use my existing aliases in my .bash_profile (or .bashrc, .profile …)?
For example I want to be able to use ll instead of ls -laGF as sudo.
10
votes
1answer
4k views
Where will the incident be reported to?
If a non-admin types a sudo command in Terminal, this will appear after they enter their password:
User is not in the sudoers file. This incident will be reported.
Where is this reported to?
1
vote
1answer
70 views
Sudo with Sidekick
Sidekick is a helpful little tool which adjusts the system settings based on geographical location.
I added an action which will execute a sudo command-line command. The problem is that the Terminal ...
0
votes
2answers
1k views
Lion Terminal remembers sudo password after quitting
I've been using Lion since its release, and I noticed today, for the first time, that Terminal did not prompt me for a password when I typed in a sudo command, if I close and reopen Terminal within ...
2
votes
2answers
2k views
Why can't I run `su`? (and how should I do?)
Whenever I try to issue su I get this:
$ su
Password:
su: Sorry
Needless to say, I'm entering the correct admin password which does work with sudo. What I want is not having to enter sudo each ...
4
votes
3answers
19k views
How do I run terminal in sudo mode?
I was trying to install npm, and I got
npm ERR! Error: EACCES, Permission denied '/usr/local/lib/node_modules'
npm ERR!
npm ERR! Please use 'sudo' or log in as root to run this command.
npm ERR!
...