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
16
votes
4 answers

How do I setup sshd on Mac OS X to only allow key-based authentication?

I have a Mac OS X machine (Mac mini running 10.5) with Remote Login enabled. I want to open the sshd port to the Internet to be able to login remotely. For security reasons I want to disable remote logins using passwords, allowing only users with a…
Christian Berg
  • 491
  • 1
  • 3
  • 8
16
votes
2 answers

Can I store OS X resource forks in a Samba share anywhere *else* than in dotbar files?

OS X resource forks are alternate streams of data attached to regular files. They may contain the file's custom icon, colored label, keywords, or any other metadata set by the user or by applications. They are natively supported by OS X's HFS+…
Tobia
  • 1,183
  • 1
  • 12
  • 20
16
votes
2 answers

How to add extended key usage string when generating a self-signed certificate using openssl

I'm using openssl on Mac OS X 10.9 to generate a self-signed certificate for Windows Server Remote Desktop Services. Using the command below I can generate the certificate, openssl req -x509 -nodes -days 365 -newkey rsa:4096 -keyout…
joshu
  • 791
  • 3
  • 12
  • 28
16
votes
5 answers

Why does my ssh timeout vary with network location?

When I'm ssh'ed into one of our office servers (which run Fedora 10) from home, my session times out after a fairly short period of activity (5 minutes or so). I've tried using TcpKeepAlive on the client side, to no effect. The thing I don't…
gareth_bowles
  • 9,127
  • 9
  • 34
  • 42
16
votes
2 answers

What does the "@" sign mean in ls -l output?

I have this output on MacOSX: $ ls -l total 40 -rwxr-xr-x@ 1 levente staff 52 30 Sep 15:38 pl -rwxr-xr-x 1 levente staff 675 14 Feb 17:07 plplay -rwxr-xr-x@ 1 levente staff 662 26 Jan 14:13 plstart -rwxr-xr-x@ 1 levente staff 296 1 Dec…
Leventix
  • 263
  • 2
  • 6
16
votes
4 answers

How to check TCP timeout in linux / macos?

I have a network problem on my MacOS that i need to troubleshoot. I know that TCP socket has internal timeout that will close connection if remote party is not responding (but no graceful disconnect either). Is it any command/tool i can use to check…
grigoryvp
  • 3,655
  • 11
  • 39
  • 59
16
votes
4 answers

How do I copy ACLs on Mac OS X?

Most unix derivates can copy ACLs from one file to another with: getfacl filename1 | setfacl -f - filename2 Unfortunately Mac OS X does not have the getfacl and setfacl commands, as they have rolled ACL handling into chmod. chmod -E accepts a list…
MagerValp
  • 311
  • 1
  • 3
  • 9
16
votes
4 answers

How to check if Emacs is in GUI mode (and execute `tool-bar-mode` only then)?

I have this line in my .emacs file: (tool-bar-mode 0) because I hate the toolbars in my GUI emacs (/Applications/Emacs.app/Contents/MacOS/Emacs). But when I start up my other, text-based emacs in the terminal (/opt/local/bin/emacs) it complains…
user9474
  • 2,448
  • 2
  • 25
  • 26
16
votes
7 answers

How do I change the Software Update server address on a client Mac (to use my own server)?

Now that I have started the Software Update service on my Leopard Server, how do I change my client Macs to check for updates on it?
username
  • 4,755
  • 19
  • 55
  • 78
15
votes
3 answers

MacOS clients sporadically disconnect from WPA Enterprise wireless network

We have a small office with ~20 people, each using a MacBook, and optionally connecting with a mobile phone too. Previously we used usual Wi-Fi with a shared key, but recently I reconfigured it to WPA Enterprise, where all users received their own…
Vlad Nikiforov
  • 453
  • 6
  • 15
15
votes
3 answers

MySQL access denied error when connecting via SSH tunnel

For months I've been connecting to the MySQL instance running on our local test server through an SSH tunnel without any issues. All of sudden though, with no changes I can think of, the server has started rejecting the log in attempt from Sequel…
Adam
  • 253
  • 1
  • 2
  • 7
15
votes
3 answers

Puppet and launchd services?

We have a production environment configured with Puppet, and want to be able to set up a similar environment on our development machines: a mix of Red Hats, Ubuntus and OSX. As might be expected, OSX is the odd man out here, and sadly, I'm having a…
Joel Westberg
  • 201
  • 2
  • 5
15
votes
2 answers

Improving SSHFS performance when reflecting changes in host directory

I have an SSHFS mount from a Ubuntu Server VM guest, mounting a host Mac OS X directory. Changes made directly in the Mac OS X host directory take approx 5 - 10 seconds to reflect in the Ubuntu Server VM guest mount. I am using the following…
chattsm
  • 329
  • 2
  • 3
  • 7
15
votes
6 answers

What is the OS X / BSD equivalent of the GNU "ps auxf" command?

In the GNU utils, ps auxf gives the process list with forest (tree). Is there a equivalent for this command at BSD / OS X systems?
vdboor
  • 3,800
  • 3
  • 31
  • 32
15
votes
2 answers

Running Mac OS X on Hyper-V

I have my workstation setup with a Windows Server 2008 running Hyper-V. Now I really want to install OS X for testing purposes. Have anyone had any success running Mac OS X in an Hyper-V environment? Thanks
Thomas
  • 181
  • 1
  • 1
  • 5