Automounting removable media in Solaris
By default, Solaris automatically mounts removable media (like CDROMs), you don't have to do anything special. In the case that automounting is not working, then probably the related service(s) that…
mysql: show grants of all users
Unfortunately, there's no a single MySQL command to display all privileges granted to all users, but that information can be gathered with the following procedure: 1. Login as root (or…
Enable Ctrl-Alt-Backspace to kill the X server in Ubuntu
It's been awhile since Ubuntu disable the possibility of using Ctrl-Alt-Backspace to kill the X Server. Here's what you need to do to get that functionality back: UBUNTU (and newer)…
screen cheatsheet
screen is an excellent tool that allows you to have multiple shell sessions on a single physical terminal. It's very helpful when working with remote servers, if you start a…
RPM commands
These are some useful rpm commands: NOTE: All example commands use , replace it with the package name of your choice INSTALLATION/UNINSTALLATION Install a package # rpm -ivh Reinstall a…
Setup a local Debian/Ubuntu package repository
If you have some specific packages that you just want to share in your LAN. then you can easily create a local repository with your packages. Here's how to do…
Play encrypted DVD on linux
Because of license restrictions, the library libdvdcss (needed for play CSS encrypted DVDs) is not available on the main repositories of linux distributions. Here's the installation procedure of libdvdcss for…
Mount an ISO image in Solaris
The Solaris lofi file driver allows to handle a file as a block device, this is managed via the lofiadm command. The procedure to mount an ISO image is the…
Enabling/disabling audit in Solaris
Prior to version 11, auditing in Solaris was not enabled by default, so a procedure involving a reboot is required. Starting with Solaris 11, auditing is enabled by default so…
SOCKS proxy setup
A SOCKS proxy is very useful in case you want to surf the web securely over an insecure network or behind a very restrictive firewall. It's very easy to configure…