Mounting smb drives on Mac without username and password to manually type in.
I have been working on mounting drives with this script in Kace as an online shell script.
#!/bin/sh
/usr/bin/osascript -e 'mount volume
"smb://<servername>/sharename"'
exit
Whenever I run it with the proper names filled in above it prompts for the root password. Is there some way I can do this on a machine that is joined to active directory and it just mounts and shows up on the desktop?
Thanks
It prompts me for the root password.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
Senathon
8 years ago