Apple: Difference between revisions

From Halfface
Jump to navigation Jump to search
Line 19: Line 19:
  # /home                auto_home      -nobrowse,hidefromfinder
  # /home                auto_home      -nobrowse,hidefromfinder
  sudo automount -v -c
  sudo automount -v -c
=/home on read only filesystem=
Create link with name /home pointing to /Users
echo -e "home\tUsers" | sudo tee -a /etc/synthetic.conf

Revision as of 11:08, 3 January 2024

which version of macos

sw_vers 
ProductName:		macOS
ProductVersion:		13.2.1
BuildVersion:		22D68

lots of info

system_profiler > /tmp/tmp

grant terminal full disk access

apple icon -> System Settings -> Privacy & Security -> Privacy -> Full Disk Access -> + -> terminal

Enable ssh access

sudo systemsetup -setremotelogin on

brew.sh install

https://brew.sh

automounter

Suitable changes for automount. To let /home free.

/etc/auto_master
+auto_master            # Use directory service
/net                    -hosts          -nobrowse,hidefromfinder,nosuid
# /home                 auto_home       -nobrowse,hidefromfinder
sudo automount -v -c

/home on read only filesystem

Create link with name /home pointing to /Users

echo -e "home\tUsers" | sudo tee -a /etc/synthetic.conf