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.

Filter by
Sorted by
Tagged with
86
votes
6answers
166k views

How do I create user accounts from the Terminal in Mac OS X 10.5?

I would like to be able to create new users in Mac OS X 10.5 remotely after ssh'ing into the machine. How do I do this?
0
votes
1answer
2k views

Event ID 1340 - DNS registration for DHCPv4 Client & DHCID has been denied (DHCP Name Protection)

Event ID 1340 warnings are consistently being logged on a Server 2012 R2 domain controller in the System log whenever Apple/Mac clients connect to the network. Here's a log example: Log Name: ...
0
votes
1answer
2k views

How to redirect VPN traffic on OS X

I have following problem: I need to connect to VPN and access specific resources (ip addresses). When I connect to VPN all network traffic goes through VPN but in fact I need only specific ...
3
votes
1answer
2k views

Running Gitlab CI runner with Docker on OS X as service

I have a Mac Pro 2012 (OS X 10.11) which I'm using as a server, set up with Docker for OS X and the official gitlab CI runner installed according to https://docs.gitlab.com/runner/install/osx.html. ...
2
votes
1answer
2k views

OpenSwan (IPSEC) on Fedora 13 with Snow Leopard as a client

I recently installed OpenSwan on my Fedora 13 machine. I want to use it to connect with Mac OS X with L2TP over IPSEC, unfortunately I am already stuck on the IPSEC-negotation part. My server is ...
0
votes
1answer
92 views

How to send a request to a server that is on the same VPN network

I have setup an algo server on Digital Ocean (running Ubuntu), have sshed into it, and wrote a small http server that accepts requests and returns "hello world". I have successfully connected my ...
0
votes
1answer
4k views

PEM_read_PrivateKey failed

I'm trying to use ssh to log in to AWS from OSX Mavericks and having a hell of a time. I enter: ssh -i ~/.ssh/filename.pem ec2-user@ec2-xx-x-xxx-xx.compute-1.amazonaws.com -v And I get this, as well ...
2
votes
1answer
963 views

Remote Desktop Connection for Mac cannot log in to Windows Terminal Server if user's password expired

We have users that connect to a terminal server, TS1, from a variety of desktop clients. We also have a domain password policy that expires passwords after a certain amount of time. If a user's ...
8
votes
4answers
19k views

how to silently install .dmg in MacOS?

I have a .dmg MacOS package (with 'continue' buttons, EULA etc) that i need to install on multiple computers. Is it a way to do so silently via a bash/python/ruby/etc script just like silent MSI ...
0
votes
2answers
1k views

How to increase the disk write buffer for rsync on Mac OS X?

I have to copy some TB of data from one external drive to another (mostly ~400 MB files). The source is NTFS-formatted USB2 and the best read speed I can get from it is 7MB/s. The target is HFS+ USB3 ...
1
vote
1answer
1k views

Startup and Shutdown JIRA automatically on OS X

Just wondering what the proper OSX way to start up and shut down a (standalone) JIRA installation on automatically (on power on and shutdown respectively) would be please? Would prefer to avoid ...
0
votes
1answer
987 views

Samba config and Mac OS X mounting

I'm aware that his question should maybe be posted on SuperUser. But as it probably has something to do with the Samba server, i'm posting it here. I'm trying to mount one of my Samba shares in Mac ...
1
vote
1answer
1k views

How do I delete route to “link#8” gateway on MacOS?

How do I delete default route of "link#8" gateway on MacOS El Capitan? It's a route automaticaly added after connecting to IPSec VPN. $ netstat -rn Routing tables Internet: Destination ...
1
vote
1answer
991 views

How to configure Nginx to support PHP-FPM on Mac OS X

I am making a website with a contact form, and I want to use PHP. The website is hosted on my simple local server using NGINX. I know NGINX uses FastCGI and PHP-FPM, but being new to this, I'm not ...
1
vote
1answer
1k views

Samba shares empty and not writeable when browsing OS X 10.8

When I mount a Samba share it works, but it doesn't show me any files, even though they exist on the server, I also cannot write files to the share either. The server is CentOS 6.4, running Samba. ...
0
votes
2answers
1k views

Where is the samba name “workstation” coming from?

The output of smbstatus running on OS X Mavericks with the latest Server app installed (but with native SMB shut down in favor of the Samba implementation from Homebrew) contains many entries like ...
0
votes
1answer
1k views

launchd as watchdog

Can launchd on OSX (specifically Mountain Lion) be configured to work like watchdog, monitoring processes, after having launched them, to keep them alive? If so, how?
51
votes
8answers
128k views

How to restart Nginx on Mac OS X?

I just installed Nginx on Mac OS X (thanks http://www.kevinworthington.com/nginx-mac-os-snow-leopard-2-minutes/), but how do I restart Nginx on Mac OS X? Thanks!
0
votes
0answers
8 views

macOS/iOS Mail App — Unable to Send As O365 Distribution List

One of our customers has "Send As" permission granted on an O365 distribution list. On OWA and in the Windows desktop version of Outlook, they are able to modify their "From" field to send as the DL ...
0
votes
0answers
6 views

Brew - sshpass security [migrated]

i come from linux and i know that for automatize shh logins we can use sshpass. Looking for the sshpass command on MacOS i get this message: machine0:~ roberto$ brew search sshpass We won't add ...
0
votes
0answers
15 views

OSx devices not sending DHCP request after receiving offer

So I have two OSX devices which are both getting a 169.254.0.0 address on a VLAN. I have tested the same ethernet ports with a Windows laptop and that is getting a proper 192.168.12.x address. The ...
2
votes
1answer
968 views

Redirection of pfctl on OSX gets error

I want all my traffics are redirected to SOCKS proxy on 127.0.0.1:1080. I added the rule below to the end of /etc/pf.conf according to this tutorial: pass on en3 proto tcp from any to any rdr-to 127....
1
vote
1answer
1k views

Do you need to advertise an AFP service via Avahi for an Ubuntu Server to show up in OSX Finder?

I am only advertising an NFS share plus the "model", and I don't want to install extra services on the Server unless I have to, ie netatalk, as it is used solely for NFS exports. Currently there is ...
0
votes
1answer
1k views

Cant see Shared Macs over PPTP VPN (OS X)

I have setup a PPTP VPN using a DD-WRT router which is functioning fine. I can ping internet to external and external to internal. I have also tested file sharing over AFP and SMB with success. My ...
1
vote
1answer
28 views

File exists when pushing route with OpenVPN

I am trying to configure OpenVPN for access to a remote network (192.168.1.0/24) which is the same as my local network. Because of this I have added the following to the server config to force traffic ...
0
votes
1answer
1k views

LDAP configuration for Mac server

We just migrated our php webapps to a new web server (Mac OS X 10.9.5). We are having trouble with ldap logins to the webapps. We are able to successfully connect to a remote ldap server, but when we ...
0
votes
1answer
329 views

How is it possible for rm to throw “not a directory” and “is a directory errors”?

I got a strange error the other day. Attempting to rm -rf nav/ a directory threw "not a directory", but trying to rm nav errored with "is a directory". How is this possible? (source: zastica.com)
1
vote
1answer
1k views

Accessing VirtualBox with libvirt from a guest

I have installed libvirt on OSX, and from outside a virtualbox I can access it using virsh no problem. However, I want to access it from inside a guest, and this is giving me the hopelessly useless ...
4
votes
7answers
1k views

How is it possible I can ssh to a machine from windows, but not my mac?

I'm at work right now and my colleagues prepared a Debian server for me and left. Now I just found out that I can ssh into it using PuTTY from a Windows (XP) box just fine (no Linux machines here, ...
27
votes
6answers
43k views

How to reclaim all/most free space from a sparsebundle on OS X

Is there a possibility to "defragmentize" a sparse bundle image and reclaim (most) of the free space? Here is the background: I am using sparse bundles and every now and then I want to reclaim space ...
5
votes
3answers
1k views

OSX mojave: “crontab: tmp/tmp.X: Operation not permitted”

After updating my OSX to Mojave, it seems I am no longer able to edit my crontab. Any attempt to do so results in the error message on the title of this question. I tracked crontab to /private/var/at ...
4
votes
3answers
6k views

How does Windows resolve hostnames without DNS?

I have a Windows 7 computer and a MacOS X 10.6 computer that are connected to the same LAN using a 10$ hub. On MacOS I set the computer name to "mymac.local" in "preferences->sharing". The Windows ...
1
vote
1answer
1k views

How to rsync to a server using ssh keys

I'm running on a Mac, and I want to set up a crontab to rsync from my VPS on a weekly basis to grab some backup archives. I'm using ssh keys (no passwords allowed on the VPS), and normally I can ssh ...
1
vote
1answer
1k views

Copying files from OSX to samba, force create mode not working

I have a problem whereby I have set up a samba share with these parrameters: [Design] path = "/sec/projects/design" writeable = yes browsable = yes valid users = @design force group = design force ...
8
votes
2answers
1k views

Unable to bind OSX 10.9 to Active Directory 2008

I am struggling to bind OSX 10.9 to a 2008 r2 Active Directory. I can join the domain fine when I boot into Windows from the same machine. From OSX I can find the domain controller successfully and ...
0
votes
1answer
1k views

Restarting audit on El Capitan

I want to monitor process startup on El Capitan. Darwin MaeLucirdosiMac.home 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64 Below is ...
7
votes
7answers
11k views

Run the same command in several servers with SSH from MacOSX [closed]

Is there some program to run the same command in several servers with SSH from MacOSX?
1
vote
3answers
3k views

edit text file in zip folder on mac os x [closed]

I have a zip folder structure which is read as a plugin from a server system. I need to edit some text files inside these zip folders, but extracting editing packing is tedious and error-prone. ...
6
votes
2answers
1k views

What is a safe way to back up a sparsebundle that is exported via afpd?

I work with a number of OSX client machines that back up via TimeMachine to AFP shares on an Ubuntu Linux file server, exported by netatalk/afpd. These clients back up at arbitrary times of the day, ...
0
votes
1answer
1k views

OSX Snow Leopard - Multiple httpd/apache instances for PHP 5.2 & 5.3 together

I need to run Apache with both php 5.2 and 5.3, without other webservers such as nginx, lighttpd, etc. Just Apache HTTPD. The easiest way to have both PHP 5.2 and PHP 5.3 on Apache, on the same ...
0
votes
0answers
83 views

TunnelBlick resetting connection on mac

I am trying to connect to vpn on macOS High Siera 10.13.6 using tunnelblick. I have added configuration file and whenever i try to connect it gets connected for 5 secs and then starts reconnecting. ...
7
votes
2answers
7k views

pkg-config on Mac Doesn't find Libraries

I have been installing a bunch of libraries lately from the GNOME sources on Mac. They use pkg-config. Every time I run a configure, it complains that it can't find library XYZ, which I installed to /...
0
votes
0answers
111 views

Wireguard Server configuration on macOS Mojave 10.14 - LAN routing

Crosspost from my question on Ask Different - thought I might get more relevant experience here. I'm trying to set up Wireguard as a VPN to access my home LAN devices while on the road, and also to ...
3
votes
1answer
1k views

What NIS maps are needed for OSX 10.6 to authenticate?

What NIS maps are necessary for OSX 10.6 to authenticate? I have an ubuntu-sever sharing NIS, and from the OSX client, ypcat passwd, ypcat group and (as root) ypcat shadow.byname all work, and return ...
0
votes
2answers
1k views

How to reload AppleFileServer without unloading it?

I am using this commands to restart my AppleFileServer for sharing. But how I can reload it, without killing, or unloading it? sudo killall DirectoryService sudo AppleFileServer sudo launchctl ...
1
vote
1answer
1k views

Why can't I change document root in apache without error?

I'm trying to change my document root in apache so I can start a new project and keep an old one available so I can reference the files. Whenever I try to change the document root, though, I get a 403 ...
3
votes
3answers
1k views

How can one redirect to a new host all traffic destined for an old host?

We're moving a bunch of services, say from 1.2.3.4 to 5.6.7.8. In order to test that the new services are correctly configured, we'd like to redirect (to the new host) all traffic destined for the ...
4
votes
1answer
1k views

Is it possible to ignore a missing PAM module?

I am configuring yubico-pam to enable passwordless sudo access using challenge-response from a Yubikey. The following works: # /etc/pam.d/sudo auth sufficient pam_yubico.so mode=challenge-...
0
votes
1answer
1k views

MySQL doesn't start: touch: ./data/mysql/xxx.local.err: No such file or directory

My OS is OS X, I installed MySQL Percona via brew. Error log of MySQL was /usr/local/var/mysql/xxx.local.err. After that I tried to run mysql_install_db and rebooted machine. OK, but now I see see in ...
0
votes
1answer
50 views

Can't access K8S cluster IP of Kind cluster running on macOS

I have created a K8S cluster on a macOS machine using kind. I have an echo-service running on that cluster that I can access on localhost when kubectl port-forward svc/echo-service 7893:7893 is ...