Featured Posts

GoAccess is an interactive and website / web-server log analyzer tool currently better than the ApacheTop interface. It provides fast and valuable HTTP statistics for system administrators that require a visual...

Readmore

AjaxMyTop AjaxMyTop is a Web-based tool featuring an AJAX user interface for monitoring a MySQL server. Installing and configuring is fairly simple which you can done it within 2 minutes. [caption id="attachment_587"...

Readmore

Mod_spin is a content handler and/or a filter, meaning, for a specified file extension, mod_spin will read the file (or other input), parse it into an Abstract Syntax Tree (AST) and then replace the occurrences...

Readmore

Server Monitoring using DSTAT DSTAT an excellent tool which combines the overall stats of vmstat, iostat, netstat and ifstat. Dstat allows us to view all of the system resources in the real-time including the network bandwidth, network...

Readmore

BWM-NG Monitoring Network Bandwidth and Disk I/O using BWM-NG BWN-NG (Bandwidth-NG) is old and simple tool to monitor the bandwidth and disk I/O including the RAMdisk usage, this tool really helps the...

Readmore

  • Prev
  • Next

Disabling USB ports

Posted on : 10-05-2011 | By : admin | In : Tips

Tags:

0

If you administrating a small or large workstations running with Linux Desktops and want to disable the USB ports for security so that no one can copy the data via pen drive, try the following steps to disable the USB port(s).   Edit the grub.conf and add the following lines(you need to login as root).  

  • # vi /boot/grub/grub.conf

  Then add the following lines on the right kernel version   kernel /vmlinuz<your-kernel-version> rhgb quiet nousb   Save and exit the file and reboot the system to disable the USB ports and the boot time.

ACL’s using setfacl

Posted on : 09-05-2011 | By : admin | In : Tips

Tags:

0

Archived; click post to view.
Excerpt: What is ACL?   Due to the limitations of permission/ownership setup with the files/folder in Linux (for example we cannot setup different permission for different users to access the same file). To overcome this problem ACL (Access Control Lists) are introduced. We can use the setfacl & getfacl command to setup the acl for folder and files.   Setting up ACL’s using setfacl   In the below example, i have created two separate users called user1 and user2 and i am going to setup full access and partial access  to the /root directory for this two users (which is the home directory for root). The first….

Shutdown / Rebooting Linux System

Posted on : 06-05-2011 | By : admin | In : Tips

Tags:

0

Archived; click post to view.
Excerpt: Linux can be either shutdown/reboot in hard and soft ways. The hard way is always dangerous as it may corrupt the file system always a soft or clean shutdown/reboot is advisable.   Soft-way of Shutdown / Rebooting   To shutdown the computer immediately (don’t power down). Note that in UNIX systems this kind of shutdown means to go to ” single−user mode”. Single−user mode is a mode where only the administrator (root) has access to the computer, this mode is designed for maintenance and is often used for repairs. For example this would take you to single user mode   # shutdown now   To Shutdown (−h =….