Koozali.org: home of the SME Server

set default firefox profile

Offline gunganz

  • 2
  • +0/-0
set default firefox profile
« on: January 04, 2008, 05:08:54 AM »
Hello,
first post after 2 years of browsing and using this forum, thank you all.

I manage about 1000 users, all use Ubuntu and identify through NIS to gain access to their account.

Disk Usage as well Quota have warned me that some users were using lots of disk space...or their ~/.mozilla/firefox/R@nd0m.default/Cache/ folder more exactly.

(right now, some users even have several default directories.
~/.mozilla/firefox/x18u0o0r.default/Cache/
~/.mozilla/firefox/pe6yrqh4.default/Cache/


Is there a way when creating new users to
  • define the name for the profile or default folder - then a script to delete the Cache become easier
  • define the Cache size so that it won't take more than they're allowed through their quota.

Thanks,

And thank you for the new SME 7.3 release ;-)

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: set default firefox profile
« Reply #1 on: January 04, 2008, 09:54:47 AM »
hi

a little googling give me:
http://ubuntuforums.org/showthread.php?t=459676

IMO this topic:
- is OT
- even if IT, it's in the wrong forum

before posting, please use google (sme is linux) and search box above :-)

HTH

Stefano

Offline gunganz

  • 2
  • +0/-0
Re: set default firefox profile
« Reply #2 on: January 07, 2008, 07:21:18 AM »
Thanks nenoneno,

Your page was helpful to a certain extent but,
I may have missed a detail, ALL my users have their home directory on the SME server.
(that include their desktop and maildir)
No profile are stored on the Ubuntu computers.

That's why I'm trying to create a custom-template so that when user-create is ran, their firefox profile and directories are created at the same time.
Now, when a new user is created, he/she doesn't have a /home-e-smith/files/testuser/.mozilla directory with the firefox settings in, especially the default home page, cache size and more important, autoclean on exit.

(I have already created a profile that I'd like all users to use)

Moderator, if in the wrong forum, please move :)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: set default firefox profile
« Reply #3 on: January 07, 2008, 05:44:46 PM »
That's why I'm trying to create a custom-template so that when user-create is ran, their firefox profile and directories are created at the same time.

If the files/directories can be the same for all users, you can just add them to your system under /etc/e-smith/skel/user. If the files need to be templated per user, you'll need to add a templates under /etc/e-smith/templates-user-custom/.mozilla, and an action script under /etc/e-smith/events/user-create to expand the templates. See the developers guide for more detail.