By
Gunjan · July 31, 2009
The crontab correct permission is 4755.
chmod 4755 /usr/bin/crontab
Category: Linux Permissions
Tags: correct permission issue with linux server, crontab correct permission, crontab correct permission issue, crontab file issue, crontab issue, crontab permission, issue with crontab correct permission, linux server crontab issue, set correct permission for crontab file, what is correct permission for crontab, what is crontab correct permission, why we use crontab correct permission Comments off
You can reinstall the Frontpage extension for single hosting account / domain by using following command from shell.
cd /usr/local/frontpage/version5.0/bin
./owsadm.exe -o install -u cpanel_user_name -p 80 -m www.domainname.com -servconf /usr/local/apache/conf/httpd.conf -xuser cpanel_user_name
You will need an IP address for each nameserver.
Under ‘Basic cPanel/WHM Setup’ -> Scroll Down to ‘Primary Nameserver’.
Now add your nameservers in the fields available. Click on Assign IP Address next to each nameserver to assign it an IP. Then add an A entry so they will resolve through DNS. Finally, make sure that you scroll down and click on ‘Nameserver Setup’ under ‘Service Configuration’ and enable the nameserver.
You can install RKHunter on Linux Server by using following steps.
1 Login to your server as root
2. cd /usr/local/src
3 Download RKHunter and extract the archive
wget http://downloads.rootkit.nl/rkhunter-1.1.4.tar.gz
Some time above URL is working fine due to that you can also use following URL to download the tar file.
http://sourceforge.net/projects/rkhunter/files/rkhunter/1.3.4/rkhunter-1.3.4.tar.gz/download?use_mirror=autoselect
tar -xzvf rkhunter-1.1.4.tar.gz
4. Install RKHunter
cd rkhunter
./installer.sh
Or
./installer.sh –layout default –install
You can also set the cron to receive the RKHunter result.
vi /etc/cron.daily/rkhunter.sh
#!/bin/bash
(/usr/local/bin/rkhunter –update && /usr/local/bin/rkhunter -c –nocolors –skip-keypress –summary 2>&1 | mail -s “RKhunter Scan Details” username@yourdomain.com)
chmod a+x /etc/cron.daily/rkhunter.sh
Category: Server Security
Tags: cron to receive the RKHunter, defination for RKHunter, Download RKHunter, Download RKHunter free installation, explain RKHunter, free Download RKHunter, Free installaion Download RKHunter, install Download RKHunter, Install RKHunter, installer.sh --layout, installer.sh --layout default --install, RKHunter cron, RKHunter use, what is RKHunter, why RKHunter Comments off
By
Gunjan · July 24, 2009
You can check the world-writable files on your Server by using following command from shell.
Gunjan@root# find / -perm -2 ! -type l -ls
You can check SUID/SGID programs on your systemSUID/SGID programs on your Server by using following command from your shell.
Gunjan@root# find / -type f \( -perm -04000 -o -perm -02000 \)
By
Gunjan · July 18, 2009
The most common question for beginners on linux server is “What is Exim”? we are using sendmai on Linux server then why Exim is present on server,now a days its very basic question for beginners…..
By
Gunjan · July 16, 2009
NFS word belongs to “Network File System“. NFS allows to access files on server from network users which stored on computers of different types.NFS allow to access files by using Virtual File System (VFS) that runs on top of TCP/IP. With NFS, computers connected to a network as a client while accessing remote files, and as servers while providing remote users access to local shared files. With NFS we can mount all or a portion of a file system which will allow client to access partition or specific file/directory which we defined in NFS mount point for specific user or network.
By
Gunjan · July 13, 2009
To check run level run “who -r” on shell it will show you current run level set on your server.
root@Gunjan [~]# who -r
run-level 3 2009-01-07 21:19 last=S
Category: Basic Linux
Tags: coammand who, defination for run level, explain command who, explain run level, explaing run level for linux, Linux server isssue run level, linux server run level, linux with run level, run level issue with linux server, simple emaple who -r, ssh with who -r, what is run level, what is who -r?, who -r, who -r from shell, why run level use, why who -r use Comments off