Tag Archives: Debian

HOWTO add user to sudoers list in Debian/Ubuntu

You need to have root access to do that. So the first step to become root with the following command:

ken@debian:~$ su
Password:
debian:/home/ken# visudo

Now you can add a username to the list. For example:

ken ALL=(ALL) ALL

Save the file to complete the process.

Credit: Ubuntu Forum

Tagged , ,

Eterm doesn’t display “ or ”

Eterm doesn’t display the fancy “ or ” on my Debian. It is not a big problem, but it’s very annoying when it doesn’t properly display these symbols used in some programs such as aptitude.

I wanted to fix it, but didn’t realize it there was a fix. After two years or using it, I tried to find the solution again, and I found it. Just add the this code to the .profile in your home directory.

export LANG=C

Restart eterm, and the special characters should be displayed correctly. Thanks to the folks at Ubuntu forum.

Source: Aterm/Eterm doesn’t display “ or ” correctly

Tagged ,

Enable mod_userdir for Apache2 on Debian

By default Apache2 doesn’t enable mod_userdir, a module to enable all users in your Linux system to host web pages. On Debian, it’s very to enable this mod, and probably with other modules as well. There is no need to edit the config file manually.

There are two tools offered by Debian to assist you with enabling and disabling the modules in Apache2: a2enmod and a2dismod. As the name inferred, a2enmod enables the modules, while the a2dismod does the opposite.

In my case, all I need to do is to type the following commands as the root (, or using sudo):

# sudo a2enmod mod_userdir

Then restart the apache2 server:

# sudo /etc/init.d/apache2 force-reload

Tagged ,
Follow

Get every new post delivered to your Inbox.