FAQ: Reconfigure Xorg: Ubuntu way

Q: How can I reconfigure Xorg windows system in Ubuntu? I played with its configuration and broke it! A: First recommendation is to always save a copy of /etc/X11/xorg.conf before editing it. Once you decide you would like system to create new xorg.conf type one of these  commands and follow instructions at the screen: dpkg-reconfigure xserver-xorg or sudo dpkg-reconfigure xserver-xorg In most cases it helps. Update: for automatic configuration (autodetect) […]

Read more →

 

Configure Sudo: no password for certain commands (nopasswd)

Sudo (Super User Do) is Linux console only utility allowing users to execute programs which require root rights without knowing root password. There are lots of topic why sudo rocks on the Web so here you can find a tip how to configure sudo in order to execute certain root right requiring programs without any passwords (it known as sudo nopasswd). There are several ways to configure sudo in Linux […]

Read more →

 

Set Linux Gateway

One can say that it is rather trivial task to set Linux gateway (or in other words to set up/change default gateway in Linux operating system) but I noticed that this question is one of the most popular among linux newbies so I decided to post a quick tip here on Linux Screw. There are two most used ways to set up default gateway using Linux console. Of course modern […]

Read more →

 

Install Firefox 3 in Debian Etch

If you downloaded fresh Firefox 3 installation e.g. from here and tried to install it in Debian Etch, you might notice that latest version of the popular browser requires GTK+ 2.10 while Etch contains only 2.8: We’re sorry, this application requires a version of the GTK+ library that is not installed on your computer. You have GTK+ 2.8.This application requires GTK+ 2.10 or newer.Please upgrade your GTK+ library if you […]

Read more →

 

FAQ: How to block/allow packets sent by specific Operating System with iptables?

Question: How can I block traffic coming from specific operating system in Linux? In other words, how can I block traffic from Windows users on my firewall and allows other people? Answer: There is an iptables module named OSF (passive OS Fingerprinting) that was written by Evgeniy Polyakov. This module allows passively detect OS packet was sent from and perform various netfilter actions based on this match. Packets with SYN […]

Read more →