iEntry 10th Anniversary LinuxHaxor WH MH

6 Important Logfiles Stored in /var/log Directory


There are many log files in linux systems, but we will outline six that are most important.

  1. /var/log/cups/ - This directory stores the log files for the printing system CUPS.2007-11-22-063545_1280x800_scrot
  2. /var/log/news/ - This Directory stores messages for the news system.
  3. /var/log/boot.msg - When the system boots, all boot script messages are displayed on the first virtual console. This opften happens so fast that you cannot read all the messages. You can, however, read the boot messages including the output from start scripts of services in this file. You can display messages from the kernel during the boot procedure later with the command dmesg (/bin/dmesg).2007-11-22-063933_1280x800_scrot
  4. /var/log/mail - Messages from the mail system are written to this file. because this system often generates a lot of messages, there are additional log files: /var/log/mail.err
    /var/log/mail.info
    /var/log/mail.warn
    2007-11-22-064346_1280x800_scrot
  5. /var/log/wtmp - This file contain information about which user was logger in from where and for how long (since the file was created). This file contents are in binary form and can only be displayed with the command last (/usr/bin/last). Because of the binary format, it is difficult to manipulate entries in this file.2007-11-22-064006_1280x800_scrot
  6. /var/log/lastlog - This file contains information about user’s last login, from where, and for how long. You can view the contents of this command with the command lastlog.2007-11-22-064022_1280x800_scrot


6 Ways to Monitor Login Activity from the Command Line


One of the crucial task one have as an administrator is to make sure that there is no suspicious activity on the system that might compromise security.
Monitoring tasks include evaluating login activity for signs of a security breach, such as multiple failed logins.

To monitor login activity, you can use the following six commands.

  1. who. This command shows who is currently logged intothe system and information such as the time of the last login. You can use options such as -H (display column headings), -r (current runlevel), and -a (display information provided by most options).
    For example, entering who -H returns the following:
    who
  2. w. This command displays information about the users currently on the machine and their processes.
    The first line includes information the current time, how long the system has been running, how many users are currently logged on, the system load average for the past 1, 5, and 15 minutes. Below the first line is an entry for each user that displays the login name, the tty name, the remote host, login time, idle time, JCPU, PCPU, and the command line of the users current process.
    You can use options such as -h (don’t display the header), -s (don’t display the login time, JCPU, and PCPU), and -V (display version information)
    For example, entering w returns the following:
    w
  3. finger. This command displays information about local and remote system suers. By default, the following information is displayed about each user logged into the local host: login name, User’s full name, Associated terminal name, Idle time, Login time. You can use the options -l (long format) and -s (short format).
    For example, entering finger -s returns the following:
    finger
  4. last. This command displays a listing of the last logged in users. Last searches back through the file /var/log/wtmp (or the file designated by the option -f) and displays a list of all users logged in (and out) since the file was created. You can use options such as -num (where num is the number of lines to display), -a (display the hostname in the last column), and -x (display system shutdown entries and runlevel changes).
    For exmample, entering last -ax returns the following:
    last
  5. lastlog. This command formats and prints the contents of the last log file (/var/log/lastlog). the login name, port, and last login time are displayed. You can use options such as -u login_name (display information for designated users only) and -h (display a one line help message).
    For example, entering lastlog returns the following:
    lastlog
  6. faillog. This command formats and displays the contents of the failure log (/var/log/faillog) and maintains failure counts and limits. You can use options such as -u login_name (display information for designated users only) and -p (display in UID order).
    For example, entering faillog returns the following:
    faillog


10 Basic Linux Security Tips to Implement


women

The following is a list of rules and tips you might find useful in dealing with basic security concerns:

  1. Avoid doing your regular jobs when you are logged in as root. This reduces the risk of getting a cuckoo egg or a virus and protects you from your own mistakes.
  2. If possible, always try to use encrypted connections to work on a remote machine. Using SSH (secure shell) to replace telnet, ftp, rsh, and rlogin should be standard practice.
  3. Avoid using authentic method based on ip address alone.
  4. Try to keep the most important network-related packages up-to-date and subscribe to the corresponding mailing lists to recieve announcements on new versions of programs such as bind, postfix, and ssh. The same should apply to software relevant to local security.
  5. Disable any network services you do not absolutely require for your server to wok properly. This will make your system safer. Open ports, with the socket state LISTEN, can be found using the netstat program.
  6. RPM packages from SUSE are digitally signed. You can verify the integrity of any SUSE RPM package by entering this on concole: rpm — chechsig package.rpm . The needed public gpg-key is copied to the home directory of root upon installation.
  7. Check your backups of user and system files regularly. Remember that if you do not test whether the backup will work, its as good as useless.
  8. Check your log files. Whenever possible, write a small script to search for suspicious entries.
  9. Use firewall to enhance the security provided by tcpd (tcp wrapper)
  10. Design your security measure to be redundant. A message seen twice is better than no message at all.


Firefox 3 Beta 1 now available for download


fireccat

New features and changes in this milestone include:

  • Improved security features such as: better presentation of website identity and security, malware protection, stricter SSL error pages, anti-virus integration in the download manager, and version checking for insecure plugins.
  • Improved ease of use through: better password management, easier add-on installation, new download manager with resumable downloading, full page zoom, animated tab strip, and better integration with Windows Vista and Mac OS X.
  • Richer personalization through: one-click bookmarking, smart search bookmark folders, direct typing in location bar searches your history and bookmarks for URLs and page titles, ability to register web applications as protocol handlers, and better customization of download actions for file types.
  • Improved platform features such as: new graphics and font rendering architecture, major changes to the HTML rendering engine to provide better CSS, float-, and table layout support, native web page form controls, colour profile management, and offline application support.
  • Performance improvements such as: better data reliability for user profiles, architectural improvements to speed up page rendering, over 300 memory leak fixes, and a new XPCOM cycle collector to reduce entire classes of leaks.

Download Link in Linux MacOS and Windows version in 20 languages:
http://www.mozilla.com/en-US/firefox/all-beta.html

untitled



Pages (131): « First ... « 98 99 100 [101] 102 103 104 » ... Last »
  • Buy Cheap cialis sample Online Best Prices. No Prescription Needed.
  • Buy Cheapest pain meds online with no prescription Now Online Prices For pain meds online with no prescription! Pharmacy Store.
  • Buy Cheapest cialis levitra viagra compare Online Discount Drugs At Best Online Drugstore.
  • Buy Cheap xanax generic Now Best Internet. Online Prices For xanax generic!
  • Buy Cheap prescriptions narcotic pain medication Now WorldWide Shipping. Online Prices For prescriptions narcotic pain medication!
  • Buy Cheap weight loss drug Now WorldWide Shipping. Cheap Online Pharmacy.
  • Buy Cheapest cialis dysfunction erectile levitra viagra Online Cheap Pharmacy Online. Best Internet.
  • Buy Cheap side effects of amoxicillin Now Guaranteed Shipping. Online Medical Shop.
  • Buy Cheap 5mg cialis generic Online Pharmacy At The Best Price! Pharmacy Store.
  • Buy Cheap discount prescription medications pharmacies online Now Best Prices. The Largest Internet Pharmacy.
  • Buy Cheap ultram price Now No Prescription Needed. Online Medical Shop.
  • Buy Cheap top diet pill Online Online Prices For top diet pill! Low Prices.
  • Buy Cheapest buy cheap nexium Now Low Prices. Order Cheap Meds Without Rx.
  • Buy Cheap drugs without prescription foreign pharmacies Now WorldWide Shipping. Cheap Prescription Drugs.
  • Buy Cheap lavitra or viagra Online Cheap Pharmacy Online. Best Drugstore.
  • Buy Cheapest valium mexico online Now Pharmacy Store. Special Prices For valium mexico online!
  • Buy Cheap buy phentermine without rx Now The Largest Internet Pharmacy. Low Prices.
  • Buy Cheapest sildenafil citrate from india Now Low Prices. Discount Online Pharmacy.
  • Buy Cheap generic cialis from india Now Buy Medications Online. WorldWide Shipping.
  • Buy Cheap levitra discount presciptions Online Online Prices For levitra discount presciptions! Best Drugstore.
  • Buy Cheap klonopin vs xanax Online Online Prices For klonopin vs xanax! Low Prices.
  • Buy Cheapest pain med Online Top Online Pharmacy. Pharmacy Store.
  • Buy Cheapest amoxicillin buy Now No Prescription Needed. WorldWide Shipping.
  • Buy Cheap dosage of amoxicillin Now Pharmacy At The Best Price! Pharmacy Store.
  • Buy Cheapest vardenafil drug Now Best Online. Discount Online Pharmacy.
  • Buy Cheap buying diet pills Now Best Drugstore. Pharmacy At The Best Price!
  • Buy Cheapest tramadol without Now Best Internet. Order Cheap Meds Without Rx.
  • Buy Cheap buying codeine in canada Online 24/Internet)(safe Pharmacy. Best Online.
  • Buy Cheap cheap generic viagra online Now Buy Medications Online. Pharmacy Store.
  • Buy Cheap erectile dysfunction Online Drugs, Health And Beauty. Best Prices.
  • Buy Cheap valium sales Online Internet Prices For valium sales! Low Prices.
  • Buy Cheap effexor xr dosage Online Internet Prices For effexor xr dosage! Best Online.
  • Buy Cheap tramadol used for Online Buy Medications Online. Best Internet.
  • Buy Cheap how to burn fat Online Buy Medications Online. Best Drugstore.
  • Buy Cheapest which is better lavitra or viagra Online Low Prices. Cheap Pharmacy Online.
  • Buy Cheapest foreign prescription meds Online Best Online. Pharmacy At The Best Price!
  • Buy Cheap mexican online pharmacy Online Pharmacy Store. Cheap Online Pharmacy.
  • Buy Cheap levitra on line ordering 50mg Now WorldWide Shipping. Top Online Pharmacy.
  • Buy Cheap order viagra canada Online Discount Online Pharmacy. Best Online.
  • Buy Cheap anthelmintic treatment Now Top Online Pharmacy. Guaranteed Shipping.
  • Buy Cheapest muscle relaxant side effects Now Free Viagra Pills! Cheap Online Pharmacy.
  • Buy Cheapest viagra and ejaculation Now Drugs, Health And Beauty. Best Prices.
  • Buy Cheap cheapest generic cialis Now Low Prices. 100% Satisfaction Guaranteed.
  • Buy Cheap zoloft antidepressant Now Best Internet. Online Prices For zoloft antidepressant!
  • Buy Cheap cialis dosage dose Online Best Prices. Discount Online Pharmacy.
  • Buy Cheap buy ativan online Now Low Prices. Safe And Secure Payment System.
  • Buy list all antidepressant meds Online Without Prescription. Best Prices. Best Online.
  • Buy Cheapest generic for sleeping aid medication Online Best Prices. Guaranteed Shipping.
  • Buy Cheapest cialis website Now Top Online Pharmacy. 24/Online Pharmacy.
  • Buy Cheap buying medicine overseas Now Online Medical Shop. Guaranteed Shipping.
  • Buy Cheap no prescription weight loss online Online Cheap Online Pharmacy. Pharmacy Store.
  • Buy Cheap tramadol no prescription Online WorldWide Shipping. 24/Online Pharmacy.
  • Buy Cheap is lorazepam stronger than diazepam Online We Can Offer You Visit Our Online Pharmacy.
  • Buy Cheapest over the counter drugs Online Low Prices. Order Cheap Meds Without Rx.
  • Buy Cheap buy viagra online at Now Best Internet. 24/Internet)(safe Pharmacy.
  • Buy Cheap viagra dosage for women Online Online Prices For viagra dosage for women! Pharmacy Store.
  • Buy Cheapest trazodone used for Online Free Viagra Pills! Best Internet.
  • Buy Cheap viagra 50mg Now Pharmacy Store. The Largest Internet Pharmacy.
  • Buy Cheapest viagra erections Online Free Viagra Pills! Guaranteed Shipping.
  • Buy Cheapest fda approved us online pharmacy Online Get FDA Approved Prescription Medicines.
  • Buy Cheapest accutane and results Online Best Prices. No Prescription Needed.
  • Buy Cheap cialis female Now Online Medical Shop. Online Prices For cialis female!
  • Buy Cheap online phentermine doctor Now Best Internet. Discount Online Pharmacy.
  • Buy Cheap generic propecia canada Online Cheap Prescription Drugs. Pharmacy Store.
  • Buy Cheapest discount viagra pills Online Best Internet. Guaranteed Shipping.
  • Buy Cheapest chicago viagra Online Top Online Pharmacy. Best Online.
  • Buy Cheap online finasteride Online Best Internet. No Prescription Needed.
  • Buy Cheap cheap analgesic pain patches Online Top Online Pharmacy. Best Drugstore.
  • Buy Cheapest nexium long term Now Pharmacy Store. Cheap Pharmacy Online.
  • Buy Cheap cost of prescription for chlamydia Now Best Prices. Special Prices For cost of prescription for chlamydia!
  • Buy augmentin medicine Without Prescription Doctor. Pharmacy At The Best Price!
  • Buy Cheap vitamin shoppe coupons Online 100% Satisfaction Guaranteed. Best Prices.
  • Buy Cheap remedy for menstrual cramps Online Best Online. Order Cheap Meds Without Rx.
  • Buy Cheap generic cialis online Now Best Online. Safe And Secure Payment System.
  • Buy Cheap description codeine sulfate Online Online Medical Shop. Free Viagra Pills!
  • Buy testimonials for xenical Online Without Prescription. Best Prices. Best Online.
  • Buy dosage levitra Without Prescription Doctor. Pharmacy Store. Low Prices.
  • Buy Cheap the vitamin store Now Best Prices. Safe And Secure Payment System.
  • Buy Cheap generic viagra online Now Cheap Pharmacy Online. No Prescription Needed.
  • Buy Cheap method levitra Online Best Internet. Cheap Prescription Drugs.
  • Buy Cheapest med shop express Now 24/Online Pharmacy. Free Viagra Pills!
  • Buy Cheap cheap proscar Online Free Viagra Pills! Cheap Online Pharmacy.
  • Buy Cheap gouty osteoarthritis Online Best Online. Top Online Pharmacy Supplier.
  • Buy Cheap diet medications Online Best Online. Order Cheap Meds Without Rx.
  • Buy Cheapest xanax 2mg no prescription Online Buy %items% Online Without Prescription.
  • buy viagra uk Online Without Prescription Best Internet. Low Prices.
  • Buy Cheap supplements for general health Now 100% Satisfaction Guaranteed. Pharmacy Store.
  • Buy Cheapest ultram medication Now We Can Offer You Visit Our Online Pharmacy.
  • Buy Cheapest ambien long term effects Online Best Prices. 24/Online Pharmacy.
  • Buy Cheapest severe arthritis of the neck Now 100% Satisfaction Guaranteed. Best Online.
  • Buy Cheapest discount levitra purchase Now Pharmacy Store. Internet Prices For discount levitra purchase!
  • Buy Cheapest india tadalafil Now Top Online Pharmacy Supplier. Low Prices.
  • Buy Cheap buy viagra online without prescription Online Buy Medications Online. WorldWide Shipping.
  • Buy Cheapest ativan overnight Now Best Online. Drugs, Health And Beauty.
  • Buy Cheapest clomid and fertility Online Cheap Online Pharmacy. Best Internet.
  • Buy Cheap discount valium online Online Pharmacy At The Best Price! Best Prices.
  • Buying Cheap buy lorazepam overseas. Offshore Rx, Good Prices. Online Medical Shop.
  • Buy Cheap zyban without a prescription Online Best Prices. Internet Prices For zyban without a prescription!
  • Buy Cheap where to get cialis Now Low Prices. FDA Approved Rx: Online Pharmacy.
  • Buy Cheap description valium Online Drugs, Health And Beauty. Low Prices.