| ||||||||||||||
How does Sender ID Framework work?
|
| ||||||||||||||
How does Sender ID Framework work?
|
Add proxy VirtualHost to httpd.conf to automatically redirect unconfigured cpanel, webmail, webdisk and whm subdomains to the correct port (requires mod_rewrite and mod_proxy)Automatically create cpanel, webmail, webdisk and whm proxy subdomain DNS entries for new accounts. When this is initially enabled it will add appropriate proxy subdomain DNS entries to all existing accounts. (Use /scripts/proxydomains to reconfigure the DNS entries manually)Allow users to create cpanel, webmail, webdisk and whm subdomains that override automatically generated proxy subdomains/scripts/proxydomains add
/scripts/proxydomains –user= add
/scripts/proxydomains –domain= add
# mount /dev/ext_storage_dev_name /vzs
# service vz stop
# cp -a /vz/* /vzs/
# umount /vz
# umount /vzs# mount /vz
# service vz start
SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root?chmod +s /opt/suphp/bin/suphp
1. Login to the server via SSH using as root ID.
2. Ensure that you’re at home directory of root. Then open up the .bash_profile for editing using pico or vi by typing one of the following commands at command shell line:
Using Pico# pico .bash_profile
Using Nano# nano .bash_profile
Using Vi# vi .bash_profile
3. Scroll down to the end of the file and add the following line:
“echo ‘ALERT – echo ‘ALERT – Root Shell Access (YourserverName) :’ `date` `who` | mail -s “Alert: Root Access from `who | cut -d”(” -f2 | cut -d”)” -f1`” user@example.com” (Without the quotes)
Now logout and login again as root, you should receive an email alert at your inbox. This works on most popular flavor of Linux such as RedHat, CentOS, Ubuntu, FreeBSD , etc.
4. Replace user@email.com with the actual email account address that you want to the root access alert notification been sent to. Note that you can change the text contains in the email alert too. You will want to change the (YourserverName) to your actual server name or hostname.
* */1 * * * (cd /usr/bin; ./uptime 2>&1 | mail -s “System load” your.email.com)