Re: [webmin-devel] access

"Jamie Cameron" <[email protected]> Sun, 07 Jun 2009 11:00:03 -0700 (PDT)
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
On 07/Jun/2009 05:47 hahmed <[email protected]> wrote ..
> How to get a hash reference of the module access list from a remote server??
> I tried :
> &remote_foreign_require($server,module,module-lib.pl);
> $remote_access=&remote_foreign_call($server,"module",get_module_acl();
> but it didn't work.

You should be able to use :

%remote_access = &remote_foreign_call($server,"module", "get_module_acl");

However, this doesn't really make a lot of sense, as you will be getting
the remote root user's access hash, which typically grants full access.

 - Jamie

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel