MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 8 as of 2021-02-23 18:45:48
  • AppleMacintosh

Apple Macintosh

The Macintosh marketed as Mac, is a line of personal computers (PCs) designed, developed, and marketed by Apple Inc.

Take a Screenshot

cmd + shift + 3, captures the whole screen to a file on the desktop.

cmd + shift + 4, captures the selected area to a file on the desktop.

cmd + shift + 4 + space, then click on the desired window we wish to capture, then the file is saved to the desktop.

ctrl + cmd + shift + 4, captures the selected area to the clipboard. To paste use cmd+v.

Enable full disk access to terminal (required for systemsetup in Terminal)

  • https://support.apple.com/guide/remote-desktop/about-systemsetup-apd95406b8d/mac

  • Apple
  • System preferences
  • Security and privacy
  • Full disk access
  • add Terminal and sshd

Enable remote login and remote management

  • Apple
  • System preferences
  • Sharing
  • Remote login and Remote management (computer settings, vnc viewers may control screen with password)

   1 systemsetup -getremotelogin
   2 systemsetup -setremotelogin on
   3 ping mac-laptop
   4 sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \
   5 -activate -configure -access -on \
   6 -clientopts -setvnclegacy -vnclegacy yes \
   7 -clientopts -setvncpw -vncpw ***** \
   8 -restart -agent -privs -all
   9 
  10 sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \
  11 -deactivate -configure -access -off
  12 # restart Mac 
  13 # debian client 
  14 sudo apt update 
  15 sudo apt install vinagre
  16 ssh -L 5900:127.0.0.1:5900 -C -N -l userMac mac-laptop
  17 vinagre localhost:5900
  18 ssh userMac@mac-laptop
  19 # in Mac
  20 sudo bash
  21 dscl . list /Users
  22 dscacheutil -q user
  23 dscl . -create /Users/userMac
  24 dscl . -create /Users/userMac UserShell /bin/bash
  25 dscl . -create /Users/userMac RealName "User Mac"
  26 dscl . -create /Users/userMac UniqueID 1001
  27 dscl . -create /Users/userMac PrimaryGroupID 1000
  28 dscl . -create /Users/userMac NFSHomeDirectory /Users/userMac
  29 # define password in ********
  30 dscl . -passwd /Users/userMac ********
  31 dscl . -append /Groups/admin GroupMembership userMac
  32 mkdir -p /Users/userMac
  33 cd /Users
  34 chown userMac userMac/
  35 chgrp staff userMac/
  36 ssh userMac@mac-laptop
  37 dscl . -read /Users/userMac
  38 dscl . -delete /Users/userMac
  39 # in Debian
  40 vinagre vnc://mac-laptop
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01