alfatec Posted April 13, 2015 Posted April 13, 2015 Hi, Does anybody have an example of a good login script that I can use to map a users SMB home drive and shared drive to the Yosemite desktop and any instructions on where to place it. Had enough of Yosemite profile manager and home folders trying to get them to appear.
alfatec Posted April 14, 2015 Author Posted April 14, 2015 OK Finally managed to crack getting the home folder to appear on the desktop by running a file in the app manger.
win Posted April 15, 2015 Posted April 15, 2015 Which file did you use? Was it a login script or third party app?
alfatec Posted April 16, 2015 Author Posted April 16, 2015 You need to open script editor, Put the following code in, (Amend to your own details) tell application "System Events" tell current user set fn to full name try mount volume "smb://share.yourdomain/yourfolder/yoursubfolder/" & fn end try end tell end tell Export the script as an application and place in the /USR/BIN folder. Now in Profile manager go to Login Items for users and under Items put the path to the login app. e.g. This will now map the home drive onto the desktop. 1
win Posted April 16, 2015 Posted April 16, 2015 Thanks for the instructions @alfatec, been battling for a while and will certainly give that a go!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now