Skip to main content

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:
code:
crlutil -b -i -i /path/to/crl.file -d ~/.mozilla/firefox/profile.default
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.

simplify applying crl, want modify gdm startup script import crl user's mozilla profile automatically. (pulled memory might not syntactically 100% correct).
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
since want run post-login before user interacts desktop, figure best place put in in gdm presession init script:
code:
/etc/gdm/presession/default
i know $user environment variable correct in init file since can debug statements like:
code:
echo $user > /tmp/user.txt
however, 100% refuses run bit of code insert crl mozilla keystore. specifically, when particular snippit in default init file, doesn't @ all:
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've tried use
code:
2&>1 > /tmp/error.txt
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.

thanks!



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [gnome] GDM Session startup script help


Ubuntu

Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

uppercase letters in url - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support