Heads-up: unfortunately, it is not possible to spoof MAC address on some Macs (see issue).
$
, strip out $
as this character is not part of the commandcat << "EOF"
, select all lines at once (from cat << "EOF"
to EOF
inclusively) as they are part of the same (single) command/usr/local/sbin
directory/usr/local/sbin
directory to PATH
environment variableThis list includes top 2048 most popular names for people aged 25 from the USA Social Security Administration (last updated on March 9th 2022).
spoof.sh
scriptspoof.sh
executablelocal.spoof.plist
launch daemonspoof-hook.sh
scriptspoof-hook.sh
executablecom.apple.loginwindow
does not existHeads-up: if
com.apple.loginwindow
exists, one needs to backup user default carefully and consider using an abstraction that runs both currentLogoutHook
script and/usr/local/sbin/spoof-hook.sh
.
Domain com.apple.loginwindow does not exist
👍
“Spoofed hostname” is random and “Spoofed MAC address” does not match “Hardware MAC address”?
👍
Heads-up: replace
John
with your name.
👍