I usually distribute inetloc files to people who need to occasionally access shared drives... they're super convenient, and, since their existence, it's been possible to include passwords (though in plain text).. For those who don't know what I'm talking about, open TextEdit, type in the following:
then select the whole thing, drag it to the desktop and, voilà, you've got a ready-made shortcut to your shared drive!
The Problem Is: as of 10.14.2, Mojave ignores the included password and puts up a password dialog, which defeats the whole purpose of these shortcuts.. Indeed, the problem is that these shortcuts can include the password without the user having to ever re-enter it
(Additionally, inetloc files have never worked to mount NFS shares)