Log files are the most valuable tools available for Linux system security. The logrotate program is used to provide the administrator with an up-to-date record of events taking place on the system. The logrotate utility may also be used to back up log files, so copies may be used to establish patterns for system use. logrotate the logrotate program is a log file manager. It is used to regularly cycle (or rotate) log files by removing the oldest ones from your system and creating new log files. It may be used to rotate based on the age of the file or the file’s size, and usually runs automatically through the cron utility. The logrotate program may also be used to compress log files and to configure e-mail to users when they are rotated. Configuration File :- Files /var/lib/logrotate.status >> this file update status of recent execution of logrotation. root@puppet:~/sadeek/big# ls -l /var/lib/logrotate/status -rw-r--r-- 1 root root 2030 Feb...
I know for a beginner how tough to find which types of question an interviewer will ask to ?? ... These are the some Question for Reference... 1. Diff between RHEL 4 & 5 & 6 2. About boot proces 3. Types of DNS? 4. how dns works? 5. what is squid? 6. port number of data ftp, ftp, telnet, smtp, sql 7. what is sendmail hows it's works 8. How to block downloading in squid 9. How you handle Load on server? 10. Fields in crontab? 11. Any backup tools you know? 12. How to update your server? 13. rpm commands to update, erase, install etc... 14. Use squid to do authentication of users on browser? 15. Use of NFS and samba? 16. Diff NfS & Samba? 17. What is SeLinux? 18. Default cache size in Squid? 19. I want to assign NISdomainnam...
Comments
Post a Comment