35

You can enable bash shell completion by installing bash-completion via brew: brew install bash-completion Then add the following to your ~/.bash_profile: if [ -f $(brew --prefix)/etc/bash_completion ]; then . $(brew --prefix)/etc/bash_completion fi Source (Edit: brew tap homebrew/completions is deprecated as of 2018.)


27

To disable password authentication you need to edit /etc/sshd_config. In Terminal: sudo vim /etc/sshd_config (or replace with your favourite editor) Look for the line: #ChallengeResponseAuthentication yes And change it to: ChallengeResponseAuthentication no That is, remove the # at the beginning, and change yes to no. All subsequent ssh logins will ...


21

This seems to be exactly what you are looking for: LaunchControl


15

I assume the shell of your Mac is bash. You need to complete ssh command, for more detail you can read man complete _complete_ssh_hosts () { COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" comp_ssh_hosts=`cat ~/.ssh/known_hosts | \ cut -f 1 -d ' ' | \ sed -e s/,.*//g | \ ...


12

You should make sure that in your /etc/apache2/users/username.conf you have the following: <Directory "/Users/username/Sites/"> Options Indexes MultiViews FollowSymlinks AllowOverride All Order allow,deny Allow from all </Directory> The FollowSymlinks and AllowOverride are essential here. While you are hinting at both in your ...


12

I ran into issues where my audio controls were disabled similar to what you describe. I can't be sure it's the same issue, but in my case, killing the Core Audio process fixed it. Open up Terminal and enter this command: sudo kill -9 `ps ax | grep 'coreaudio[a-z]' | awk '{print $1}'` You'll be prompted to enter your password, but that should find and kill ...


11

I finally found the solution to this problem here: https://coderwall.com/p/h6yfda. The necessary steps are shown below: Go to Preferences, Profile, Keys. Set your left ⌥ key to act as an escape character. Locate the current shortcut for ⌥ ← or create a new one, with the following settings: Keyboard Shortcut: ⌥← Action: Send Escape Sequence Esc+: b repeat ...


10

On a shell level, the PATH variable is set in /etc/profile by calling /usr/libexec/path_helper. To add your own paths, you can add files with a path in it to /etc/paths.d/: pse@Fourecks:~$ ll /etc/paths.d total 8 -rw-r--r-- 1 root wheel 13 Jul 22 07:02 50-X11 -rw-r--r-- 1 root wheel 12 Aug 13 14:12 TeX pse@Fourecks:~$ cat /etc/paths.d/TeX /Library/...


10

Source of the problem By studying the processes spawned by InternetSharing (with the help of opensnoop and debugging shell scripts) I finally build a way to circumvent this systematic and stupid overwriting of /etc/bootpd.plist. InternetSharing creates a minimal /etc/bootpd.plist and then spawns 2 processes: /usr/libexec/bootpd /usr/libexec/natpmpd ...


9

The System Preferences appear to be stored in various places, depending on whether they are user or system specific. A lot of them are stored in either /Library/Preferences/ or $HOME/Library/Preferences/ (for per-user settings). But each preference pane will have its own way of storing them. You can see which preferences are stored this way by typing: ...


8

Lingon (MAS link) It provides a nice GUI for creating daemons/agents, without writing plist file by yourself. You can also use it to delete daemons/agents that you don't want.


8

The apple configurator doesn't currently have this option. The only workaround I've discovered so far is to register an exchange account with the iOS device using SSL. This forces the user to use a passcode, and disables the option to remove it. Now go into your exchange account settings on the iOS device, deselect "Use SSL" then go and disable the ...


8

To give a very short answer: No, this is not possible.


8

Automatically producing a script to make all the required changes is well nigh impossible. Mac system administrators spend many hours in dark bars drinking beer or bourbon and swapping bits of these files - we are reluctant to share all that work unless you are prepared to pick up the tab. Actually the easiest way to capture the config changes is to use ...


7

Go to: Preferences -> View Tab Then uncheck the bottom item labelled "Show most recent message at the top"


7

None of the other solutions worked for me right now with Apple Mail 9.3 on OS X 10.11.4. Just to make sure, my situation is as follows: I have a primary email address xyz@somedomain.com as a Google Apps account I added a domain alias otherdomain.com to that account I want to send from xyz@otherdomain.com and have the receiver see this in the "from:" field (...


7

It is not currently possible to search only undeleted notes without either emptying the Recently Deleted folder, or without locking all the notes you've deleted. Recently Deleted folder Deleted notes are placed in the Recently Deleted folder and, by default they will remain there for 30 days before they are automatically deleted. This applies to both macOS ...


6

NTPd can be configured to get time from any host. Notably many use http://www.pool.ntp.org That IP is running a ntp server with accurate time; and a http server, the page is mostly invalid HTML with Google Ads. It doesn't look terribly nefarious, so I'd guess that something else is going on here. Check your configuration and see if it's set to use that IP (...


6

The Apple Configurator was made for this exact reason: easy deployment of iOS devices in large numbers.


6

I understand the motivation behind your question. update-alternatives elegantly solves the problem of managing several installed versions of a program (for example Java) or different ports of a program (vim vs. elvis vs. vile) by making one of them the default one. update-alternatives, found in many Linux distros, creates and manages a set of symlinks from /...


5

Correct. They're sadly slow to publish this info. Try this: http://www.mactech.com/articles/mactech/Vol.21/21.02/Security/index.html Cheers!


5

I'm running Snow Leopard and my iCal Get Info command allows me to change colors. Here's a screen capture where I can make this change. To reach this window, I highlight the exchange "Calendar" in the left hand sidebar of iCal and enter Cmd I. In my iCal setup, I have "Home" (orange) "Gmail" (blue)and "Exchange" (red). I can get info and change the color ...


5

Neither MacOSX nor iOS offer to change the OS theme. If you want to do this, you need to use third party software. What MacOSX does offer, is changing the color profile and calibrate it in System Preferences -> Displays -> Color -> Calibrate. I've played around with different options and found the option "Cool bluish white" to be much easier on the eye:


5

To restore from backup connect the iPhone to your computer wait for it to appear in iTunes right-click on the iPhone listed under Devices and select "Restore from backup..." select the backup you want to restore (there may be several) Restoring will only touch user-specific content and configurations.


5

The default is on Control-left Control-right. To customize, edit preferences/Keys and associate the escape code to some other hotkey of your choice


5

This doesn't appear possible. In order to utilize email functionalities from within apps, you will have to enable the Apple Mail app. I recommend turning off all notifications for Mail if you want to use the Gmail app as your primary iPhone mail client.


5

You may want to try getting rid of the related files in /Library/LaunchDaemons and /Library/LaunchAgents. Those will all start with com.rim.*, so you can run: sudo rm /Library/LaunchDaemons/com.rim.* sudo rm /Library/LaunchAgents/com.rim.*


5

Something like that should do it: defaults write com.apple.driver.AppleBluetoothMultitouch.mouse.plist MouseOneFingerDoubleTapGesture -int 0 defaults write com.apple.driver.AppleBluetoothMultitouch.mouse.plist MouseTwoFingerDoubleTapGesture -int 3 defaults write com.apple.driver.AppleBluetoothMultitouch.mouse.plist MouseTwoFingerHorizSwipeGesture -int 2 ...


5

You have to execute this in Terminal: sudo defaults write /Library/Preferences/com.apple.RemoteManagement.plist VNCOnlyLocalConnections -bool yes


Only top voted, non community-wiki answers of a minimum length are eligible