macOS / binaries /

mnthome

/usr/bin/mnthome
Mount an afp (appleshare) home directory with the correct privileges

The mnthome command unmounts the AFP (AppleShare) home directory that was automounted as guest, and remounts it with the correct privileges by logging into the AFP server using the current username and password.

source: man