Thank you Jamie, it worked. Am grateful!


On Wed, Sep 11, 2013 at 7:55 PM, Jamie Cameron <jcameron@webmin.com> wrote:

You also need to create an acl_security.pl script that defines the UI seen in Webmin -> Webmin Users when the admin edits access control settings for your module.

There are some docs on this at http://doxfer.webmin.com/Webmin/AdvancedModuleDevelopment

On 11/Sep/2013 08:32 Emmanuel Buamah <emma.wasanzy@gmail.com> wrote ..

Hello,

Thank you for your replies. Now my main questions is:

I am writing a module and I want to control the users such that, I can restrict them from using or performing some functions within this module. In my module lib, I have this:

BEGIN { push(@INC, ".."); };
use WebminCore;
init_config();
%access = &get_module_acl(); 





and in the individual modules I have this:

require 'tomcat-lib.pl';

$access{'startstop'} || &error($text{'noaccess'}); 

At list is this not enough for webmin to perform access control on the module?

Cheers!


On Tue, Sep 10, 2013 at 5:46 PM, Andrey Repin <anrdaemon@freemail.ru> wrote:
Greetings, Webmin users list!

> Is it only the root user that can login to webmin? I tried using my normal
> user name on the system to login but it didn't work.

Any user in wheel or admin group (depends on your distribution).
More specifically, any user that can sudo as root.

> How is user access control done in webmin so that, for some particular
> modules or functions, only people allowed could access it.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 10.09.2013, <21:45>

Sorry for my terrible english...


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
-
Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list



------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
-
Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list