Mac OS X

mihalis's picture

Enable root user on macOS Sierra

The process is the same as it was on Mac OS X Yosemite.
You can find more information at http://www.mtsoukalos.eu//enable-root-yosemite

mihalis's picture

Enable Root user on El Capitan

The process of enabling the root use on Mac OS X El Capitan is the same as enabling the root user on Mac OS X Yosemite.
Please read my previous post at http://www.mtsoukalos.eu/enable-root-yosemite

thanks!

mihalis's picture

Installing older package in HomeBrew

As I am using unison and a Linux machine for backing up my files, unison is very important to me. After Homebrew updated unison, I got the following error message:

$ unison articles
Contacting server...
mtsouk@linode's password:
Fatal error: Received unexpected header from the server:
expected "Unison 2.48\n" but received "Unison 2.40\n\000\000\000\000\017",
which differs at "Unison 2.40".
This can happen because you have different versions of Unison
installed on the client and server machines, or because
your connection is failing and somebody is printing an error
message, or because your remote login shell is printing
something itself before starting Unison.

The solution to the problem was using the older version of unison. This can be done as follows:


$ brew tap homebrew/boneyard
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-boneyard'...
remote: Counting objects: 723, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 723 (delta 2), reused 1 (delta 0)
Receiving objects: 100% (723/723), 174.67 KiB | 100.00 KiB/s, done.
Resolving deltas: 100% (338/338), done.
Checking connectivity... done.
Tapped 68 formulae
$ cd /usr/local/Library/
$ brew versions unison
Warning: brew-versions is unsupported and will be removed soon.
You should use the homebrew-versions tap instead:
https://github.com/Homebrew/homebrew-versions


2.48.3 git checkout 9eac7e1 /usr/local/Library/Formula/unison.rb
2.40.102 git checkout 3ceb6b0 /usr/local/Library/Formula/unison.rb
2.40.63 git checkout 3c5ca25 /usr/local/Library/Formula/unison.rb
2.40.61 git checkout 5e494c2 /usr/local/Library/Formula/unison.rb
2.32.52 git checkout f724ba8 /usr/local/Library/Formula/unison.rb
MacBook:Library mtsouk$ brew uninstall unison
Uninstalling /usr/local/Cellar/unison/2.48.3...

Last, you install the older unison package:

$ brew uninstall unison
Uninstalling /usr/local/Cellar/unison/2.48.3...
MacBook:Library mtsouk$ pwd
/usr/local/Library
MacBook:Library mtsouk$ git checkout 3ceb6b0 /usr/local/Library/Formula/unison.rb
MacBook:Library mtsouk$ brew install unison
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/unison-2.40.102.yosem
######################################################################## 100.0%
==> Pouring unison-2.40.102.yosemite.bottle.1.tar.gz
/usr/local/Cellar/unison/2.40.102: 6 files, 3.1M

Also found this: http://www.spotwise.com/2015/01/06/broken-unison-brew-on-yosemite/

mihalis's picture

Enable Root user on Yosemite

The first task I had to do on the newly installed Mac OS X 10.10 (a.k.a. Yosemite) was enabling the root user.

  1. You first have to run the Directory Utility.
  2. Then go to the Edit menu and select "Enable Root User".
  3. You will be asked for the root password twice.
  4. You are done!
Image: 

Pages

Subscribe to RSS - Mac OS X