Thread: GDM Session startup script help
recently due diginotar ssl issue want setup startup script gdm session automatically add crl firefox crl list.
have crlutil installed , working; have verified able import crl , have firefox recognize it. works when done hand:
the type of environment working diskless "smart terminal" netboot environment. 1 server (the "image server") takes care of serving read-only filesystem ubuntu - other server (the "home server") serves rw nfs mount /home/username filesystem. running 10.10 maverick firefox 6 ppa.code:crlutil -b -i -i /path/to/crl.file -d ~/.mozilla/firefox/profile.default
simplify applying crl, want modify gdm startup script import crl user's mozilla profile automatically. (pulled memory might not syntactically 100% correct).
since want run post-login before user interacts desktop, figure best place put in in gdm presession init script:code:for in `grep path /home/$user/.mozilla/firefox/profiles.ini`; crlutil -b -i -i /path/to/crl.file -d /home/$user/.mozilla/firefox/$i/; done
i know $user environment variable correct in init file since can debug statements like:code:/etc/gdm/presession/default
however, 100% refuses run bit of code insert crl mozilla keystore. specifically, when particular snippit in default init file, doesn't @ all:code:echo $user > /tmp/user.txt
i've tried usecode:for in `grep path /home/$user/.mozilla/firefox/profiles.ini`; crlutil -b -i -i /path/to/crl.file -d /home/$user/.mozilla/firefox/$i/; done
however, doesn't output (file blank). if has insight why isn't working, or has other creative ideas on how force script run on login add crl firefox, i'm interested in hearing , appreciate can provide.code:2&>1 > /tmp/error.txt
thanks!
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [gnome] GDM Session startup script help
Ubuntu
Comments
Post a Comment