From: Jamie C. <jca...@we...> - 2008-02-02 18:25:01
|
On 02/Feb/2008 06:24 Luis Miguel R. wrote .. > El Monday, 24 December del 2007 a las 09:46:26PM, Jamie Cameron escribi=F3: > > On 24/Dec/2007 09:42 Luis Miguel R. wrote .. > > > Hi all, I have a feature request for "Custom commands" module, > > > the only thing I miss is that I can not categorize this custom > > > commands into sections and mayble a title section, this is all > > > many need to create a "custom" webmin module for programs not > > > supported directly by any actual webmin module, access rights can be > > > given based on sections or directly on custom commands (like now). > > > > > > Regards and sorry for my bad english. > > > > There is actually a way you could do something like this already, by > > cloning the Custom Commands module as follows : > > > > 1) Go to the Webmin Configuration module, and click on Webmin Modules. > > 2) Select the 'Clone' tab. > > 3) From the 'Module to clone' menu select 'Custom Commands' > > 4) In the 'Cloned module name' box, enter a category name as you suggested. > > 5) Change 'Reset configuration to default?' to 'Yes'. > > 6) Click 'Clone Module'. > > > > You can now go to this new module and create your own custom commands. > > This module can be assigned to Webmin users separately from the original > > 'Custom Commands' module, and can have the allowed commands independently > > configured. > > > > - Jamie > > Hi all, your solution works great, the only "problem" I have is all > cloned "custon commands" modules show on top "Custon Commands", are > there a way to change this title? > > Regards. The only way is to create a file named /etc/webmin/custom*/custom-lang file , containing a line like : index_title=3DYour Custom Title - Jamie |