[Mauiusers] More bugs in maui reg adminhosts

Åke Sandgren ake.sandgren at hpc2n.umu.se
Thu Nov 16 07:39:55 MST 2006


Hi again.
According to the maui doc, E.1.4 ADMINHOSTS should restrict ALL admin
level commands (admin1-3). The code to do this only restricted level 1
commands, and besides that it was broken.

Here is a patch that moves the adminhosts check to affect all admin
level commands and it also makes sure that there is a hostname to match
against.

This has only been given a short test locally, but given the earlier
state of being totally broken, its a step forward.

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: ake at hpc2n.umu.se   Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adminhost-check.patch
Type: text/x-patch
Size: 5119 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20061116/7c921a6c/adminhost-check.bin


More information about the mauiusers mailing list