mullet_man Posted January 25, 2023 Posted January 25, 2023 Hi all, Apologies if this might have come up before but was wondering if I could get an idea if this possible. We have some Macs for our music department M1 Mac Minis and are using Jamf Pro. The Macs have a shortcut to user home folder in the dock which does work but we have found that when you go to save as in an app e.g. Sibelius the home folder isn’t available to save the files in. Is there an easy to get the home folder onto the finder so users can save? If it’s not possible i might try OneDrive but again am not sure I get get this to auto login for students. Macs aren’t my area at all and we paid for some engineer time to get our Jamf setup. Any pointers would be great.
2ilent8cho Posted January 25, 2023 Posted January 25, 2023 Yes it is possible we do this (along with redirecting the Desktop, Documents etc to the users AD Home folder) but its all scripting. I'm guessing the users home folder is listed in /Volumes once logged in? If so if you were deploy a utility called mysides you could then have a login script to add it to finder. I think this script would be enough to make it work. /usr/local/bin/mysides add Home file:///Volumes/$USER touch /Users/$loggedInUser/.sidebarshortcuts killall cfprefsd
mullet_man Posted January 26, 2023 Author Posted January 26, 2023 Yes it is possible we do this (along with redirecting the Desktop, Documents etc to the users AD Home folder) but its all scripting. I'm guessing the users home folder is listed in /Volumes once logged in? If so if you were deploy a utility called mysides you could then have a login script to add it to finder. I think this script would be enough to make it work. /usr/local/bin/mysides add Home file:///Volumes/$USER touch /Users/$loggedInUser/.sidebarshortcuts killall cfprefsd Thanks @2ilent8cho, not exactly when I click the volumes and see our server listed it only shows me to our network share so currently our pupil AD homes are \\server\share$\2023\pupilname. The shortcut in the dock does go straight to the home folder.
2ilent8cho Posted January 26, 2023 Posted January 26, 2023 Thanks @2ilent8cho, not exactly when I click the volumes and see our server listed it only shows me to our network share so currently our pupil AD homes are \\server\share$\2023\pupilname. The shortcut in the dock does go straight to the home folder. So if you open up terminal and type 'cd /Volumes' then ls to list contents, does it have a folder listed as the username? and if you look inside it does it have the users home folder contents?
mullet_man Posted January 27, 2023 Author Posted January 27, 2023 Oh I'll check and get back to you, thanks @2ilent8cho
2ilent8cho Posted January 27, 2023 Posted January 27, 2023 I'm guessing it will have a folder called 2023 so just change the script to be file:///Volumes/2023/$USER
mullet_man Posted January 30, 2023 Author Posted January 30, 2023 So if you open up terminal and type 'cd /Volumes' then ls to list contents, does it have a folder listed as the username? and if you look inside it does it have the users home folder contents?Sorry only just got round to this so in terminal it has Mac01: volumes jbloggs123$ Which is technically incorrect as we don't share the username folder like that.
mullet_man Posted February 2, 2023 Author Posted February 2, 2023 Also on the left sidebar it has OURSERVER01 and when you click on it, it takes you to nothing. I suspect it's trying to link to the $share rather than the actual folder.
2ilent8cho Posted February 2, 2023 Posted February 2, 2023 Do all the shares on OURSERVER01 end in $ ? If so thats why its blank when you click the server in the left bar.
mullet_man Posted February 2, 2023 Author Posted February 2, 2023 Do all the shares on OURSERVER01 end in $ ? If so thats why its blank when you click the server in the left bar. Yes all shares are hidden mate.
mullet_man Posted February 2, 2023 Author Posted February 2, 2023 I'm guessing it will have a folder called 2023 so just change the script to be file:///Volumes/2023/$USER How would this work if we have different folders for different year groups?!
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