Permanently Modify Mac OS X Guest Account in OS...
Hello everyone
We have new Mac Minis running OSX Sierra at the school where I teach. We uses the guest login for our students in order that the login is always clean. But we would like to permanently modify that guest login (dock, wallpaper, first runs etc) On our old systems running Leopard, I followed the following help, which is no longer on its original webpage but I have it on Evernote here.
Any help how this can be done with OSX Sierra? Thanks in advance for help or links!
Morgy
Empty out the '/System/Library/User Template/English.lproj/Library/Keychains' folder/directory. I don't like deleting, so I did...
mv '/System/Library/User Template/English.lproj/Library/Keychains' '/System/Library/User Template/English.lproj/Library/Keychains.old'
mkdir '/System/Library/User Template/English.lproj/Library/Keychains'
I found the some intructions here in a post from 2014 for OSX Yosemite. Are they the same for Sierra?
1. Customize your space, logged in as Guest.
2. Once you've modified the guest account as desired, close all apps.
3. Be sure to delete things like browsing history (you were surely looking at that webpage for guidance, and had safari open.)
4. Next, switch users (don't log out) into your admin account.
5. Finally, now open terminal in YOUR account and do the last steps of that guide:
Code:
$ cd /Users/Guest/
$ rm -R "/System/Library/User Template/English.lproj/Library"/
$ cp -R Library/ "/System/Library/User Template/English.lproj/Library"/
This will prevent the guest from having apps re-open upon login.
And then, there is this thread for Mountain Lion from 2013. However, things seem to have changed with Sierra and I don't know how to figure out the right way to edit that guest account now.
Any help or ideas?
Hello again
As there were no answers here I just tried around a bit and found out that the guest account indeed can be permanently modified! However, the code above is incomplete and needs elements found in the above Evernote-link. It works as follows. (In the example, "admin" is the login-name of the admin-account.)
Code:
sudo admin
(Enter password)
sudo -s
(Enter password again)
cd /Users/Guest/
rm -R "/System/Library/User Template/English.lproj/Library"/
cp -R Library/ "/System/Library/User Template/English.lproj/Library"/
So the main part is OK now. Notice that I used German.lproj in the code since I am in Switzerland using German.
However, there are still two concerns:
1. Every time the guest is logged in the following windows appears (in German in my case) and I must create a new key chain. Any ideas how I could stop this?
2. We need Gimp on our system whose first run takes several minutes even on our fast Macs running on SSD. What Gimp creates during first run seems to be stored in
Users/Guest/Library/Application Support/Gimp/2.8/
and not in
/System/Library/User Template/German.lproj/Library
Any ideas how I integrate this Gimp-folder my guest account?
Thanks for help and ideas!
Morgy
So the main part is OK now. Notice that I used German.lproj in the code since I am in Switzerland using German.
I wanted to edit the posting just above but could no longer.
- The keychain prompt disappeard after one more boot.
- The folder Users/Guest/Library/Application Support/Gimp/2.8/ is already there after guest login.
So there only is one concern left:
We need Gimp on our system whose first run takes several minutes even on our fast Macs running on SSD. Unfortunately, doing the above steps doesn't prevent Gimp from doing the long first run after each guest login combined with a computer reboot. Does anyone know where Gimp stores whatever it is writing during first run? And if and how I could integrate this in the guest template?
Thanks for help and ideas!
Morgy
I finally found a workaround here in the forum that starts Gimp without fonts.
The only small concern left is mentioned above: The Guest always has to create a new keychain. (I first thought this had stopped but it hadn't).
Empty out the '/System/Library/User Template/English.lproj/Library/Keychains' folder/directory. I don't like deleting, so I did...
mv '/System/Library/User Template/English.lproj/Library/Keychains' '/System/Library/User Template/English.lproj/Library/Keychains.old'
mkdir '/System/Library/User Template/English.lproj/Library/Keychains'
Wow, thanks! This seems to have worked. (In my case replacing "English" with "German" all the time). The keychain prompt no longer appears!
I could not modify the permissions for System to view its contents. I logged in at the root user and have my Finder views to show hidden files and folders. None of these responses apply running the latest version of macOS Sierra (10.12.4). Folder /System/Library/User Template/English.lproj/Library/Keychains does not exist. Folder /System/Library/User Template/English.lproj/Library exists. Is /System/Library/User Template/English.lproj/Library/Keychains supposed to be a standard folder in macOS? If so it's not on my system anywhere.
Hallo Morgy - gleiche Baustelle - Ich möchte für unsere Schule das gleiche machen. Unter 10.10 gings noch ohne Probleme, unter Sierra nervt nur noch. Hast du eine exakte Anleitung? Bei all diesen Antworten sehe ich nicht, welche Schritte nun nötig sind, und welche nicht... Merci
bezrhf (at) icloud.com
Hallo BezRhf
War eine Weile nicht mehr hier und kriegte keine Benachrichtigung...
Ich habe keine andere Anleitung als die hier oben gesammelten Infos. Das Wichtigste zusammengefasst:
Gemachte Gast-Einstellungen speichern mit diesen Terminal-Befehlen:
Code:
sudo admin
(Enter password)
sudo -s
(Enter password again)
cd /Users/Guest/
rm -R "/System/Library/User Template/German.lproj/Library"/
cp -R Library/ "/System/Library/User Template/German.lproj/Library"/
Verhindern, dass bei jedem Guest-Start der Schlüsselbund immer neu erstellt werden muss mit diesen Terminal-Befehlen:
mv '/System/Library/User Template/German.lproj/Library/Keychains' '/System/Library/User Template/German.lproj/Library/Keychains.old'
mkdir '/System/Library/User Template/German.lproj/Library/Keychains'
Most important information of this thread in German:
Den Gast-Account unter OSX Sierra bleibend abändern:
1. Als Admin eingeloggt sein. Via User-Schnellwechsel auch als Guest einloggen.
2. Im Gast-Konto alle gewünschten Änderungen machen: Dock, Erst-Starts, Fenstergrösse etc. Den Guest nicht ausloggen, sondern via Schnellwechsel zurück zum Admin wechseln.
3. Gemachte Gast-Einstellungen speichern mit diesen Befehlen in der App "Terminal" (im Ordner Dienstprogramme):
sudo -s
(Enter password)
cd /Users/Guest/
rm -R "/System/Library/User Template/German.lproj/Library"/
cp -R Library/ "/System/Library/User Template/German.lproj/Library"/
4. Auch aus dem Terminen mit diesen Befehlen verhindern, dass bei jedem Guest-Start der Schlüsselbund immer neu erstellt werden muss :
mv '/System/Library/User Template/German.lproj/Library/Keychains' '/System/Library/User Template/German.lproj/Library/Keychains.old'
mkdir '/System/Library/User Template/German.lproj/Library/Keychains'
最后更新:2017-10-18 23:02:42
上一篇:
Mouse acceleration in macOS Sierra
下一篇:
Past TM backup cannot be repaired
An item was purchased in error how do I correct...
itunes match songs with wrong titles
night shift
how i can remove visa card from billing informa...
Ipad Screen went black and wont turn on
Apple Watch Activity is not in the cloud?
Is it a Good Ideal to Turn On My FileVault
Is this a bug?
Google is blocking Mail app from my gmail account
where is the remote button
相关内容
"com.apple.installer.pagecontroller error
any idea what error 3503 is?
Underallocation Detected on Main device
The operation couldn’t be completed. (BKA...
is ctoid.exe a virus on my ipad safari browser?
iTunes Error: Declined to authorize this image ...
Keep High Efficiency Original if Available Chec...
iTunes 12.7 cannot edit playlist
High Sierra Stuck & Decryption paused
Need to unlock iphone 5 to reactivate the phone...
热门内容
Christian Music Removed From Itunes
I'm being billed twice every month for Apple Mu...
iMac running slow
Fix disappearing album art after moving iTunes
Activation Locked iWatch
Can I change the iwatch to miles instead of kil...
I keep seeing the "You don't have permission to...
can't read any menus macbook air
iPad 2, iOs9.3, taking days to restore
charges made under itune memeberships