Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: gunganz on January 04, 2008, 05:08:54 AM

Title: set default firefox profile
Post by: gunganz 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

Thanks,

And thank you for the new SME 7.3 release ;-)
Title: Re: set default firefox profile
Post by: Stefano on January 04, 2008, 09:54:47 AM
hi

a little googling give me:
http://ubuntuforums.org/showthread.php?t=459676 (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
Title: Re: set default firefox profile
Post by: gunganz 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 :)
Title: Re: set default firefox profile
Post by: CharlieBrady 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.