Redirecting Application Profiles to Local Machine
Since SSO accesses user profiles off the NFS server, the guest and member_research accounts will lock profiles for Firefox, Chromium, and Open Office once the first user logs in and starts using each program. This prohibits others from using these applications, since by default the application profiles are stored on the NFS user share. We can use some switches to redirect application profile creation to the local machine in the /tmp directory. Additionally, we can create launchers pointing to the scripts below to display icons in the GUI. Firefox does not automatically create the user profile directory, so a script is used. A copy of the scripts and application launchers are saved in /public/IT Stuff/Redirect Profiles to tmp on Local.
Chromium
chromium-browser --user-data-dir=/tmp/chromium-$USER@$HOSTNAME &
Firefox
#!/bin/bash directory="/tmp/ff"$USER"@"$HOSTNAME #bash check if directory exists if [ -d $directory ]; then firefox -no-remote -profile $directory & else mkdir $directory firefox -no-remote -profile $directory & fi
Open Office
soffice -env:UserInstallation=file:///tmp/openoffice-$USER@$HOSTNAME &
CategoryITDoc