First and most important, this is only to be done for ethically acceptable reasons. Access another users account and all files. This will work on macOS Mojave and practically any OSX operating system prior.