Tag Info

New answers tagged

1

The ; and && are interpreted by bash on the local machine. You can see this by running ssh 127.0.0.1 -t env && env: the second time, there will be no SSH_CONNECTION variable. You can quote the entire command to get it to work properly: ssh -t $host 'sudo softwareupdate -ia && sudo shutdown -r now' In my opinion, -t should only ...


0

I am not sure about the reboot issue, but setting up a script to run sudo commands without inputting the password is fairly easy. Take a look at Step 4 of this answer I previously wrote (it was for something else entirely, but the steps to enable running sudo without a password are universal). Note that actual command to run your script will change to sudo ...


0

I think what you are asking is how to enable (network) "Home Directories". Workstations need to be connected via Gigabit Ethernet for this to work well. For laptops, use "Portable Home Directories" over a robust Wi-Fi network (or Ethernet) Yes, you can use any (direct-attched) storage device, though for 40TB, I would recommend a RAID over Thunderbolt (2 if ...


0

Shutting off the Network Configuration (change) alert is the equivalent of putting electrical tape over the "Check Engine" indicator on your car. You are simply ignoring a an important warning. Changing the IP address or the hostname on OS X server has always been a bad idea. Both are foundational to Open Directory working properly, just for one important ...


0

OS X Server allows you to set up file share points using the WebDAV protocol. This in turn allows iOS apps that support WebDAV access the files on the share point. Since iOS doesn't allow the user to browse the device file system, there is no way to upload or download arbitrary files just on the device. However, within an app that supports WebDAV, you can ...


1

If you're configuring VirtualHosts using Server.app, it will always set SSLProxyProtocol -ALL +SSLv3 +TLSv1 in your site configs. You can edit this line in /Library/Server/Web/Config/apache2/sites/*.conf, but watch out in case Server.app undoes your changes after an edit. To fix in future VirtualHosts, you could try editing the default template in ...


2

Depends on the Server... Apache: SSLProtocol All -SSLv2 -SSLv3 NGINX: ssl_protocols TLSv1 TLSv1.1 TLSv1.2; Postfix: smtpd_tls_mandatory_protocols=!SSLv2,!SSLv3 Sendmail (sendmail.mc): LOCAL_CONFIG O CipherList=HIGH O ServerSSLOptions=+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3 +SSL_OP_CIPHER_SERVER_PREFERENCE O ClientSSLOptions=+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3 ...


0

There is a bug in the update process, where it doesn't migrate the previous databases because of an updated config option that prevents postgresql from launching. Here are the steps to resolve it: Stop the postgres service: sudo su serveradmin stop postgres Update the configuration field: vim ...


0

Your issue is that Apple seem to have changed the unix socket directories and tcp port used. Note these options passed to the postmaster (which they've renamed postgres_real): -c unix_socket_directories=/Library/Server/ProfileManager/Config/var/PostgreSQL -c listen_addresses= (Yes, that's equals nothing) In other words, it's listening on a private ...


0

Mavericks is free and doesn't cost anything to update to. If you are satisfied with staying at Mountain Lion you can ignore any update for server.app version 3 by opening terminal.app and running.. softwareupdate --list to get the full name of the update and then run.. softwareupdate --ignore <label> If you due end up running the free upgrade to ...


2

I would err on the side of caution and wipe any server that you see odd behavior on that was exposed to the public internet in general without a logging firewall and/or some sort of tripwire or security scan set up to compare what changed since installation. I think one of my OS X servers was compromised for the first time ever during this bash scripting ...


0

Basically, on Mac OS X Leopard and higher, any connection discovered in the sidebar that connects via SMB will have the beige CRT with the Windows BSOD. Any AFP connection will appear differently.


1

If the USB hub is bus powered (it doesn't have to plug in to a wall socket) then the problem is that your Hard Drives are drawing too much current. USB Standards state that each USB port needs to be able to output 500mA. When you divide that by four (assuming your USB hub is 4-port), you get 125mA, which isn't nearly enough to power two hard drives. I ...



Top 50 recent answers are included