Submit
Path:
~
/
/
scripts
/
File Content:
unsuspendacct
#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - scripts/unsuspendacct Copyright 2022 cPanel, L.L.C. # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited package scripts::unsuspendacct; use strict; use warnings; use Try::Tiny; use Cpanel::Passwd::Shell (); use Cpanel::Auth::Shadow (); use Cpanel::SafeFile (); use AcctLock (); use Cpanel::PwCache (); use Cpanel::ConfigFiles (); use Cpanel::Validate::Domain::Tiny (); use Cpanel::Exception (); use Cpanel::Dovecot::Action (); use Cpanel::FileUtils::Match (); use Cpanel::Hooks (); use Cpanel::Hostname (); use Cpanel::OS (); use Cpanel::PwCache::Clear (); use Cpanel::AccessIds::ReducedPrivileges (); use Cpanel::AcctUtils::AccountingLog (); use Cpanel::AcctUtils::Domain (); use Cpanel::AcctUtils::Owner (); use Cpanel::AcctUtils::DomainOwner::Tiny (); use Cpanel::SafetyBits (); use Cpanel::Config::LoadCpConf (); use Cpanel::Config::LoadCpUserFile (); use Cpanel::Config::LoadWwwAcctConf (); use Cpanel::Config::CpUserGuard (); use Cpanel::ConfigFiles (); use Cpanel::IP::Remote (); use Cpanel::Quota::Temp (); use Cpanel::ServerTasks (); use Cpanel::Services::Enabled (); use Cpanel::Logger (); use Cpanel::Auth::Digest::DB::Manage (); use Cpanel::Mailman::ListManager (); use Cpanel::MysqlUtils::Suspension (); use Whostmgr::Accounts::SuspensionData::Writer (); use Whostmgr::Accounts::Email (); use Whostmgr::Accounts::Unsuspend (); use Whostmgr::Accounts::Unsuspend::Htaccess (); use Cpanel::Validate::Domain::Normalize (); use Cpanel::Notify (); use Cpanel::Sys::Setsid::Fast (); use Getopt::Long (); use Cpanel::Team::Constants (); use Cpanel::Team::Config (); use Cpanel::Locale 'lh'; exit( run(@ARGV) ) unless caller; my $logger; sub run { ## no critic qw(Subroutines::ProhibitExcessComplexity) my @argv = @_; my $retain_service_proxies = 0; my $usage = 0; my $child_ok = 0; Getopt::Long::GetOptionsFromArray( \@argv, 'retain-service-proxies' => \$retain_service_proxies, 'help|usage' => \$usage, 'child-ok' => \$child_ok, ); my $user = $argv[0]; $logger = Cpanel::Logger->new(); local $ENV{'REMOTE_USER'} = $ENV{'REMOTE_USER'}; local $ENV{'USER'} = $ENV{'USER'}; if ( ( !$ENV{'USER'} || !$ENV{'REMOTE_USER'} ) && $> == 0 ) { $ENV{'REMOTE_USER'} = 'root'; ## no critic qw(Variables::RequireLocalizedPunctuationVars) - local above $ENV{'USER'} = 'root'; ## no critic qw(Variables::RequireLocalizedPunctuationVars) - local above } if ($user) { $user =~ s/\///g; } return usage(0) if $usage; return usage(1) if ( !$user || $user eq 'root' ); my $pass = ( Cpanel::PwCache::getpwnam($user) )[1]; if ( !$pass ) { print "“$user” is not a user on this system. Maybe it’s a domain?\n"; my $old_user = $user; $user = Cpanel::AcctUtils::DomainOwner::Tiny::getdomainowner( $user, { default => undef } ); if ($user) { print "“$user” is the user who owns that domain. Verifying user …\n"; $pass = ( Cpanel::PwCache::getpwnam($user) )[1] or do { die "Invalid user ($user)\n"; }; } else { die "“$old_user” isn’t a domain, either. Exiting …\n"; } if ( $old_user ne $user ) { print "Domain lookup of domain '$old_user' yielded user '$user'\n"; } } unless ( $pass =~ m/^\!/ || $pass =~ m/^\*/ ) { print lh->maketext( 'An error occurred while attempting to unsuspend “[_1]”. The user “[_1]” is not in a suspended state.', $user ) . "\n"; if ( -e "/var/cpanel/bwlimited/$user" ) { print "\nThe user is currently bandwidth limited. You may remove this limitation by increasing their bandwidth limit.\n"; } return 1; } if ( !$child_ok ) { my $cpuser_obj = Cpanel::Config::LoadCpUserFile::load_or_die($user); if ( $cpuser_obj->child_workloads() ) { print "To unsuspend “$user”, do so on the account’s parent node.\n"; return 1; } } if ( !do_hook( $user, 'pre' ) ) { print "Pre-unsuspend hook script returned failure.\n"; return 1; } system '/usr/local/cpanel/scripts/preunsuspendacct', @argv if -x '/usr/local/cpanel/scripts/preunsuspendacct'; # Load account creation defaults my $cref = Cpanel::Config::LoadWwwAcctConf::loadwwwacctconf(); # Determine default shell my $shell = $cref->{'DEFSHELL'}; if ( !$shell || !-e $shell ) { $shell = '/bin/bash'; } my $homedir = Cpanel::PwCache::gethomedir($user); my %CPCONF = Cpanel::Config::LoadCpConf::loadcpconf(); if ( exists $CPCONF{'acls'} && $CPCONF{'acls'} eq '1' ) { if ( my $pid = fork() ) { waitpid( $pid, 0 ); } else { Cpanel::Sys::Setsid::Fast::fast_setsid(); Cpanel::SafetyBits::setuids($user); system( 'setfacl', '-kb', '-m', 'group:nobody:x', '-m', 'group:mail:x', '-m', 'group:cpanel:x', '-m', 'group:mailnull:x', '-m', 'group:65535:x', '-m', 'group:ftp:x', '--', $homedir ); chmod 0750, $homedir; exit; } } else { chmod( 0711, $homedir ); # root owns parent } if ( -e '/var/cpanel/fileprotect' ) { my $httpgid = ( getgrnam('nobody') )[2]; my $useruid = ( getpwnam($user) )[2]; Cpanel::SafetyBits::safe_userchgid( $useruid, $httpgid, $homedir . '/public_html' ); Cpanel::SafetyBits::safe_chmod( 0750, $useruid, $homedir . '/public_html' ); Cpanel::SafetyBits::safe_userchgid( $useruid, $httpgid, $homedir . '/.htpasswds' ); Cpanel::SafetyBits::safe_chmod( 0750, $useruid, $homedir . '/.htpasswds' ); } else { Cpanel::SafetyBits::safe_chmod( 0755, $user, $homedir . '/public_html' ); Cpanel::SafetyBits::safe_chmod( 0755, $user, $homedir . '/.htpasswds' ); } # # Since scripts/suspendacct will chagne the permissions of this file to 0000, # it is necessary to perform the chmod() operation as root to actually be able # to restore the permissions. # if ( -e '/var/cpanel/noanonftp' ) { Cpanel::SafetyBits::safe_chmod( 0750, $user, $homedir . '/public_ftp' ); } else { Cpanel::SafetyBits::safe_chmod( 0755, $user, $homedir . '/public_ftp' ); } print "Unsuspending outgoing email...."; Whostmgr::Accounts::Email::unsuspend_outgoing_email( 'user' => $user ); print "Done\n"; my %SUINFO; if ( open my $suspended_info_fh, '<', '/var/cpanel/suspendinfo/' . $user ) { while ( readline $suspended_info_fh ) { chomp; my ( $name, $value ) = split( /=/, $_ ); next if ( !$name || !$value ); $SUINFO{$name} = $value; } close $suspended_info_fh; unlink '/var/cpanel/suspendinfo/' . $user; } my $cpuser_guard = Cpanel::Config::CpUserGuard->new($user); my $cpuser_data = $cpuser_guard->{'data'}; delete $cpuser_data->{'SUSPENDED'}; $cpuser_guard->save(); AcctLock::acctlock(); # Reset shell my $newshell; if ( !$SUINFO{'shell'} ) { $newshell = '/usr/local/cpanel/bin/noshell'; } elsif ( -x $SUINFO{'shell'} ) { $newshell = $SUINFO{'shell'} } else { $newshell = $shell; } try { Cpanel::Passwd::Shell::update_shell_without_acctlock( 'user' => $user, 'shell' => $newshell ); } catch { print Cpanel::Exception::get_string($_) . "\n"; }; my $crypted_pass = ( Cpanel::PwCache::getpwnam($user) )[1]; $crypted_pass =~ s{^\!+}{}g; my ( $status, $statusmsg ) = Cpanel::Auth::Shadow::update_shadow_without_acctlock( $user, $crypted_pass ); print $statusmsg . "\n" if !$status; AcctLock::acctunlock(); Cpanel::Auth::Digest::DB::Manage::unlock($user) if Cpanel::Auth::Digest::DB::Manage::has_entry($user); my @DNS = ( $cpuser_data->{'DOMAIN'} ); if ( exists $cpuser_data->{'DOMAINS'} ) { push @DNS, @{ $cpuser_data->{'DOMAINS'} } } { my $tempquota = Cpanel::Quota::Temp->new( user => $user ); $tempquota->disable(); if ( -e "$homedir/etc/webdav/shadow" ) { print "Unsuspending webdav users\n"; unsuspendshadowfile( $user, "$homedir/etc/webdav/shadow" ); } foreach my $dns (@DNS) { $dns = Cpanel::Validate::Domain::Normalize::normalize( $dns, 1 ); next if !Cpanel::Validate::Domain::Tiny::validdomainname($dns); if ( -f "${homedir}/etc/${dns}/shadow" && !-l "${homedir}/etc/${dns}/shadow" ) { print "Unsuspending email account logins for $dns .... "; unsuspendshadowfile( $user, "${homedir}/etc/${dns}/shadow" ); print "Done\n"; } } Cpanel::Dovecot::Action::flush_all_auth_caches_for_user($user); } my $dns_list = join( '|', map { quotemeta($_) } @DNS ); my $suspended_list_files = Cpanel::FileUtils::Match::get_matching_files( "$Cpanel::ConfigFiles::MAILMAN_ROOT/suspended.lists", "_(?:$dns_list)" . '$' ); foreach my $list ( @{$suspended_list_files} ) { my ($list_name) = $list =~ m{^.*/([^/]+)$}; $list_name =~ tr{_}{@}; print "Unsuspending mailing list for $list_name\n"; my $unsuspended_list = $list; $unsuspended_list =~ s/\/suspended.lists\//\/lists\//; if ( -e $unsuspended_list ) { rename( $unsuspended_list, $unsuspended_list . '.' . time() ) } rename( $list, $unsuspended_list ); Cpanel::Mailman::ListManager::regenerate_list($unsuspended_list); } #FIXME: Everything in this script should eventually be done via this function call. try { Whostmgr::Accounts::Unsuspend->new($user); } catch { warn Cpanel::Exception::get_string($_); }; warn if !eval { Whostmgr::Accounts::SuspensionData::Writer->new()->unsuspend($user); 1; }; print "Unsuspending websites...\n"; Whostmgr::Accounts::Unsuspend::Htaccess::unsuspend_htaccess( $user, \@DNS ); _generate_account_suspension_include(); my $ftpfile = "$Cpanel::ConfigFiles::FTP_PASSWD_DIR/$user"; # Manipulation of these files isn't thread safe. # The root file is intentionally locked before checking the existence of the suspended file. my $ftplock = Cpanel::SafeFile::safelock($ftpfile); if ( -e $ftpfile . '.suspended' ) { my $ftpsuspendedlock = Cpanel::SafeFile::safelock("$ftpfile.suspended"); print "Unsuspending FTP accounts...\n"; if ( -e $ftpfile ) { unlink $ftpfile; } rename $ftpfile . '.suspended', $ftpfile or warn "Could not rename $ftpfile.suspended to $ftpfile"; Cpanel::SafeFile::safeunlock($ftpsuspendedlock); } Cpanel::SafeFile::safeunlock($ftplock); Cpanel::ServerTasks::schedule_task( ['CpDBTasks'], 10, "ftpupdate" ); print "${user}'s account is now active\n"; # Unsuspending Team Accounts if ( -e "$Cpanel::Team::Constants::TEAM_CONFIG_DIR/$user" ) { print "Unsuspending team account ... "; eval { Cpanel::Team::Config->new($user)->unsuspend_team(); }; $@ ? warn "Unable to suspend Team Account" : print "Done\n"; } my $domain = Cpanel::AcctUtils::Domain::getdomain($user); my $user_crontab_dir = Cpanel::OS::user_crontab_dir(); if ( -f "$user_crontab_dir.suspended/$user" ) { unlink "$user_crontab_dir/$user"; rename "$user_crontab_dir.suspended/$user", "$user_crontab_dir/$user"; } if ( Cpanel::Services::Enabled::are_provided('mysql') ) { print "Unsuspending mysql users\n"; Cpanel::MysqlUtils::Suspension::unsuspend_mysql_users($user); } my $owner = Cpanel::AcctUtils::Owner::getowner($user); $owner =~ s/\n//g; my $host; if ( $owner eq '' || $owner eq 'root' || $user eq $owner ) { $host = Cpanel::Hostname::gethostname(); } else { $host = Cpanel::AcctUtils::Domain::getdomain($owner); } #if the account reseller does not exist on this server we fall back to root if ( !$host ) { $host = Cpanel::Hostname::gethostname(); $owner = 'root'; } my %account_unsuspension_notification = ( 'user' => $user, 'user_domain' => $domain, 'env_remote_user' => $ENV{'REMOTE_USER'}, 'env_user' => $ENV{'USER'}, 'host_server' => $host, 'origin' => 'Unsuspend Account', 'source_ip_address' => Cpanel::IP::Remote::get_current_remote_ip(), ); # send root notification Cpanel::Notify::notification_class( 'class' => 'unsuspendacct::Notify', 'application' => 'unsuspendacct::Notify', 'constructor_args' => [%account_unsuspension_notification] ); # send one to account reseller as well as long as they are not root if ( $owner ne 'root' ) { Cpanel::Notify::notification_class( 'class' => 'unsuspendacct::Notify', 'application' => 'unsuspendacct::Notify', 'constructor_args' => [ %account_unsuspension_notification, 'to' => $owner, 'username' => $owner ] ); } Cpanel::AcctUtils::AccountingLog::append_entry( 'UNSUSPEND', [ $user, $domain ] ); Cpanel::PwCache::Clear::clear_global_cache(); do_hook( $user, 'post' ); system '/usr/local/cpanel/scripts/postunsuspendacct', @argv if -x '/usr/local/cpanel/scripts/postunsuspendacct'; # The new default is to remove all backend service proxying unless otherwise specified if ($retain_service_proxies) { print "Keep service proxying settings for this account...Done\n"; } else { { print "The system will disable service proxying for this account..."; require Cpanel::AccountProxy::Transaction; local $SIG{'__WARN__'} = sub { print "\n" . shift . "\n" }; Cpanel::AccountProxy::Transaction::unset_all_backends_and_update_services($user); print "Done\n"; } } print "$user\'s account has been unsuspended\n"; return 0; } sub do_hook { my ( $user, $stage ) = @_; my ( $result, $hooks_msgs ) = Cpanel::Hooks::hook( { 'category' => 'Whostmgr', 'event' => 'Accounts::unsuspendacct', 'stage' => $stage, 'escalateprivs' => 1, }, { 'args' => { 'user' => $user, }, 'result' => 1, 'user' => 'root', }, ); if ( ref $hooks_msgs eq 'ARRAY' && @$hooks_msgs != 0 ) { foreach my $error ( @{$hooks_msgs} ) { print $error; } return 0; } return 1; } sub unsuspendshadowfile { my ( $user, $file ) = @_; my $access_ids = Cpanel::AccessIds::ReducedPrivileges->new($user); return _unsuspendshadowfile($file); } sub _unsuspendshadowfile { my ($file) = @_; return if !-e $file; my $shadowlock = Cpanel::SafeFile::safeopen( \*SHF, '+<', $file ); if ( !$shadowlock ) { $logger->die("Could not update $file: $!"); } my @CT = <SHF>; seek( SHF, 0, 0 ); foreach (@CT) { my @DC = split( /:/, $_ ); chomp( $DC[$#DC] ); foreach my $field ( 1, 8 ) { while ( $DC[$field] =~ m/^\*LOCKED\*/ ) { $DC[$field] =~ s/^\*LOCKED\*//; } } print SHF join( ':', @DC ) . "\n"; } truncate( SHF, tell(SHF) ); return Cpanel::SafeFile::safeclose( \*SHF, $shadowlock ); } sub _generate_account_suspension_include { require "/usr/local/cpanel/scripts/generate_account_suspension_include"; ## no critic qw(Modules::RequireBarewordIncludes) -- refactoring this is too large generate_account_suspension_include::update_include_and_restart_httpd(); return 1; } sub usage { my ( $retval, $msg ) = @_; my $fh = $retval ? \*STDERR : \*STDOUT; my $p = $0; $p =~ s{^.+/(.+)$}{$1}; if ( !defined $msg ) { $msg = <<EOF; Usage: $p user [--retain-service-proxies] [--usage | --help] Unsuspend a user's account where user -- is a valid user name (required) If --retain-service-proxies is specified, then any service proxy backends that were put in place as a result of a transfer-related suspension will be retained. The --child-ok argument defeats the usual protection against unsuspending distributed accounts on child nodes. Ordinarily you should suspend and unsuspend distributed accounts on their parent nodes. Use of this flag is UNSUPPORTED. Now supports driving instructions via --help, --usage EOF } print {$fh} $msg; return $retval; } 1;
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
cpan_sandbox
---
0755
php_sandbox
---
0755
MirrorSearch_pingtest
2437 bytes
0755
activesync-invite-reply
1734 bytes
0755
add_dns
2418 bytes
0755
adddns
2418 bytes
0755
addpop
6228 bytes
0755
addsystemuser
3345 bytes
0755
adduser
92 bytes
0755
apachelimits
4410 bytes
0755
archive_sync_zones
3096 bytes
0755
auto-adjust-mysql-limits
1854 bytes
0755
autorepair
1274 bytes
0755
backups_clean_metadata_for_missing_backups
1612 bytes
0755
backups_create_metadata
16126 bytes
0755
backups_list_user_files
4671 bytes
0755
balance_linked_node_quotas
2643 bytes
0755
biglogcheck
1729 bytes
0755
build_bandwidthdb_root_cache_in_background
1561 bytes
0755
build_cpnat
3494 bytes
0755
build_mail_sni
3966 bytes
0755
build_maxemails_config
1169 bytes
0755
builddovecotconf
6922 bytes
0755
buildeximconf
7167 bytes
0755
buildhttpdconf
2664 bytes
0755
buildnsdconf
1031 bytes
0755
buildpureftproot
539 bytes
0755
ccs-check
5031 bytes
0755
check_cpanel_pkgs
11007 bytes
0755
check_cpanel_rpms
218 bytes
0755
check_domain_tls_service_domains.pl
6841 bytes
0755
check_immutable_files
5621 bytes
0755
check_mail_spamassassin_compiledregexps_body_0
187 bytes
0755
check_maxmem_against_domains_count
3652 bytes
0755
check_mount_procfs
2072 bytes
0755
check_mysql
5684 bytes
0755
check_security_advice_changes
8477 bytes
0755
check_unmonitored_enabled_services
4666 bytes
0755
check_unreliable_resolvers
3672 bytes
0755
check_users_my_cnf
6191 bytes
0755
check_valid_server_hostname
7840 bytes
0755
checkalldomainsmxs
2462 bytes
0755
checkbashshell
1205 bytes
0755
checkccompiler
1253 bytes
0755
checkexim.pl
3172 bytes
0755
checklink
1323 bytes
0755
checknsddirs
1014 bytes
0755
checkusers
856 bytes
0755
chkmydns
561 bytes
0755
chkpaths
141 bytes
0755
chpass
416 bytes
0755
ckillall
1139 bytes
0755
clean_dead_mailman_locks
2141 bytes
0755
clean_up_temp_wheel_users
2498 bytes
0755
clean_user_php_sessions
4875 bytes
0755
cleandns
13408 bytes
0755
cleandns8
417 bytes
0755
cleanmsglog
735 bytes
0755
cleanphpsessions
932 bytes
0755
cleanphpsessions.php
658 bytes
0644
cleanquotas
1651 bytes
0755
cleansessions
6050 bytes
0755
cleanupinterchange
2706 bytes
0755
cleanupmysqlprivs
533 bytes
0755
clear_cpaddon_ui_caches
1301 bytes
0755
clear_orphaned_virtfs_mounts
3645 bytes
0755
comparecdb
1561 bytes
0755
compilers
2932 bytes
0755
compilerscheck
999 bytes
0755
configure_firewall_for_cpanel
520 bytes
0755
configure_rh_firewall_for_cpanel
520 bytes
0755
configure_rh_ipv6_firewall_for_cpanel
520 bytes
0755
convert2dovecot
682 bytes
0755
convert_accesshash_to_token
4171 bytes
0755
convert_and_migrate_from_legacy_backup
2017 bytes
0755
convert_maildir_to_mdbox
1703 bytes
0755
convert_mdbox_to_maildir
1698 bytes
0755
convert_roundcube_mysql2sqlite
25889 bytes
0755
convert_to_dovecot_delivery
4438 bytes
0755
convert_whmxfer_to_sqlite
1499 bytes
0755
copy_user_mail_as_root
1281 bytes
0755
copy_user_mail_as_user
1375 bytes
0755
cpaddonsup
3324 bytes
0755
cpan_config
2870 bytes
0755
cpanel_initial_install
68980 bytes
0755
cpanelsync
28991 bytes
0755
cpanelsync_postprocessor
1657 bytes
0755
cpanpingtest
965 bytes
0755
cpbackup
45841 bytes
0755
cpbackup_transport_file
5781 bytes
0755
cpdig
1853 bytes
0755
cpfetch
1258 bytes
0755
cphulkdblacklist
433 bytes
0755
cphulkdwhitelist
1336 bytes
0755
cpservice
2934 bytes
0755
cpuser_port_authority
19755 bytes
0755
cpuser_service_manager
11113 bytes
0755
createacct
25763648 bytes
0700
custom_backup_destination.pl.sample
5182 bytes
0755
custom_backup_destination.pl.skeleton
2906 bytes
0755
dav_change_hostname
3652 bytes
0755
dcpumon-wrapper
850 bytes
0755
delpop
6350 bytes
0755
detect_env_capabilities
508 bytes
0755
disable_prelink
2841 bytes
0755
disable_sqloptimizer
1524 bytes
0755
disablefileprotect
2137 bytes
0755
distro_changed_hook
1185 bytes
0755
dnscluster
4546 bytes
0755
dnsqueuecron
1316 bytes
0755
dnssec-cluster-keys
3840 bytes
0755
dovecot_maintenance
8123 bytes
0755
dovecot_set_defaults.pl
984 bytes
0755
dumpcdb
866 bytes
0755
dumpinodes
687 bytes
0755
dumpquotas
616 bytes
0755
dumpstor
913 bytes
0755
ea4_fresh_install
2699 bytes
0755
edit_cpanelsync_exclude_list
2641 bytes
0755
editquota
3518 bytes
0755
elevate-cpanel
386935 bytes
0700
email_archive_maintenance
6300 bytes
0755
email_hold_maintenance
1495 bytes
0755
enable_spf_dkim_globally
9039 bytes
0755
enable_sqloptimizer
1609 bytes
0755
enablefileprotect
2149 bytes
0755
ensure_autoenabled_features
2616664 bytes
0700
ensure_conf_dir_crt_key
4940 bytes
0755
ensure_cpuser_file_ip
2610 bytes
0755
ensure_crontab_permissions
1101 bytes
0755
ensure_dovecot_memory_limits_meet_minimum
3208 bytes
0755
ensure_hostname_resolves
2628 bytes
0755
ensure_includes
601 bytes
0755
ensure_vhost_includes
13851 bytes
0755
exim_tidydb
3036 bytes
0755
eximconfgen
1350 bytes
0755
eximstats_spam_check
867 bytes
0755
export_horde_calendars_to_ics
15431 bytes
0755
export_horde_contacts_to_vcf
14279 bytes
0755
exportmydnsdb
3552 bytes
0755
expunge_expired_certificates_from_sslstorage
3648 bytes
0755
expunge_expired_pkgacct_sessions
852 bytes
0755
expunge_expired_transfer_sessions
1089 bytes
0755
fastmail
5281 bytes
0755
featuremod
1970 bytes
0755
fetchfile
422 bytes
0755
find_and_fix_rpm_issues
7156 bytes
0755
find_outdated_services
5538 bytes
0755
find_pids_with_inotify_watch_on_path
3745 bytes
0755
fix-cpanel-perl
29516 bytes
0755
fix-listen-on-localhost
3604 bytes
0755
fix-web-vhost-configuration
6296 bytes
0755
fix_addon_permissions
7864 bytes
0755
fix_dns_zone_ttls
1369 bytes
0755
fix_innodb_tables
4149 bytes
0755
fix_pear_registry
4171 bytes
0755
fix_reseller_acls
11144 bytes
0755
fixetchosts
4424 bytes
0755
fixheaders
572 bytes
0755
fixmailinglistperms
1008 bytes
0755
fixmailman
2144 bytes
0755
fixnamedviews
1247 bytes
0755
fixndc
413 bytes
0755
fixquotas
17873 bytes
0755
fixrelayd
1784 bytes
0755
fixrndc
16877 bytes
0755
fixtar
503 bytes
0755
fixtlsversions
4816 bytes
0755
fixvaliases
2047 bytes
0755
fixwebalizer
966 bytes
0755
forcelocaldomain
895 bytes
0755
ftpfetch
2251 bytes
0755
ftpquotacheck
8511 bytes
0755
ftpsfetch
2416 bytes
0755
ftpupdate
261 bytes
0755
gather_update_log_stats
4354 bytes
0700
gather_update_logs_setupcrontab
5582 bytes
0700
gemwrapper
1783 bytes
0755
gencrt
6410 bytes
0755
generate_account_suspension_include
5840 bytes
0755
generate_google_drive_credentials
1135 bytes
0755
generate_google_drive_oauth_uri
984 bytes
0755
generate_maildirsize
14272 bytes
0755
gensysinfo
1185 bytes
0755
get_locale_from_legacy_name_info
2041 bytes
0755
getremotecpmove
12978 bytes
0755
grpck
1218 bytes
0755
hackcheck
3092 bytes
0755
hook
1487 bytes
0755
httpspamdetect
2724 bytes
0755
hulk-unban-ip
4117024 bytes
0700
import_exim_data
8593 bytes
0755
importmydnsdb
11610 bytes
0755
increase_filesystem_limits
891 bytes
0755
initacls
5107 bytes
0755
initfpsuexec
444 bytes
0755
initquotas
19942 bytes
0755
initsuexec
4123 bytes
0755
install_cpanel_analytics
1973 bytes
0755
install_dovecot_fts
1605 bytes
0755
install_plugin
2869 bytes
0755
installpkg
575 bytes
0755
installpostgres
6714 bytes
0755
installsqlite3
1866 bytes
0755
ipcheck
4020 bytes
0755
ipusage
7624 bytes
0755
isdedicatedip
602 bytes
0755
jetbackup-check
3776 bytes
0755
killdns
422 bytes
0755
killdns-dnsadmin
1180 bytes
0755
killmysqluserprivs
433 bytes
0755
killmysqlwildcard
1180 bytes
0755
killpvhost
853 bytes
0755
killspamkeys
937 bytes
0755
link_3rdparty_binaries
1271 bytes
0755
linksubemailtomainacct
3248 bytes
0755
listcheck
538 bytes
0755
listsubdomains
1074 bytes
0755
litespeed-check
3952 bytes
0755
locale_export
4935 bytes
0755
locale_import
4453 bytes
0755
locale_info
4086 bytes
0755
logo.dat
205 bytes
0644
magicloader
1985 bytes
0755
maildir_converter
6222 bytes
0755
mailperm
16973 bytes
0755
mailscannerupdate
2478 bytes
0755
mainipcheck
10236 bytes
0755
maintenance
47737 bytes
0755
make_config
407 bytes
0644
make_hostname_unowned
1189 bytes
0755
manage_extra_marketing
12712 bytes
0700
manage_greylisting
16577 bytes
0755
manage_mysql_profiles
20498 bytes
0755
migrate-pdns-conf
10062 bytes
0755
migrate_local_ini_to_php_ini
7587 bytes
0755
migrate_whmtheme_file_to_userdata
3025 bytes
0755
mkwwwacctconf
2385 bytes
0755
modify_accounts
4184 bytes
0755
modify_featurelist
9420 bytes
0700
modify_packages
3735 bytes
0755
modsec_vendor
16008 bytes
0755
mysqlconnectioncheck
6704 bytes
0755
mysqlpasswd
4190 bytes
0755
named.ca
1603 bytes
0644
named.rfc1912.zones
774 bytes
0644
notify_expiring_certificates
9592 bytes
0755
notify_expiring_certificates_on_linked_nodes
1361 bytes
0755
oopscheck
1142 bytes
0755
optimize_eximstats
3975 bytes
0755
patch_mail_spamassassin_compiledregexps_body_0
2452 bytes
0755
patchfdsetsize
2784 bytes
0755
pedquota
2310 bytes
0755
perform_sqlite_auto_rebuild_db_maintenance
2252 bytes
0755
perlinstaller
528 bytes
0755
perlmods
1204 bytes
0755
php_fpm_config
9968 bytes
0755
phpini_tidy
687 bytes
0755
pkgacct
89927 bytes
0755
post_snapshot
3232 bytes
0755
post_sync_cleanup
6237 bytes
0755
premodifyacct
62 bytes
0755
primary_virtual_host_migration
2502 bytes
0755
process_pending_cpanel_php_pear_registration
3575 bytes
0755
process_site_templates
7445 bytes
0755
proxydomains
9568 bytes
0755
ptycheck
724 bytes
0755
purge_modsec_log
1563 bytes
0755
purge_old_config_caches
2125 bytes
0755
pwck
708 bytes
0755
quickdnslookup
1159 bytes
0755
quickwhoisips
2348 bytes
0755
quota_auto_fix
1440 bytes
0755
quotacheck
22900 bytes
0755
rawchpass
460 bytes
0755
rdate
4913 bytes
0755
realadduser
5743 bytes
0755
realchpass
3336 bytes
0755
realperlinstaller
5805 bytes
0755
realrawchpass
425 bytes
0755
rebuild_available_addons_packages_cache
1301 bytes
0755
rebuild_available_rpm_addons_cache
1301 bytes
0755
rebuild_bandwidthdb_root_cache
1487 bytes
0755
rebuild_dbmap
5937 bytes
0755
rebuild_provider_openid_connect_links_db
1039 bytes
0755
rebuild_whm_chrome
2277 bytes
0755
rebuilddnsconfig
26842 bytes
0755
rebuildhttpdconf
2664 bytes
0755
rebuildinstalledssldb
2917 bytes
0755
rebuildippool
509 bytes
0755
rebuildnsdzones
1164 bytes
0755
rebuilduserssldb
948 bytes
0755
refresh-dkim-validity-cache
6110 bytes
0755
regenerate_tokens
2228 bytes
0755
reloadnsd
821 bytes
0755
remote_log_transfer
11875 bytes
0755
remove_dovecot_index_files
6028 bytes
0755
removeacct
21924040 bytes
0700
rescan_user_dovecot_fts
3048 bytes
0755
reset_mail_quotas_to_sane_values
6982 bytes
0755
resetmailmanurls
2077 bytes
0755
resetquotas
4789 bytes
0755
restartsrv
3310 bytes
0755
restartsrv_apache
422 bytes
0755
restartsrv_apache_php_fpm
10381968 bytes
0755
restartsrv_base
10381968 bytes
0755
restartsrv_bind
10381968 bytes
0755
restartsrv_chkservd
427 bytes
0755
restartsrv_clamd
10381968 bytes
0755
restartsrv_cpanalyticsd
10381968 bytes
0755
restartsrv_cpanel_php_fpm
10381968 bytes
0755
restartsrv_cpanellogd
10381968 bytes
0755
restartsrv_cpdavd
10381968 bytes
0755
restartsrv_cpgreylistd
10381968 bytes
0755
restartsrv_cphulkd
10381968 bytes
0755
restartsrv_cpipv6
10381968 bytes
0755
restartsrv_cpsrvd
10381968 bytes
0755
restartsrv_crond
10381968 bytes
0755
restartsrv_dnsadmin
10381968 bytes
0755
restartsrv_dovecot
10381968 bytes
0755
restartsrv_exim
10381968 bytes
0755
restartsrv_eximstats
504 bytes
0755
restartsrv_ftpd
426 bytes
0755
restartsrv_ftpserver
911 bytes
0755
restartsrv_httpd
10381968 bytes
0755
restartsrv_imap
437 bytes
0755
restartsrv_inetd
2525 bytes
0755
restartsrv_ipaliases
10381968 bytes
0755
restartsrv_lmtp
437 bytes
0755
restartsrv_mailman
10381968 bytes
0755
restartsrv_mydns
10381968 bytes
0755
restartsrv_mysql
10381968 bytes
0755
restartsrv_named
777 bytes
0755
restartsrv_nscd
10381968 bytes
0755
restartsrv_nsd
10381968 bytes
0755
restartsrv_p0f
10381968 bytes
0755
restartsrv_pdns
10381968 bytes
0755
restartsrv_pop3
437 bytes
0755
restartsrv_postgres
427 bytes
0755
restartsrv_postgresql
10381968 bytes
0755
restartsrv_powerdns
442 bytes
0755
restartsrv_proftpd
10381968 bytes
0755
restartsrv_pureftpd
10381968 bytes
0755
restartsrv_queueprocd
10381968 bytes
0755
restartsrv_rsyslog
10381968 bytes
0755
restartsrv_rsyslogd
437 bytes
0755
restartsrv_spamd
10381968 bytes
0755
restartsrv_sshd
10381968 bytes
0755
restartsrv_syslogd
2458 bytes
0755
restartsrv_tailwatchd
10381968 bytes
0755
restartsrv_unknown
10381968 bytes
0755
restartsrv_xinetd
422 bytes
0755
restorecpuserfromcache
2008 bytes
0755
restorepkg
38260760 bytes
0700
rfc1912_zones.tar
10240 bytes
0644
rpmup
4888 bytes
0755
rsync-user-homedir.pl
5903 bytes
0755
run_if_exists
512 bytes
0755
run_plugin_lifecycle
3616 bytes
0700
runstatsonce
440 bytes
0755
runweblogs
1045 bytes
0755
sa-update_wrapper
3418 bytes
0755
safetybits.pl
844 bytes
0755
secureit
4834 bytes
0755
securemysql
4651 bytes
0755
securerailsapps
3661 bytes
0755
securetmp
16371 bytes
0755
sendicq
474 bytes
0755
servicedomains
9568 bytes
0755
set_mailman_archive_perms
1796 bytes
0755
set_php_memory_limits
3758 bytes
0755
setpostgresconfig
6181 bytes
0755
setup_greylist_db
16577 bytes
0755
setup_modsec_db
1335 bytes
0755
setup_systemd_timer_for_plugins
4015 bytes
0700
setupftpserver
10726 bytes
0755
setupmailserver
9776 bytes
0755
setupnameserver
14078 bytes
0755
shrink_modsec_ip_database
13285 bytes
0755
simpleps
3124 bytes
0755
slurp_exim_mainlog
5914 bytes
0755
smartcheck
15492 bytes
0755
smtpmailgidonly
8346 bytes
0755
snapshot_prep
6017 bytes
0755
spamassassin_dbm_cleaner
5993 bytes
0755
spamassassindisable
3830 bytes
0755
spamboxdisable
2324 bytes
0755
sshcontrol
14722 bytes
0755
ssl_crt_status
3928 bytes
0755
suspendacct
18438 bytes
0755
suspendmysqlusers
4528 bytes
0755
swapip
3914 bytes
0755
sync-mysql-users-from-grants
1225 bytes
0755
sync_child_accounts
1813 bytes
0755
sync_contact_emails_to_cpanel_users_files
1163 bytes
0755
synccpaddonswithsqlhost
6753 bytes
0755
synctransfers
1971 bytes
0755
syslog_check
1391 bytes
0755
sysup
645 bytes
0755
test_sa_compiled
1093 bytes
0755
transfer_account_as_user
2398 bytes
0755
transfer_accounts_as_root
4870 bytes
0755
transfer_in_progress
3156 bytes
0755
transfer_in_progress.pod
312 bytes
0644
transfermysqlusers
9988808 bytes
0700
try-later
8140 bytes
0755
unblockip
667 bytes
0755
uninstall_cpanel_analytics
1230 bytes
0755
uninstall_dovecot_fts
562 bytes
0755
uninstall_plugin
2907 bytes
0755
unlink_service_account
2682 bytes
0755
unpkgacct
4713 bytes
0755
unslavenamedconf
863 bytes
0755
unsuspendacct
18230 bytes
0755
unsuspendmysqlusers
6873 bytes
0755
upcp
32315 bytes
0755
upcp-running
2768 bytes
0755
upcp.static
725603 bytes
0755
update-packages
4888 bytes
0755
update_apachectl
480 bytes
0755
update_db_cache
430 bytes
0755
update_dkim_keys
1485 bytes
0755
update_exim_rejects
1242 bytes
0755
update_existing_mail_quotas_for_account
4891 bytes
0755
update_known_proxy_ips
1002 bytes
0755
update_local_rpm_versions
4669 bytes
0755
update_mailman_cache
8545 bytes
0755
update_mysql_systemd_config
1280 bytes
0755
update_neighbor_netblocks
487 bytes
0755
update_sa_config
2196 bytes
0755
update_spamassassin_config
10988 bytes
0755
update_users_jail
691 bytes
0755
update_users_vhosts
801 bytes
0755
updatedomainips
605 bytes
0755
updatenameserverips
1696 bytes
0755
updatenow
5302 bytes
0755
updatenow.static
2001080 bytes
0755
updatesigningkey
1996 bytes
0755
updatessldomains
1856 bytes
0755
updatesupportauthorizations
2552 bytes
0755
updateuserdatacache
2529 bytes
0755
updateuserdomains
774 bytes
0755
upgrade_bandwidth_dbs
2272 bytes
0755
upgrade_subaccount_databases
2797 bytes
0755
userdata_wildcard_cleanup
5877 bytes
0755
userdirctl
5134 bytes
0755
validate_sshkey_passphrase
1244 bytes
0755
verify_api_spec_files
757 bytes
0755
verify_pidfile
2008 bytes
0755
verify_vhost_includes
7517 bytes
0755
vps_optimizer
8007 bytes
0755
vzzo-fixer
725 bytes
0755
whmlogin
2390 bytes
0755
whoowns
1155 bytes
0755
wpt_license
6569696 bytes
0700
wwwacct
25763648 bytes
0700
wwwacct2
88 bytes
0755
xfer_rcube_schema_migrate.pl
2460 bytes
0755
xfer_rcube_uid_resolver.pl
1846 bytes
0755
xferpoint
3201 bytes
0755
xfertool
16528 bytes
0755
zoneexists
800 bytes
0755
N4ST4R_ID | Naxtarrr