[Mauiusers] Re: More bugs in maui reg adminhosts

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


On Thu, 2006-11-16 at 15:39 +0100, Åke Sandgren wrote:
> 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.

Oops.

Leftover cruft in the patch.
Corrected patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: adminhost-check.patch
Type: text/x-patch
Size: 4973 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20061116/b76493fc/adminhost-check.bin


More information about the mauiusers mailing list