Re: Lock homepage in firefox for normal users?[Scanned]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Keith G. Robertson-Turner wrote:
Chris Bradford wrote:
Is there a way to lock the home page of Firefox for users under FC5?

You could create a cron job that periodically resets all users home
pages, like this:

perl -pi -e 's/user_pref\(\"browser\.startup\.homepage\",
.*/user_pref\(\"browser\.startup\.homepage\"\,
\"http:\/\/www\.google\.co\.uk\"\);/g' `find
/home/*/.mozilla/firefox/*/prefs.js`

(The above is supposed to be all one line, but may be wrapped in your
reader.)

Simply replace google\.co\.uk with whatever you want the default home
page to be, and run the script every so often via cron (once per hour or
whatever).

Or instead of using cron, you could put it in /etc/profile.d/ instead.

Thanks everyone for your replies!

I'm going to experiment with the above in /etc/profile.d/ tomorrow when I'm at work. I assume this value would then be reset every time the user logs into he workstation.

As an enterprise environment we lie to have control over this kind of setting, maybe its worth putting in a feature request for the firefox developers? Not sure what the demand for something similar is... I've setup group policies to lockdown the homepage of our windows users, but obviously, this can't be done for Linux users.

Thanks again,

-Chris :)




This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux