At work I have a version that does. I'll post that tomorrow.

On 06/21/2015 09:18 AM, Bill Bogstad wrote:


On Sun, Jun 21, 2015 at 1:10 PM, Jerry Feldman <[email protected] <mailto:[email protected]>> wrote:

    You can override its behavior my modifying the desktop file
    (/usr/share/applications/firefox.desktop in Gnome 3)
    The statement 'Exec=firefox %u' is the line to modify.

    You could place your modified copy in ~/.local/share/applications

    I have not tried this, but it should work.

    Instead of su -, use 'sudo -u <user> firefox', and update
    /etc/sudoers not to require a password for this.
    For instance:
    you <user> = NOPASSWD: /usr/bin/firefox


I use multiple Firefox user profiles instead. Some of them allow cookies/javascript and others do not. This probably doesn't help memory usage, but it does allow some (small?) security benefits.

I'm curious though, how this other user account gains access to your X server. Allowing other user ids to write on your screen/capture key & mouse events seem to me to be a potential issue.

Bill Bogstad

--
Jerry Feldman <[email protected]>
Boston Linux and Unix
PGP key id:B7F14F2F
PGP Key fingerprint: D937 A424 4836 E052 2E1B  8DC6 24D7 000F B7F1 4F2F

_______________________________________________
Discuss mailing list
[email protected]
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to