# Usermin \> filemin -- prefs.username

**URL:** <https://forum.virtualmin.com/t/usermin-filemin-prefs-username/127532>\
**Category:** Usermin\
**Created:** [June 25, 2024, 11:17pm UTC](https://forum.virtualmin.com/t/usermin-filemin-prefs-username/127532 "2024-06-25T23:17:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nstreeter](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/n/439d5e/32.png) [@nstreeter](https://forum.virtualmin.com/u/nstreeter)\
**Post date:** [June 25, 2024, 11:17pm UTC](https://forum.virtualmin.com/t/usermin-filemin-prefs-username/127532/1 "2024-06-25T23:17:48Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | EL 8 |
| Usermin version | 2.010 |

Is there a method to set default or global prefs for filemin module in usermin?

For example, copy my prefs.username to prefs.default – and then everyone gets prefs.default unless/until they change something (then they get their own prefs.username).

If there’s a method for achieving this, please let me know!

Thanks,  
ns

---

<div class="post-metadata">

**Author:** ![calport](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/calport/32/44_2.png) [@calport](https://forum.virtualmin.com/u/calport)\
**Post date:** [June 26, 2024, 5:12am UTC](https://forum.virtualmin.com/t/usermin-filemin-prefs-username/127532/2 "2024-06-26T05:12:10Z")

</div>

Wish you had provided an example of what you want to achieve in File Manager but absent a specific example, I can only offer a general answer.

There is Webmin-\>Webmin Configuration and whatever is specified here is considered the global default for everything in Webmin, not just in the File Manager. After Webmin is configured the way you want, your users can modify the setting as per their preferences, but you were able to get them started the way you wanted them to start.

I think you were looking for that outcome, right? You wanted to set the global default preferences and then give your users the option to change them. Webmin-\>Webmin Configuration will let you do that.

---

<div class="post-metadata">

**Author:** ![jimr1](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/jimr1/32/14173_2.png) [@jimr1](https://forum.virtualmin.com/u/jimr1)\
**Post date:** [June 26, 2024, 5:24am UTC](https://forum.virtualmin.com/t/usermin-filemin-prefs-username/127532/3 "2024-06-26T05:24:08Z")

</div>

> [@calport](#):
>
> and then give your users the option to change them. Webmin-\>Webmin Configuration will let you do that.

as this is a usermin question maybe Webmin → Usermin Configuration would be a better bet ?

---

<div class="post-metadata">

**Author:** ![calport](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/calport/32/44_2.png) [@calport](https://forum.virtualmin.com/u/calport)\
**Post date:** [June 26, 2024, 6:25am UTC](https://forum.virtualmin.com/t/usermin-filemin-prefs-username/127532/4 "2024-06-26T06:25:55Z")

</div>

Yes, you are right @jimr1

---

<div class="post-metadata">

**Author:** ![Ilia](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/ilia/32/10185_2.png) [@Ilia](https://forum.virtualmin.com/u/Ilia)\
**Post date:** [June 27, 2024, 10:45am UTC](https://forum.virtualmin.com/t/usermin-filemin-prefs-username/127532/5 "2024-06-27T10:45:46Z")

</div>

> [@nstreeter](#):
>
> Is there a method to set default or global prefs for filemin module in usermin?

Preferences are created for each user, and currently, it isn’t possible to read these from any default settings specifically for the File Manager.

What you can do is create a set of default preferences for some user and then automate the process for each new user/domain created using Virtualmin after command to physically copy the files from the preferred default user to all new users.

> **[Domain Management API](https://www.virtualmin.com/docs/development/domain-management-api/#setting-up-pre-and-post-modification-scripts)**
>
> Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks around virtual server management. These scripts can be executed before or after creating, modifying, or deleting a virtual server, enhancing Virtualmin’s...

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [August 26, 2024, 10:46am UTC](https://forum.virtualmin.com/t/usermin-filemin-prefs-username/127532/6 "2024-08-26T10:46:18Z")

</div>

Closed on August 26, 2024, 10:46am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
