Uname:Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64

Base Dir : /home/iscmbt-kufa-atu/public_html

User : iscmbt-kufa-atu


403WebShell
403Webshell
Server IP : 89.117.53.150  /  Your IP : 216.73.216.11
Web Server : Apache
System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User : iscmbt-kufa-atu ( 1014)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/webmin/grub2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin/grub2/acl_security.pl
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';

do 'grub2-lib.pl';

our (%in, %text);

# acl_security_form(&options)
# Outputs HTML for editing security options for the GRUB 2 module.
sub acl_security_form
{
my ($o) = @_;
# View permissions
print &ui_table_row($text{'acl_view'},
		    &ui_yesno_radio("view", $o->{'view'}), 3);
print &ui_table_hr();
# Change permissions modify GRUB configuration without granting install rights.
foreach my $a (qw(edit security apply runtime)) {
	print &ui_table_row($text{'acl_'.$a},
			    &ui_yesno_radio($a, $o->{$a}), 3);
	}
print &ui_table_hr();
# Admin permissions expose direct file editing, backup, and boot-loader install.
foreach my $a (qw(manual install backup)) {
	print &ui_table_row($text{'acl_'.$a},
			    &ui_yesno_radio($a, $o->{$a}), 3);
	}
}

# acl_security_save(&options)
# Parses the form for security options for the GRUB 2 module.
sub acl_security_save
{
my ($o) = @_;
foreach my $a (qw(view edit security apply runtime manual install backup)) {
	# Missing checkbox/radio values fall back to denied.
	$o->{$a} = $in{$a} || 0;
	}
}

1;

Youez - 2016 - github.com/yon3zu
LinuXploit