Articles by VirtualEntity

  • How to configure your SCSI or USB scanner to work with SANE/XSANE from your regular user account

    Author: VirtualEntityTags: , , Comments: 2

    How to configure your SCSI or USB scanner to work with SANE/XSANE from your regular user account This article shows how you can make your scanner (SCSI or USB) work with SANE/XSANE from a normal user account without getting permission errors.

  • How To Roll A Kernel the Ubuntu/Debian Way

    Author: VirtualEntityTags: , , Comments: 2

    How To Roll A Kernel the Ubuntu/Debian Way The Linux kernel is the heart of your Ubuntu Operating System. The kernel that comes with Ubuntu should contain all of the drivers you need, but just in case you would like to tweak your kernel or if for some reason you need to recompile for some special reason this guide will help you.

  • How to download only the new emails in Sylpheed

    Author: VirtualEntityTags: Comments: 0

    How to download only the new emails in Sylpheed Sylpheed keeps downloading the same messages over and over again! I want to be able to download only the new messages, but have the option of re-downloading everything. How to do?

  • 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.

  • An Explanation of Pointers (C++)

    Author: VirtualEntityTags: Comments: 1

    An Explanation of Pointers (C++) Pointers are basically the same as any other variable. However, what is different about them is that instead of containing actual data, they contain a pointer to the memory location where information can be found. This is a very important concept, and many programs and ideas rely on pointers as the basis of their design, linked lists for example.