Linux Tutorials on the topic “linux”

  • Using TAR with Bunzip2 files

    Author: VirtualEntityTags: Comments: 0

    Using TAR with Bunzip2 files Bunzipping and then unTARring in two steps is not convenient. It is not necessary to use Bunzip2 and then TAR to unzip a file in two separate steps. Tar will do the job on its own if the -j switch is used, thus: tar xjvf linux-source<version>.tar.bz2 By the same token, you may use the -z switch with a gzipped file, e.g. tar zxvf linux-source<version>.tar.gz

  • Setting the SUID/SGID bits: Giving a program YOUR permissions when it runs

    Author: VirtualEntityTags: , Comments: 5

    Setting the SUID/SGID bits: Giving a program YOUR permissions when it runs Normally, when a program runs under Linux, it inherits the permissions of the user who is running it, thus if I run a program under my account, the program runs with the same permissions that I would have if that program were me. Thus, if I cannot open a certain file, the program I am running also cannot open the file in question. If I set the SUID or SGID bit for a file, this causes any persons or processes that run the file to have access to system resources as though they are the owner of the file.

  • Step-by-step OpenLDAP Installation and Configuration

    Author: ganesh35Tags: Comments: 28

    Step-by-step OpenLDAP Installation and Configuration This tutorial describes how to install and configure an OpenLDAP server and also an OpenLDAP client.

  • Setting up a serial console

    Author: Daniel15Tags: Comments: 7

    Setting up a serial console This tutorial will show you how to set up a serial console on a Linux system, and connect to it via a null modem cable. This is quite useful if your Linux server is in a headless configuration (no keyboard or monitor), as it allows you to easily get a console on the system if there are any problems with it (especially network problems, when SSH is not available). In the end, the GRUB menu will appear over the serial link, as will the bootup messages (output when booting the system). I'm using Debian Etch on the server and Ubuntu Edgy on my client, although this should work on any Linux distribution.

  • Install and Configure Auth Shadow on Debian/Ubuntu

    Author: ThanatosTags: , , , , Comments: 3

    Install and Configure Auth Shadow on Debian/Ubuntu Auth Shadow or mod-auth-shadow is a module for apache (and apache2, sort of) that enables authentication against /etc/shadow. The benefits being that any system user with a password can be authenticated for web_dav, subversion or simply an https server. The only other way to do this is with PAM. That method is dangerous because the apache user (www-data in my case) must be able to read /etc/shadow. Obviously, not a good idea. Auth Shadow accomplishes this safely by using a intermediate program called validate. This works because validate can be owned by root but executable by everyone. In the event that your server is compromised through apache, your password file will not be readable.

  • Modify Your Partitions With GParted Without Losing Data

    Author: Falko TimmeTags: , Comments: 11

    Modify Your Partitions With GParted Without Losing Data This article shows how you can modify the partitioning of your Linux system with GParted (Gnome Partition Editor) without losing data. This includes resizing partitions (enlarging and shrinking), moving partitions on the hard drive, creating and deleting partitions, and even modifying filesystem types. GParted is a free partition editor available as a desktop program and also as a Live-CD. It supports the following filesystems: ext2, ext3, fat16, fat32, hfs, hfs+, jfs, linux-swap, reiserfs, reiser4, ufs, xfs, and even ntfs (Windows).

  • How To Set Up Linux As A Dial-In Server

    Author: sohaileoTags: Comments: 7

    How To Set Up Linux As A Dial-In Server This document describes how to attach modems to a Linux box and allow it to receive calls to connect users to the network. Its like being your own ISP (Internet Service Provider). If your Linux box is connected to the Internet, then the users will also be connected to the Internet. Your Linux box becomes a router. This is also known as RAS (Remote Access Services) in the Microsoft world. In the Linux world its called PPP (Point to Point Protocol).

  • How To Resize ext3 Partitions Without Losing Data

    Author: Falko TimmeTags: , Comments: 63

    How To Resize ext3 Partitions Without Losing Data This article is about resizing ext3 partitions without losing data. It shows how to shrink and enlarge existing ext3 partitions and how to merge two ext3 partitions. This can be quite useful if you do not use LVM and you realize that your existing partitioning does not meet your actual needs anymore.

  • How do I scan my Linux system for rootkits, worms, trojans, etc.?

    linux Author: Falko TimmeTags: , , Comments: 3

    Either with chkrootkit or with rkhunter. chkrootkit Either install the package that comes with your distribution (on Debian you would run apt-get install chkrootkit ), or download the sources from www.chkrootkit.org and install manually: wget --passive-ftp ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz tar xvfz chkrootkit.tar.gz cd chkrootkit-<version>/ make sense Afterwards, you can move the chkrootkit directory somewhere else, e.g. /usr/local/chkrootkit:

  • Creating DjVu Documents Linux HOWTO

    Author: volodyaTags: Comments: 3

    Creating DjVu Documents Linux HOWTO This document explains some of the uses of djvulibre implementation of DjVu for creating quality DjVu documents in linux. DjVu format features bitmap document compression and hypertext structure. It is used by numerous web sites all around the world for storing and distributing digital documents including scanned documents and high-resolution pictures. One of the advantages of DjVu files is that they are notably small, often smaller than PDF or JPEG files with the same content. This makes DjVu a helpful tool for digitizing books and journals, especially scientific ones.