1
vote
3answers
2k views

setup fetchmail/exim4 to download from gmail account and forward to another email address

I'm trying to setup my debian server to download email from a gmail account (e.g. forwarder@gmail.com) and then forward it to a 3rd party email. The reason I can't just setup email forwarding within ...
2
votes
1answer
559 views

Use convert or ghostscript to grab the odd-numbered pages of a PDF

I have a PDF that consists of several hundred pages of bilingual text. Since I need to use OCR on each language separately, I want to grab the even and odd pages and make two separate PDFs, using ...
2
votes
2answers
3k views

How to scp from server to server with different public keys?

What arguments would I use for the scp command on a server to server copy if the two servers need different ssh keys? I know how to scp files from a server to a server without having data flow on the ...
8
votes
4answers
8k views

I changed my hostname, why is my bash PS1 prompt unchanged

I changed my hostname by editing /etc/hostname and can see the new hostname using the hostname and hostname -F commands. But the shell prompt is still showing the old hostname. This is Ubuntu 11.0.4 ...
7
votes
2answers
359 views

How do I get just the user-manual for Vim

To get the vim user-manual I am doing vi test and then, once the file is opened, I do :help user-manual This opens up a split window, which makes reading manual inconvenient to read. How do I ...
1
vote
1answer
392 views

Debian Squeeze not booting anymore

My machine is not booting anymore. It is a debian squeeze server on amd64 with 4 hard disks and 2 software raids (md4 and md5). You can watch this video of the screen after switching it on. (The video ...
1
vote
2answers
473 views

scp hardlocking my server (both ways)

I have this strange issue. scp is hard locking my server. I have tried memcheck, tried downloading big files using wget, tried speed test in openssl and everything works just fine, yet every time I ...
8
votes
1answer
438 views

emacs: recognising the shebang line

How can I configure Emacs to recognise certain she-bang lines? it recognises the shebang line: #!/usr/bin/env ruby but not the shebang line of #!/usr/bin/env ruby1.9 I figure there must be an ...
5
votes
1answer
495 views

Linux process scheduling - Cap/Weight based?

I am just trying to understand the basics of Linux scheduler. Is Linux scheduler a Cap based or weight based scheduler? I was previously using Xen. Now I am moving from Xen to KVM. I read VMs are ...
3
votes
3answers
15k views

How can I call other shell script like a subroutine?

How do I call an other shell script and wait for its completion? I want to pass input arguments and receive returning result code. And continue running rest of codes.
3
votes
3answers
471 views

Output compiler options from SSH

How can I list the configuration options that ssh/sshd was compiled with? I'm attempting to troubleshoot a SELinux configuration issue, and want to make sure that SSH was compiled with ...
-1
votes
1answer
8k views

Should the mysql user have access to /var/lib/mysql?

First, let me say that mysql seems to be working perfectly on the machine. Still, when I su mysql and ls /var/lib/mysql, I get access denided. When I sudo ls /var/lib/mysql I see the data files ...
2
votes
1answer
670 views

pure-ftpd permission denied on external usb drive

I have a sheevaplug PC (Debian installed) that I'm trying to setup my personal FTP server with. So far I was able to set up auto mounting and installed pure-ftpd. I currently have autofs setup to ...
11
votes
2answers
10k views

What is the difference between 'su -' and 'su root'? [duplicate]

Possible Duplicate: Why do we use su - and not just su? I understand that root doesn't have to be a superuser. But in the case that it is ... what is the difference between sudo su - and ...
6
votes
2answers
9k views

Program behavior when kill -HUP is recieved?

Is there a way to find out what will program do when it receives kill signal HUP? Without simply running the command ofc :D For example, killall -HUP pppd will restart pppd killall -HUP firefox ...
0
votes
1answer
441 views

VSFTPD link to a folder in root folder

I have just setup the basic stuff for vsftpd. I got that working fine with root use thats all. I have also stupidly installed something to the root user home directory which I would like another user ...
6
votes
2answers
7k views

Is there line numbering for nano?

Is there a way to turn on line numbering for nano?
2
votes
2answers
1k views

Ubuntu Drivers on Chromium OS?

I recently managed to install Chromium OS to a flash drive. However, when I booted into Chromium OS, I found that neither wifi or ethernet worked, yet both wifi and ethernet work on my Ubuntu ...
1
vote
2answers
679 views

Adjusting Screen Size on Ubuntu Virtualbox

When running Ubuntu as a Vitualbox guest, with a Windows 7 64-bit machine as host, how can I maximize the screen so it fills up the whole monitor?
9
votes
2answers
1k views

Choosing filesystem for a 16TB Raid

I'm just putting together a machine with eight 2TB disks. I will be using Raid 6 (12TB of usable capacity) on top of them, but I'm not sure whether I should make LVM on top of the RAID, or what ...
26
votes
6answers
10k views

Can I find out which ssh key was used to access an account?

Is it possible to find out which ssh key was used to access an account? I have an account on a server that I let several (trusted!) people have access to via ssh. I'd find it useful to be able to ...
1
vote
2answers
778 views

How to Optimize an IPTABLES script?

If I could list that which iptables rule has how many matched packets, then I could create a better/faster iptables script that's faster. That rule would be at top/first that has the more packets ...
4
votes
2answers
729 views

Can I easily remount an external USB drive without unplugging it?

Sometimes, a USB drive (or equivalent) that I have plugged in to my machine gets unmounted. Now, I know I could unplug it and plug it back in to remount it, but is it possible to easily do it from ...
0
votes
1answer
834 views

Curl and grep html text

Is there a way to grep html text from a curl request and output grab the value that is between two html tags? More specifically the input value of a form?
0
votes
1answer
117 views

Config setting for Linux kernel compilation

I need a Linux kernel compiled with debug features for a kernel module development.What all debugging configuration options should I include for kernel compilation,So that I can avail to all available ...
10
votes
2answers
825 views

Prevent GNU Screen from closing

Is there any way to make GNU Screen not close if I end all its subprocesses? Ideally, it would create a new window running a shell if I accidentally closed the last window.
4
votes
6answers
503 views

Any program like `sudo` to gain root by having two users enter a password?

I run a server which is used by a group of individuals for e-mail, mailing lists, personal web homes etc. I thought about ways to provide root access for other members to allow them handling problems ...
2
votes
1answer
179 views

Debian package issue: files are installing into '/'

I have been recently trying to package a small Python utility to put on my PPA and I've almost got it to work, but I'm having problems in making the package install the binary (a chmod +x Python ...
0
votes
1answer
531 views

port redirection with PF under OpenBSD

i need to do a setting a bit unusual. I have 3 machines with public Ips. I want to use one of them as a load balancer for the 2 others. My machine >> machine1 who redirect the connection to machine ...
2
votes
2answers
736 views

yum proxy http errors

I've a VM running Centos 5.5 and I'm trying to get yum to update via a company proxy. I can browse the web within the VM using the proxy setting , but I cannot get yum to use the proxy. I'm getting ...
4
votes
3answers
7k views

Can I use logrotate to compress daily (date named) logs?

I have logs in the following format: YYYYMMDD I want to compress old logs (older then current day) and maybe move them to a different directory afterwards. Can I do this in logrotate, or do I have ...
5
votes
1answer
288 views

Passing clicked links in rxvt to a script

I start my browser vimprobable in tabbed like so: "`tabbed -d > /tmp/tabbed.xid`; vimprobable2 -e `cat /tmp/tabbed.xid`" [1] I am then able to send all new instances of vimprobable to tabbed (and ...
14
votes
3answers
14k views

Logrotate: “log does not need rotating” why?

I have the following new logrotate configuration: /var/log/nexus/nexus.log { rotate 7 missingok compress delaycompress copytruncate daily } When I run logrotate -d nexus, I ...
1
vote
1answer
2k views

What does “sudo chown -R hadoop:hadoop hadoop” do?

I saw the following script, posted online, that was used during the hadoop installation process. sudo tar xzf hadoop-0.20.2.tar.gz sudo mv hadoop-0.20.2 hadoop sudo chown -R hadoop:hadoop ...
2
votes
1answer
7k views

Setenv error message

When I opened up the Gnome command prompt, several lines of the message: No command 'setenv' found, did you mean command 'netenv' from package 'netenv' (command) However, I have never used ...
8
votes
4answers
608 views

The best Linux Open-source wiki with native support for Windows (NTLM) authentication

I need to set up a wiki for our engineering group; we are part of an Enterprise-wide Windows Active Directory domain. Most of the corporate IT applications use NTLM to authenticate (automatically via ...
10
votes
2answers
5k views

How come no core dump is create when an application has SUID set?

I setup my environment to create a core dump of everything that crashes, however when I run an program with SUID set on a different user than the executing user it doesn't create a core dump. Any ...
6
votes
2answers
290 views

Running 32 bit app on a 64 bit Linux machine

Are there any performance drawbacks (CPU, Memory or IO) when running a 32-bit application on a 64-bit Linux? My main concern is inefficient utilization of pointers and memory blocks.
2
votes
2answers
3k views

FreeBSD: How to install Django with mod_wsgi?

Using FreeBSD 8.2-RELEASE. I want to mess around with Django and I want a working setup on my freebsd system. My understanding is I need to install python, apache, mod_wsgi, and django. The ...
2
votes
1answer
16k views

How to move a file to /usr/local in Ubuntu?

I am working in the most recent Ubuntu in a 64 bit machine. I am currently on the Gnome command prompt and I am trying to move a file under the Downloads directory to /usr/local. However, it gives me ...
5
votes
2answers
1k views

Combine input from multiple files/pipes without clobbering lines or blocking?

Is there a tool that will take input from multiple files or pipes and write it to stdout, without blocking on reads, such that individual input lines come out intact? I basically want to multiplex a ...
2
votes
3answers
1k views

Shift+delete vs rm -rf

Are Shift+Delete and rm -rf different? Is it possible to recover deleted data after performing either of them?
5
votes
3answers
15k views

How to boot Debian into text mode without using GUI?

How can I boot Debian into text mode? My mouse and keyboard are working in GRUB, but when the login screen appears they don't, so I can't do anything.
1
vote
3answers
365 views

How to install CentOS 4.7?

I am trying to install CentOS 4.7. When I get on to the mirror site, it offers me different binaries, bin1of5, bin2of5,bin3of5, etc. I just want the basic version. Which one should I download? Thank ...
5
votes
1answer
595 views

rsyslog rule inconsistently applied

I have created a rule to redirect messages containing {FILTER} in file /etc/rsyslog.d/40-filter.conf :msg,contains,"{FILTER}" /var/log/filter.log & ~ I have edited file /etc/rsyslog.conf so it ...
9
votes
3answers
12k views

How do I reserve ports for my application?

How do I reserve a list of ports for my custom applications? To be specific, the product I'm creating has a lot of processes and a lot of intercommunication between them. The problem I'm having is ...
4
votes
2answers
978 views

indistinguishable active tab in gnome terminal

I am running Gnome 2.30.2 and Gnome Terminal 3.0.1 on my Debian Sid and recently the active tab became almost indistinguishable from other tabs. It is actually the same colour. Changing the themes ...
24
votes
5answers
9k views

Who's consuming my inotify resources?

After a recent upgrade to Fedora 15, I'm finding that a number of tools are failing with errors along the lines of: tail: inotify resources exhausted tail: inotify cannot be used, reverting to ...
2
votes
3answers
355 views

Uncopyable 5GB file, BTRFS

I have a 5.3GB tar file, located on a BTRFS partitioned eSATA drive. When trying to copy the file to another disk, or expand the tar the process seems to freeze. No errors are generated, and waiting ...
2
votes
2answers
2k views

Run Ubuntu 10.04 LTS with Apache2 SSL with passphrase

I am setting up a Virtual Machine with Ubuntu 10.04 Lucid Lynx Server. I have been reading the section on setting up Apache with an SSL certificate within the book : "Beginning Ubuntu LTS Server ...

15 30 50 per page