Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
polkitd /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
50-local-allow.rules
774
B
-rw-r--r--
2023-01-31 22:05
50-local-deny.rules
917
B
-rw-r--r--
2023-01-31 22:05
Save
Rename
// Sample polkit rules to allow root-equivalent users (sudo group members) // to restart apt-cacher-ng without using sudo or authentication, // similar in principle to the sudoers rule // // %sudo ALL=(root) NOPASSWD: /bin/systemctl restart apt-cacher-ng.service // // but without needing to prefix the systemctl command with sudo. // // To use this file, copy it into /etc/polkit-1/rules.d/ polkit.addRule(function(action, subject) { if ( subject.isInGroup("sudo") && action.id === "org.freedesktop.systemd1.manage-units" && action.lookup("unit") === "apt-cacher-ng.service" && action.lookup("verb") === "restart" ) { return polkit.Result.YES; } return polkit.Result.NOT_HANDLED; }); // vim:set ft=javascript: