Slackware 12.1 Tips

Post-install instructions to make Slackware easier to work with

I used to change my Linux distro quite often, which was fun and taught me a lot about how it all works. Lately I seem to have settled for Debian-based distros. However, I decided to take another look at Slackware but was a little disappointed to find I had a few problems to work out.

Users and Groups

Slackware does not create a non-root user during its installation process, so when you first boot into your new Slackware installation, you will have to log in as root and use the adduser command to create one. One important thing to note here is that for the user to have "normal" permissions, you will have to make sure that the following additional groups are added to the user:


Fortunately, these can be added during the adduser process, as this is an available option to save you manually typing it in.

Using Sudo

To allow a user to use the sudo command to run commands as root, you will have to manually edit the /etc/sudoers file. Simply add the following line, changing the $USERNAME for your username.


Mouse Wheel

To enable scrolling using the mouse wheel, I had to edit the /etc/X11/xorg.conf file. The mouse protocol needs to be changed, so replace:

Option "Protocol"    "PS/2"


Option "Protocol"    "IMPS/2"

Enabling Wireless Internet

To connect to a wireless network, I had to edit the /etc/wpa_supplicant.conf file and enter my network ESSID and key in the appropriate places. When that was done, I had to start wpa_supplicant and request a DHCP IP address:

$ /usr/sbin/wpa_supplicant -iwlan0 -Dwext -c/etc/wpa_supplicant.conf -B
$ /sbin/dhcpcd -d wlan0

This script needs to be run every boot to reconnect, so you may want to put it in with the init scripts.

Posted by Christopher Wassall on Wed, 03 Dec 2008 09:31:55 GMT


There are no comments yet.

Post a Comment

You must be logged in to post a comment