Linux

Determine rkhunter false positive on Redhat

rkhunter has given several warnings (“One or more warnings have been found while checking the system.”) lately and this has forced me to check the installations repeatedly only to determine the fact that it was a false positive. On Redhat systems and their derivatives (Fedora, CentOS…) a easy check can be performed to determine if […]

Read More
Linux

Mount remote filesystem using ssh and sshfs

This is short howto on how you can mount a remote filesystem through ssh and access in Debian it like any other local filesystem. This is a safer method to mount remote filesystems and a user can perform it without root privileges. First you need to install sshfs # aptitude install fuse-utils sshfs Install the […]

Read More
Linux

aptitude cheatsheet

aptitude is a great alternative to apt-get and the best way to install, remove, upgrade, and otherwise administer packages on you system with apt. aptitude solves orphaned dependencies and has a curses interface that blows the doors off of dselect. Finally, and most importantly, it takes advantage of one tool, doing many many operations: Syntax […]

Read More
Linux

Advantages using aptitude instead of apt-get

apt-get is a command-line package handling utility while aptitude is a high-level interface to the package manager. There isn’t much difference between the two except aptitude will remove unused package dependencies automatically whereas with apt-get you have to do it manually. Neither removes dependencies as that would cause problems. Dependencies are packages that are depended […]

Read More
Linux

dpkg command cheatsheet

Syntax Description Example dpkg -i {.deb package} Install the package dpkg -i zip_2.31-3_i386.deb dpkg -i {.deb package} Upgrade package if it is installed else install a fresh copy of package dpkg -i zip_2.31-3_i386.deb dpkg -R {Directory-name} Install all packages recursively from directory dpkg -R /tmp/downloads dpkg -r {package} Remove/Delete an installed package except configuration files […]

Read More