Questions tagged [mac-osx]

Mac OS X is an operating system from Apple Inc. It was the successor to Mac OS 9 and here the 'X' means 10. Mac OS X is based upon the NeXTSTEP and OpenStep OSes developed in the 1980s and 1990s by NeXT Inc., which Apple purchased in 1996.

Mac OS X consists of a Mach/BSD-based kernel, userland primarily based on FreeBSD, and additional frameworks (written in C, C++ and Objective-C) providing user interface and application-level services.

2425 questions
8
votes
1 answer

How to add a Mac to Windows Active Directory

I've gone into the Directory Utility on the mac, clicked on the services tab, entered the Active Directory Domain and Computer ID, clicked the Bind button and it showed a little status label which flickered through 5 of 5 steps and then said "An…
CodeAndCats
  • 183
  • 1
  • 2
  • 4
8
votes
1 answer

Should /usr/local/bin be owned by root?

Package manager Homebrew (I'm on OS X, but I'm curious about Unix-based security in general, as it pertains to directory permissions) set the owner of /usr/local/bin to my user (it's root by default, right?), which means that now I can install…
orokusaki
  • 2,763
  • 4
  • 32
  • 43
8
votes
4 answers

Getting 'ERR_CONNECTION_REFUSED' when trying to browse port mapped to Docker container

I have pulled a Docker image: $ docker pull ghost And run a container from the image: $ docker run --name test-ghost -p 8080:2368 -d ghost 7d984e974f6a75fe18b3d397b5c8f0a428928a2be9df83f0d61a679aa5f537fc My understanding is that the -p switch will…
jonathanconway
  • 567
  • 5
  • 7
  • 18
8
votes
2 answers

Processes hanging indefinitely when reading from network connections

An update to the below: I have experienced a similar problem on an unrelated script, on a Debian virtual machine in a different datacentre. This looks suspiciously like the issue described here (and like the person asking that question, I do not…
8
votes
14 answers

What are some informative and useful shell prompts? (Bash, csh, ksh, etc.)

One of my favorite Mac OS X Terminal tips involves adding the last running process into the terminal title using the following code in your .bashrc. trap 'printf "\033]0; `history 1 | cut -b8-` \007"' DEBUG Now I'm looking to customize my Bash…
Dave K
  • 2,751
  • 2
  • 21
  • 17
8
votes
3 answers

OS X: What does the '@' attribute on a file mean?

On a Snow Leopard machine, at the Terminal: la ~/src/rmcl/ | grep RMCL -rw-r--r--@ 1 claytonstanley staff 6766167 Nov 13 2009 RMCL What is that '@' attribute? This file is part of an older OS X program that runs under Rosetta. I'm having…
Clayton Stanley
  • 183
  • 1
  • 6
8
votes
2 answers

Modifying kernel shared memory settings on a lion install

What's the location of the sysctl.conf file on lion? In Snow Leopard it was in /etc/sysctl.conf but now that folder doesn't contain it anymore. Searching for the file in spotlight yields no results. Have the shared memory settings been moved to a…
8
votes
2 answers

What the heck is really going on in these Lion LDAP vulnerability reports?

Just read a Slashdot thread on LDAP brokenness on OSX. Can anyone explain exactly what is being secured by OpenLDAP and why anything other than data stored on a Lion machine might be at risk? A quote from the article: “As pen testers, one of the…
jldugger
  • 14,342
  • 20
  • 77
  • 129
8
votes
1 answer

Multicast hostname lookups on OSX

I have a problem with hostname lookups on my OSX computer. According to Apple's HK3473 document it says for v10.6: Host names that contain only one label in addition to local, for example "My-Computer.local", are resolved using Multicast DNS…
KARASZI István
  • 217
  • 3
  • 13
8
votes
4 answers

Disabling Apache on Mac OS X

On my Mac OS X, Web Sharing is disabled in System Preferences -> Sharing -> Services -> "Personal Web Sharing". Still, when I type "localhost" in the browser, I get the "It works!" message, meaning that Apache is still running. How do I disable…
amateur barista
  • 498
  • 3
  • 7
  • 21
8
votes
7 answers

Unencrypted equivalent of SSH reverse proxy

I'm looking for an equivalent of this: ssh -R 8888:10.0.0.2:8888 100.101.102.103 ie. make the service running on port 8888 on the local machine (10.0.0.2) look like a locally running service on a remote machine (100.101.102.103). However, I don't…
user9626
8
votes
3 answers

How to fix OSX client to Windows share hangs?

I have 2 x MacBook Pro's (OSX 10.6.7) that access files stored on a 64-bit and a 32-bit Windows 7 PC. The MBP clients can connect to the Windows shares and transfer files with no problem. However, after a day or so, the shares become unresponsive.…
John McC
  • 918
  • 1
  • 7
  • 15
8
votes
2 answers

Why is the mysql client utility not using the port I specify?

I'm trying to use mysql (command line utility) to connect to MySQL server through SSH tunnel. The problem is this MySQL client won't use my specified port. For example, I ran this: $ mysql -uroot --port=1234 And it then just connected to port…
Phuong Nguyen
  • 703
  • 1
  • 12
  • 27
8
votes
7 answers

Run the same command in several servers with SSH from MacOSX

Is there some program to run the same command in several servers with SSH from MacOSX?
Pablo Fernandez
  • 7,438
  • 25
  • 71
  • 83
8
votes
9 answers

Defragmenters useful for *nix?

Having come from a windows enviroment, I was curious if defragmenters are useful in *nix. More specifically, OS X.
GeoffreyF67
  • 497
  • 2
  • 7
  • 14