Tag Archives: lpi faq

How to Search Inside a Text File for Patterns?

The locate command searches the names of files and directories, but it can’t search inside those files. To do that, you use grep. grep is a command line text search utility originally written for Unix. The grep command searches files … Continue reading

Share
Posted in Linux How to | Tagged , , , , , , , , | Leave a comment

How to Lock User Accounts After Login Failures?

you can use the faillog command to display faillog records or to set login failure limits. faillog formats the contents of the failure log from /var/log/faillog database / log file. It also can be used for maintains failure counters and … Continue reading

Share
Posted in Linux How to | Tagged , , , , , , , | Leave a comment

Tripwire – Integrity Checker

Another very good way to detect local (and also network) attacks on your system is to run an integrity checker like Tripwire, Aide or Osiris. These integrety checkers run a number of checksums on all your important binaries and config … Continue reading

Share
Posted in Linux Tricks | Tagged , , , , , , , , | 1 Comment

How to create virtual host in Apache Web Server

Virtual hosting is a method that servers such as web servers use to host more than one domain name on the same computer, sometimes on the same IP address.  Apache Web Server can be used for virtual hosting by using … Continue reading

Share
Posted in Linux How to | Tagged , , , , , | Leave a comment

How to secure VNC using SSH?

Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the RFB protocol to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the … Continue reading

Share
Posted in Linux How to | Tagged , , , , , , , , | Leave a comment

Senior Level Linux Professional (LPIC-3)

The LPIC-3 Certification program represents the culmination of LPI’s Certification Program. LPIC-3 is designed for the “enterprise-level” Linux professional. The program has been developed with the input of hundreds of Linux professionals from around the globe and with input from … Continue reading

Share
Posted in About LPI | Tagged , , , , , , , , , , , , | Leave a comment

How to secure a Root User?

A Superuser is one who logs in as a user named root. He enjoys full administrative privileges and can perform all the tasks that an ordinary user cannot. He can read from or write to a file, and execute any … Continue reading

Share
Posted in Linux How to | Tagged , , , , , , | Leave a comment

How To Get Email Alert When Your Disk Space Gets Low

If you are a Network Administrator and get tired off low disk space, there is a solution. You can create your own for monitoring disk space, however for this you have already quota commands in Linux. Lets write a script … Continue reading

Share
Posted in Important for LPI 117-101 | Tagged , , , , , , , , , , | Leave a comment

chown command

The chown command changes the owner of the file or directory specified by the File or Directory parameter to the user specified by the Owner parameter.  In this command syntax, if only a user name (or numeric user ID) is … Continue reading

Share
Posted in Important for LPI 117-101 | Tagged , , , , , , , , | Leave a comment

newgrp command

The newgrp command changes temporarily the primary group of a user into another group of which that user is a member. In this step, a new shell will be created, and when that user will exit from the shell, his … Continue reading

Share
Posted in Important for LPI 117-101 | Tagged , , , , , , , | Leave a comment