Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

1
vote
3answers
480 views

Which is better for product level web server: RHEL/Ubuntu Server/Debian/CentOS

We are planning to setup a linux based web hosting solution, which should include an HTTP server, SMTP server, mongoDB and Java. We want to understand which distribution is better for this purpose. ...
3
votes
1answer
171 views

Linux App that monitors log and add rules to iptables

I used to use a linux software that monitors logs like http, ssh, etc and if it detects that someone is trying to use brute force, it blocks that ip by adding a rule to iptables. I forgot what that ...
6
votes
3answers
896 views

Print mac address to file

With a bash script, can I read the mac address of my eth0 and print it to a file?
2
votes
1answer
2k views

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems ...
1
vote
0answers
172 views

Desktop Actions and mime types for a DRM file format

I want to handle a DRM file format, which adds an encryption wrapper outside of the protected content. Please see the diagram. _________________________ | DRM wrapper MIME | ...
2
votes
1answer
1k views

Upgrade Suse 10.3 to 11.3 and startup fails

I upgraded my Suse 10.3 installation to 11.4 using the update option from a network installation disk. When the update was complete I was asked to reboot. When I did the reboot I am asked to login. ...
1
vote
0answers
214 views

Openshot-1.3.0 not working on Fedora 14

I am trying to install openshot 1.3 from yesterday. After doing everything I could do and searching the whole web. I am finally asking this. I downloaded the source and installed it from there and ...
1
vote
1answer
420 views

What is the size of the TaskList?

While reading through the Linux Kernel Development by Robert Love, I went through the following line : The kernel stores the list of processes in a circular doubly linked list called the task ...
2
votes
4answers
437 views

different shell for root and non-root user

When I ssh as root, my shell is bash, but when it's a non-root user it is sh. How can I make them both to use bash? This actually goes against the logic in this question: Why root's default shell is ...
6
votes
2answers
3k views

What are the allowed group names for groupadd?

I followed these instructions to build Shadow, which provides the groupadd command. I am now getting an error when trying this: $ groupadd automake1.10 groupadd: 'automake1.10' is not a valid group ...
5
votes
3answers
4k views

Automount USB drives with no GUI requirement (halevt replacement)

For minimal installations of Debian, I have been using halevt to enable automounting of USB drives. Halevt is reliable and requires no configuration aside from installing the package. Now, halevt has ...
2
votes
2answers
422 views

Cannot understand chkrootkit's result

I couldn't understand the output of chkrootkit command: $ chkrootkit -q -r / /usr/lib/.libssl.so.10.hmac /usr/lib/.libfipscheck.so.1.hmac /usr/lib/firefox-3.6/.autoreg ...
2
votes
2answers
231 views

How to start customizing linux?

I've heard that Android is based on linux (or unix?). That means, engineers at google modified linux code to run on android phones or tablets. I would like to become those engineers someday. Where ...
1
vote
1answer
266 views

Easy Regex on Apache Logs

I'm struggling to create a regex for Apache logs. It's for ignoreregex on Fail2ban. I'd really like to be able to put something like /house to catch all files in that directory or ...
1
vote
1answer
675 views

Where to download Wolfenstein: Enemy Territory for linux?

Hey Guys, I'm using KUBUNTU 10.10 I would like to use Wolfenstein: Enemy Territory for linux, I know this game is free, right? Please could someone give me the list of the last version of the game? ...
3
votes
2answers
649 views

How can I count lines with title-case words of certain length?

How can I create a shell script in unix/linux to find the number of lines in a text file that have words which are 5 to 10 character long and begin with a capital letter?
1
vote
4answers
720 views

Debian Lenny on Asus sabertooth X58 won't detect hard drive

I have been trying to install Debian Lenny on my new machine, alongside Windows 7 64-bit. When I get to the part where it detects my disks, it can't find any. I have a 1GB FAT32 flash drive that it ...
11
votes
6answers
967 views

Looking for tools to build minimal linux desktop

Increasingly I am dissatisfied by the fact, that configuring my linux desktop usually means removing bloat instead of adding and tweaking features. I have come to the conclusion that I would rather ...
2
votes
2answers
120 views

What would it take for a *nix system to shutdown, then continue to grub?

Is this possible to shutdown to grub, not all the way so you don't have to load back up the BIOS and other things. Like to give you the ability to quickly boot for Linux to Windows?
1
vote
4answers
1k views

How to install Fedora&Ubuntu with encrypted VG's on one disk?

I installed Fedora 14 first, then Ubuntu 10.04. I installed them using dm_crypt/aes256/lvm, so I used encrypted VolumeGroups. At the end of the Ubuntu install it said it cannot install GRUB, so I had ...
2
votes
1answer
773 views

Redirecting Google search to HTTPS with Privoxy

I tried this in the user.action file: { +redirect{s@http://www.google.*/search@https://encrypted.google.com/search@} } .google. But it doesn't work. My goal is to redirect from this: ...
0
votes
1answer
1k views

How to whitelist a url/site in privoxy?

I'm using Fedora 14 with privoxy-3.0.16-3.fc14.i686! These sites are blocked by Privoxy: http://somewhere.com/user/11111/track?page=1 ...
1
vote
1answer
6k views

Install GCC on OpenSUSE 11.4

I installed OpenSUSE 11.4 but I noticed that it don't have gcc… How I can install it?
1
vote
1answer
2k views

Differences between Debian bigmem and amd64 kernels

Debian 6 has multiple Linux kernel packages, and I'm interested in two of them: linux-image-2.6.32-5-686-bigmem linux-image-2.6.32-5-amd64 Consider that: I'm not going to be running any ...
3
votes
3answers
213 views

Changing the disk scheduler on the fly

Can the Linux disk scheduler be changed on the fly by writing to /sys/block/sda/queue/scheduler? Should applications (e.g. Mysql) be stopped / started when changing?
3
votes
1answer
266 views

How to compile a decent kernel from kernel.org?

I tried compiling a kernel from sources that I got from kernel.org (mainline) with make allyesconfig and make allmodconfig, but both builds resulted in a kernel, that won't boot. I was thinking, that ...
4
votes
3answers
1k views

How do Linux drivers work and where do I find them? (esp. NIC driver)

I am wondering how a driver functions under Linux. Are drivers a single file that can be edited? Is there a list of current drivers in use or is there a different place to find them for each device? ...
6
votes
2answers
5k views

Make all files under a directory read-only without changing permissions?

First, some background: /dev/md1 is a RAID-0 array serving as primary file store. It is mounted to /var/smb. /dev/md2 is another RAID-0 array storing backup snapshots taken from /dev/md1. It is ...
3
votes
1answer
15k views

How do I create new partitions and format my hard drive in parted?

I'm somewhat new to working with commandline tools when dealing with partitioning, so you'll have to excuse my newness. I'm basically trying to create a new logical partition on /dev/sdb and would ...
5
votes
11answers
2k views

What is a free, small Unix/Linux OS? [closed]

I have a spare machine with an 80GB HDD and 512 MB RAM. I want to try a Linux distro that's very small (and free too). What should I try?
3
votes
1answer
437 views

Capture and log GDB backtraces without stopping the process

First, a brief description of the situation: a computer sits hidden near a display in a gallery of some sort, acting as the silent workhorse for a piece. Despite its programmer's best intentions the ...
4
votes
2answers
1k views

BCRYPT - Why doesn't the Linux Distributions use it by default?

Does OpenBSD use bcrypt by default? Why doesn't every modern Linux Distribution use BCRYPT? http://codahale.com/how-to-safely-store-a-password/ https://secure.wikimedia.org/wikipedia/en/wiki/Bcrypt ...
5
votes
2answers
362 views

Suggestions needed to debug why ps -ef gets stuck

A few of my processes consume 100% cpu. I'm trying to figure out which scripts are causing it I tried running strace ps -ef: open("/proc/PID/status", O_RDONLY) = 6 read(6, "Name:\textract\nState:\tR ...
2
votes
1answer
160 views

Is it possible to set su to use WE password dialog

I have sometimes problem when during entering password for su other window appears and steals the focus ("wait - did I just entered root password on public IRC chatroom?" - it did not happened but ...
6
votes
2answers
584 views

Information about a laptop fan

Can you help me with finding all the hardware information (parameters) and configuration files about the fan in my laptop? I'm interested of the fan's parameters and configuration files that I can ...
2
votes
2answers
170 views

Make minimal linux disk live

I was wondering if anyone had a minimal Linux system with nothing but the bare minimum to boot. Is there any tutorials on the web, I couldn't seem to find any.
4
votes
1answer
989 views

How can we customize linux file systems like ext2/3?

Actually IOzone is a filesystem benchmark tool. The benchmark generates and measures a variety of file operations like sequential reading/writing, random reading/writing. So I want to customize my own ...
0
votes
1answer
136 views

Looking for a Linux distro with specific window related features

I have been looking for the past few days, I need these features: Docking a window on any side of a desktop expands it to fit half/a quarter of the space Resizing and moving windows must be very ...
9
votes
5answers
473 views

Directory sync with automatic peer discovery

I'm working with a cluster of Linux servers sitting behind the Amazon cloud autoscaling feature (documentation). There are files that accumulate on each server, they are cache files for the ...
5
votes
3answers
2k views

Detecting that a device is mounted to a particular folder?

As part of revamping my backup scheme, I'm now adding rotating external hard drives, keeping one safely off-site at all times while the other is receiving backup data. Naturally, to ensure that my ...
4
votes
1answer
781 views

Linux - why is kernel.shmall so low by default?

I run DB2 on Linux where I have to allocate the vast majority of memory on the machine to shared memory segments. This page is typical of the info that I've found about shmall/shmmax: ...
1
vote
3answers
760 views

Connect my laptop through desktop to internet

I'm currently at work and our wifi is down. I usually connect my desktop to the internet through eth0 and my laptop connects through wifi. I have an extra port on the back of the desktop (eth1) and ...
2
votes
1answer
2k views

Why does my Debian VMWare virtual machine lose all network connections ~15 minutes after boot?

I’m having a strange networking problem with a Debian (6) VMWare virtual machine on my Mac. Around 15 minutes after starting it up, I can no longer SSH into, view websites served from, or ping the VM. ...
1
vote
1answer
1k views

Module Stacking in Linux device drivers

I am trying my hand with Linux, just come across the concept of module stacking. It can be used to use symbol exported by other Modules. Means we can use something already made in some module so we do ...
3
votes
1answer
99 views

sources for doing profiling of kernel portions?

Related to my previous post. I did not find any specific driver for which I can do profiling and benchmarking. However there is a one driver jffs2 filesystem for flash devices but I didn't know about ...
5
votes
1answer
340 views

Problem on Linux NAND Root Filesystem

I'm have a JFFS2 root filesystem running on a large NAND device. Every once in a while, when I restart the computer, I get error messages about invalid ELF headers when /sbin/init or /bin/login try ...
1
vote
1answer
518 views

Getting “Protocol not supported” from setkey: why?

I'm trying to setup an IPsec connection between two Linux systems. I've enabled the kernel options mentioned on the IPsec Howto. I've setup a setkey script like this: #! /usr/sbin/setkey -vf add ...
15
votes
6answers
14k views

Linux: allowing an user to listen to a port below 1024

I need to allow an user (different from root) to run a server listening on port 80. Is there any way to do this?
1
vote
0answers
248 views

How can I make scripts run when a file/directory changes in Linux (like Mac OS X’s launchd)? [duplicate]

Possible Duplicate: Can a bash script be hooked to a file? On Mac OS X, there’s a handy daemon called launchd which (amongst other things) allows you to have scripts run when files or ...
1
vote
1answer
154 views

Aliases for programs in /sbin/

I have a weird problem, unfortuantely I don't know what I did to cause this, since I tried out lots of stuff on my Linux (Archlinux, 2.6.38 kernel). The problem is: My shell is not finding programs in ...