Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../etc/profile....
File: sharedrads.sh
# If interactive
[0] Fix | Delete
if [ "${PS1}" ]; then
[1] Fix | Delete
# if root
[2] Fix | Delete
if [ "$EUID" -eq 0 ]; then
[3] Fix | Delete
export PATH="${PATH}:/opt/sharedrads:/opt/sharedrads/extras:/opt/sharedrads/mysql:/opt/spamassassin/bin"
[4] Fix | Delete
alias sl='/opt/sharedrads/server-load'
[5] Fix | Delete
alias suspendacct='/opt/sharedrads/suspend_user'
[6] Fix | Delete
alias unsuspendacct='/opt/sharedrads/unsuspend_user'
[7] Fix | Delete
# if in a staff group
[8] Fix | Delete
elif id -Gn | /bin/grep -qP '\b(?:tier1adv|tier1|tier1e|aps|tier2s|managedhosting|engineering|tier3)(@ipa.imhtech.net)?\b' || (id -Gn | grep -qP '@ipa.imhtech.net'); then
[9] Fix | Delete
export PATH="${PATH}:/opt/sharedrads"
[10] Fix | Delete
alias account-review='sudo /opt/sharedrads/account-review'
[11] Fix | Delete
alias check_cpu='sudo /opt/sharedrads/check_cpu'
[12] Fix | Delete
alias upgrade-check='sudo /opt/sharedrads/upgrade-check'
[13] Fix | Delete
alias check_software='sudo -H /opt/sharedrads/check_software'
[14] Fix | Delete
alias dns-sync='sudo /opt/sharedrads/dns-sync'
[15] Fix | Delete
alias addspf='sudo /opt/sharedrads/update_spf'
[16] Fix | Delete
alias remote_dump='sudo /opt/sharedrads/remote_dump'
[17] Fix | Delete
alias hostsfilemods='sudo /opt/sharedrads/hostsfilemods'
[18] Fix | Delete
fi
[19] Fix | Delete
fi
[20] Fix | Delete
[21] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function