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

0
votes
0answers
11 views

Gentoo XEN host + EFI + MDADM + IMSM RAID5

I have a workstation with a working Gentoo setup. It uses IMSM FakeRAID (level 5) with 4 disks. Booting done without bootloader using Linux kernel EFI STUB. System works fine. Now I need to setup XEN ...
-1
votes
1answer
41 views

Removing files and symlinks like /etc/*release. Could it cause issues?

I just got a VM running on CentOS 6.5 and ls -l /etc/*release returns a number of files like /etc/centos-release, /etc/lsb-release, and /etc/redhat-release. The last one, /etc/redhat-release, is a ...
4
votes
2answers
76 views

How to kill a process started as daemon?

I start a process using foo &. It outputs something like: [1] 16915 This is the process id, I guess. How can I store this number into a variable named MY_PROCESS_ID (for example)? Then I ...
3
votes
2answers
71 views

Denying “/opt/” access for SFTP Users other than particular dir

This is my first (newbie) post here in unix stackexchange. I want to use my WebServer (Debian) as SFTPServer giving access to particular employees. The dir structure is as follows under root: ...
1
vote
1answer
30 views

init: /etc/init.conf: Unable to load configuration: No such file or directory

Running Linux 6 on VMWare, I noticed this in the system message log: init: /etc/init.conf: Unable to load configuration: No such file or directory What's the cause of this error? How do I ...
1
vote
0answers
36 views

Mount EXT3 with 16KB blocks

I have a failing Sparc based Netgear ReadyNAS that uses LVM on Raid with EXT3 partitions with a 16KB block size. I would like to pull the drives out of the NAS and mount them read only in a Linux box. ...
0
votes
1answer
71 views

Debian and Systemd: breaking ordering cycle error

I'm a new embedded developer I'm trying to make systemd 37 work with freescale vybrid board (A5 and M4) running on linux-3.0 After boot with some breaking ordering cycle error, I check with ps ...
-1
votes
1answer
30 views

Is there a reason that Apple's USB vendor ID on Linux is a close anagram of Broadcom's? [closed]

I was poking around in lsusb and I noticed that Apple's USB vendor ID, 05ac, is a very close anagram of Broadcom's, 0a5c. Is there a historical/political/other reason for this, or is it just a ...
1
vote
1answer
25 views

mailx and HP-UX to RedHat migration

We are migrating some servers from HP-UX to Linux RedHat, and we have to migrate about 100 shell scripts that are referencing /usr/bin/mailx (instead of /bin/mailx on Linux). We'd like to change all ...
0
votes
0answers
8 views

SimpleScreenRecorder, Two Inputs

I need to be able to allow SimpleScreenRecorder to record two sections of my screen/external sources without much post-production editing. Is that possible?
0
votes
2answers
53 views

What are ways to encrypt a password inside an environment variable

I have this file I use to set my username and password before exporting the value. #!/bin/bash echo -n "User:"; read user echo -n "Password:"; read -s password export ...
3
votes
1answer
29 views

How to get address of connected USB modem?

I just connected my N81 telephone as USB modem to Linux Mint 14. All works fine, just wondering how to find a full path to this device, something like /dev/tty*.
2
votes
3answers
97 views

Custom Linux Distro that runs just one program, nothing else

I am wondering how I could go about creating my own "custom" Linux distro that will run just one program, pretty much exactly the same way as XBMCbuntu. I'm not asking for a step by step guide, just ...
1
vote
0answers
20 views

6.0.7 Debian timeout if more connections at once

We are a some devs working on a Debian server. We are all connecting from one IP. So basically the server handles a lot of requests from the same IP. Now what happens from time to time, is that we ...
2
votes
1answer
30 views

Pull a file from a Docker container?

I can see that it's possible to insert a file into a Docker container via insert: docker insert IMAGE URL PATH Is there a way to fetch the contents of a file in a Docker container and save them ...
3
votes
1answer
56 views

Init script leaves thousands of defunct processes

My problem is that I have an init script that is generating thousands of defunct bash processes. My goal is to have a program called "fr24feed" in its own screen session on boot. After looking at ...
2
votes
1answer
43 views

How do I create an IPv6 overlay network?

I would like to create host-only IPv6 networks on two hosts and then route between them. On each host, there will be a dummy interface, at ipv6_prefix::9. I would like to be able to ping that ...
5
votes
1answer
77 views

Attempting to Abbreviate kSAR's PDF output

I'm currently writing a cronjob around kSar's command line (non-GUI) options in order generate PDF's. I'm just going to email a PDF of the previous day's activity to a different webmaster (basically ...
5
votes
3answers
185 views

Why do I need a tty to run sudo if I can sudo without a password?

I have configured sudo to run without a password, but when I try to ssh 'sudo Foo", I still get sudo: sorry, you must have a tty to run sudo. Why does this happen and how can I work around it?
1
vote
1answer
82 views

Linux Mint 16 display resolution and monitor

I am using Linux Mint 16 and I have two questions. I am very disappointed I have needed to resort to a website to answer this, usually on Windows this would be very intuitive. The first problem is ...
0
votes
0answers
21 views

How to listen to hardware button click events in Ubuntu?

My laptop has a slot loading DVD drive and the eject button does not work under Ubuntu. So I thought it might be possible to create a script to get the button to work. So how do I listen to that ...
1
vote
2answers
22 views

How to mount an remote filesystem with specifying a port number

I am trying to mount a director from another server on my server. For that, I have tested sudo mount -t nfs 11.11.11.111:/some_directory /mnt/test/ But the connections gets a timeout because on ...
1
vote
0answers
186 views

Installing Elementary Isis beta

How can I install Elementary OS Isis Beta? I tried to made a bootable stick using the latest iso builds but for some reason I cannot login. Having elementary OS installed on my machine, how can I ...
4
votes
1answer
168 views

How we can avoid rebooting the system after partition change with fdisk?

When modifying the partition table, fdisk usually returns the following error message: WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still ...
1
vote
1answer
28 views

Why does RTC device have 254,0 instead of 10,135 as Major,Minor numbers?

Why isn't /dev/rtc the well known "c 10 135" device that it's on x86, but a magic undocumented "c 254 0" device? Devices.txt lists this major number as LOCAL/EXPERIMENTAL USE. I'm working on a ...
0
votes
0answers
11 views

I2c with 16 bit addresses

So, i'm trying to interface with a device that has 16-bit addresses, and the master I'm using also supports this mode. However since this isn't standard I2C (should be 8-bit addresses) I haven't been ...
1
vote
0answers
28 views

Arch linux installation problem

I used to work on Arch Linux at my desktop. One year ago I started to use laptop Samsung np530u3b. This laptop has one bootable HDD Hitachi (500gb) and 16gb ssd (so system from this SSD can't be ...
0
votes
1answer
12 views

setcap fo rhel5

A quick question , I am not able to find much info to run setcap on rhel5 . I searched few packages in my system # yum install libcap Loaded plugins: product-id, security, ...
2
votes
1answer
54 views

Check `fsck` automatically

I need to run fsck so that it automatically fixes problems (i.e., fsck -y). And because I am using "systemd" instead of "init" in the linux system, I cannot modify the /etc/default/rcS. So what ...
0
votes
0answers
18 views

How to remap keycodes via setkeycodes?

I'm trying to change keycodes of some keys, but I don't get one thing. If I use /lib/udev/keymap, I get the following output: # /lib/udev/keymap -i input/event1 scan code: 0xC022D key code: zoomin ...
1
vote
0answers
65 views

Kill Command in linux using bash script [migrated]

I have a bash script abcd.sh,in which I want to kill this command(/usr/local/bin/wrun 'uptime;ps -elf|grep httpd|wc -l;free -m;mpstat') after 5 sec but in this script it kill sleep command after 5 ...
0
votes
0answers
34 views

sshd without pam slower

I am running OpenSSH_6.5 with UsePAM yes in my board. I have observed that with UsePAM no in /etc/ssh/sshd_config, sshd runs slower than previous case. How is this possible? My understanding is ...
0
votes
1answer
75 views

Are there any academic sources on why people should use Linux? [closed]

So, I have to write a persuasive speech for college. I've decided on persuading people to switch to Linux. The problem is, I should have five academic sources for my arguments. Are there academic ...
0
votes
1answer
57 views

Linux Centos 6: Restart Network Service after lost ping

My OS is Linux Centos 6. Restart Network Service after lost ping Basically, I need a watcher or a script that will detect no ping to/from another ip address and run service network restart after ...
3
votes
1answer
26 views

Updating kernel versions when booting from rEFInd

I'm booting from EFI using the awesome rEFInd bootloader. I've so far had to configure boot myself by manually copying over my EFI-compatible linux boot image to my EFI partition and writing a ...
2
votes
1answer
23 views

Forcing compton to free directory

I often have trouble unnounting filesystems because compton is keeping a subdirectory open. Here is one line from lsof I have right now: compton 30043 valmi cwd DIR ...
-1
votes
2answers
68 views

Add users from dat file

I have a dat file with names. These are the names of users I must add, without groups or passwords. Ofcourse i have to remove all spaces. I have to add them with a bash script. Can anyone help me ...
0
votes
2answers
66 views

System too slow [closed]

My linux system is responding very slowly.I should wait to get the result of my command. How can i investigate to know the problem of his behavior?
0
votes
0answers
50 views

How can I get a two-display Radeon HD 3470 graphics setup working with Scientific Linux 6.5?

I have Scientific Linux 6.5 (2.6.32-431.11.2.el6.x86_64) installed on a Dell OptiPlex 760 with a Radeon HD 3470 graphics card and two displays hooked up to it. I'm having difficulties setting ...
1
vote
3answers
37 views

Possible problems in moving linux disks from one hardware to another

I currently have a server collocated in a datacenter. The hardware is a HP dual quad core xeon with 16 Gb DDR2 and 2 1Gb disks in raid1. I want to order another similar server to have as a ...
0
votes
1answer
16 views

iKVM: return to graphic mode

In iKVM (Supermicro) I have switched to text console mode using <Ctrl>+<Alt>+<F1>. How I can switch again to graphic mode? (the same keyshortcut pressing again doesn't do anything). ...
1
vote
2answers
66 views

Debian Wheezy vs Logitech Quickcam E2500

I've a bought a QBox-1000, I've installed Wheezy, and some services (SSH, Samba, Transmission, etc). Now I would like to step on a next level. I want to know what is what and how to do some advanced ...
0
votes
2answers
28 views

UDP sending two strings in a datagram

I'm wondering if its possible to send two strings within one datagram in a UDP packet. Assume I had string 1 with text: unix and string 2 with text: linux. I don't want to merge the strings but keep ...
1
vote
0answers
34 views

Add udev rule alias for input device

I am trying to add a udev alias rule for my xboxdrv (x-box controller) and I can't seem to figure it out. dmesg | grep "input" I see: [ 6.239955] input: Microsoft X-Box 360 pad as ...
0
votes
3answers
66 views

Switch user on terminal

I'm switching user using command: sudo su - userName On my terminal I always have: user@user directory $ (some command) But when I switch user I have only : $ (some commands) It is hard to ...
2
votes
2answers
95 views

lvm: what's the purpose of a Volume Group?

Each Volume Group can have many resizeable Logical Volumes. each of Logical Volume can have different filesystem, encryption options etc. that means having a single Volume Groups is enough. so why LVM ...
0
votes
0answers
40 views

How to fix startx on Arch Linux on Raspberry pi?

I have a problem when trying to use the command startx. It comes back with /usr/bin/x error while loading shared libraries: libgcrypt.so.20: cannot open shared and then says that it is giving ...
1
vote
0answers
38 views

Linux dependencies between packages

I have following error: You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: linux-kernel-generic : Depends: linux-image-3.11.0-12-generic but ...
1
vote
0answers
26 views

Postfix/devcot MailServer - not receiving emails

I'm new to linux and unix in general, I've worked with a shared hosting provider over the years where everything was setup for me, including email. I'm now trying to create my own mail server in my ...
0
votes
2answers
37 views

which unix or linux command is used to change root password of remote machine(Just an IP address) without using SSH Login [closed]

which unix or linux command is used to change root password of remote machine(Just an IP address)? Suppose I just have an IP address of the target machine which is on my network, But I do not know ...