Configure sudo without password for a user
By Chris Herberte on September 14th, 2007If you'd prefer not to have to type a password to execute commands as root with sudo
Edit the /etc/sudoers
#visudo
or
#vi /etc/sudoers
add a line for your user in this case mine is "chris"
chris ALL=(root) NOPASSWD: ALL
:qw
#
Cleaning Up After "apt-get remove"
By Chris Herberte on September 13th, 2007By default "apt-get remove package" doesn't purge everything related to the package. This eventually means that a log of configuration files are left scattered around the place with no corresponding packages. A couple of weeks ago, the following solution was proposed on #linux:
dpkg --purge `dpkg --get-selections | grep deinstall | cut -f1`
