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
1answer
31 views

Why is freeBSD rebooting during installation ?

I have a samsung laptop which is around 1.5 years old. I am currently running arch linux and have run various linux distributions succesfully in the past. T The hardware is not obsolete and the ...
2
votes
1answer
54 views

Policy in /etc/pam.d/password-auth is not being enforced

I've updated login.defs and password-auth to include a minimum length on passwords (12), but the minlen is not being enforced when I attempt to change a user's password with passwd. None of the ...
4
votes
2answers
30 views

Persistent Bash Prompt Prefix Linux

I want to have the FQDN as bash prefix instead of just using the hostname. So I can change root@web: ~$ to root@web.domain.tld: ~$ I already know that that is possible by using: ...
0
votes
0answers
35 views

How to change the password display in linux? [duplicate]

In general when we enter the password, nothing is display in the screen. I want to display * when I enter password in Linux. Current behavior: abc@123:$ su testuser ...
1
vote
1answer
51 views

Linux Kernel Live Patching - WHATIS and HOWTO?

I am trying to understand a new concept I got to know recently as the Linux 4.0 makes it way to the mainline - "Live Patching". Supposedly this is a new feature enhancement of the Linux kernel. It ...
2
votes
2answers
16 views

Can't find emails retrieved by fetchmail

So I set up fetchmail to retrieve emails with IMAP from a remote mail server, I was able to run it. How can I know that it found any emails or not since I did send test emails to the account being ...
0
votes
2answers
45 views

Get all hardisk list (/dev/sd*)Using command line

I need to get all the hardisk connected to my PC like, /dev/sda /dev/sdb /dev/sdc later I have to use it in script and monitor using iostat I alrady found fdisk command, it seems to be hard ...
0
votes
0answers
16 views

postfix some users can send mail to the (distribution lists) and other users not

How can I do the following things: Some users can send mail to the mailing list (distribution lists) and other users not. For example: the everyone@mycomp.com will be able to send e-mails only for ...
1
vote
1answer
26 views

What's the relation betwen ACPI, udev, HAL and pm-utils

I'm trying to figure out how the power management in achieved in Linux (because I want to fix some issues in my laptop). I have found thoughtful documentation about these elements separately. In other ...
2
votes
1answer
33 views

Why can X11 access the video card?

This one is maybe a bit theoretical, but... How the heck can X11 touch the video hardware? As I understand it, X11 is an unprivileged user-mode program. But only kernel-mode software can access the ...
0
votes
0answers
14 views

Is it possible to compile the Linux-Libre kernel without LILO?

I'd like to compile/install the Linux-Libre kernel but I don't want to use LILO as a bootloader since I already have GRUB, is it possible to do?
1
vote
1answer
12 views

Set ionice for a multi-threaded application

I have a program that spawns multiple threads, all of which do fairly intensive IO, running on the background. I want to set the scheduling class to idle so that it doesn't clog up the system; ...
0
votes
2answers
47 views

Yum Broke For some reason

i am trying to install Mysql Client i am getting this annoying message. I am still unable to find the proper answer. [root@localhost Downloads]# yum install mysql-bench There was a problem importing ...
0
votes
0answers
10 views

c server handle multiple connections, error on port no [migrated]

I've been experimenting with server code from http://www.linuxhowtos.org/C_C++/socket.htm. The regular server code worked fine, I've changed it slightly to hardcode in a port number rather than read ...
0
votes
1answer
26 views

Run custom service remotily on Linux

On the server side : ( @ip for example 10.0.0.3 ) Consider this simple script named script.sh : ( /home/user/script.sh ) #!/bin/bash echo good Let's create new service named script.sh under xinetd ...
2
votes
1answer
43 views

Free up swap space all at once after swap event

I use my Linux box for a lot of computational work, and sometimes a particular computation eats a lot of RAM. When I'm done, I end up with a bunch of swap used and a bunch of free memory, and if I go ...
0
votes
1answer
66 views

Shell script to compare two tables and perform operations on their columns

I have two tables like the following: Table 1 TABLE_NAME COUNT ------------------------------ ------------ AIN_EDP_SCRIPT 33 AMA_CALLTYPE_LOOKUP ...
1
vote
0answers
19 views

No “rwnd” option to “ip route” for managing the receive window?

Context: I'm doing some self-guided studying on TCP Window shaping. The scenario I'm trying to control for are clients which will be pulling down large amounts of data in addition to their normal ...
0
votes
0answers
35 views

Repackage RPM with kernel

I am tinkering with CentOS 5.4 and upgrading the kernel to the latest 2.6.18 build 402. What I need to do is to rebuild the initrd to include a modified init script, then repackage it all into an RPM ...
0
votes
0answers
20 views

isolcpus doesn't work on Ubuntu 14

I added isolcpus=0 to the end of the following line to the file /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=0" The idea, as I understand it, is to reserve core 0 from having ...
1
vote
1answer
23 views

Password policy on existing accounts not updated after making changes to login.defs

I have two old accounts that were previously set to defaults (no password expiration). I updated login.defs and /etc/pam.d/system-auth for stricter password policy. New accounts added to the system ...
2
votes
1answer
53 views

How do I fix an “unknown chipset” error when booting Arch Linux?

I have a laptop with this hardware: intel i5 nvidia 820m graphics card 64bit system with uefi boot I burned the Arch Linux ISO to USB, and I am getting the option to choose Arch on booting the ...
2
votes
2answers
45 views

How can I select and copy file names in the command line without using the mouse?

Typically, when I want to perform an action on a file I discovered in the terminal after calling [ls], I would have to - with my mouse - highlight, left click, copy file name, type the command in then ...
0
votes
0answers
29 views

deepin 2014 Starting LightDM Display Manager fail

Upon rebooting my machine The deepin splash screen began to pulsate. I looked at the boot log and found: "* Starting LightDM Display Manager [fail]" Upon looking at the lightdm log I found the error: ...
0
votes
0answers
13 views

Windows Complete Backup [migrated]

I'm looking to try Linux. How do I completely backup my Windows computer and put it into something like an ISO so I can boot from it later if I ever want to switch back from Linux to Windows? Will ...
0
votes
1answer
47 views

Cannot use EPEL repo, get NSS error -5990 (PR_IO_TIMEOUT_ERROR)

I'm using vagrant to start up a centOS 7.0 VM. My provisioner is trying to set up EPEL 7 via yum install epel-release -y and then trying to install ansible via yum install ansible -y It installs ...
1
vote
1answer
37 views

How do I change which monitor the TTY shows up on?

When I boot, or when I press CtrlAltF*, I am taken to a physical terminal/TTY. The problem is that the TTY shows up on my HDMI monitor, which is actually not even in the same room as me. Is it ...
3
votes
1answer
24 views

Set the affinity of a process from a shell script as it is being launched

I have a script (.sh) where I launch applications like this #!/bin/sh ./application1 configuration1.cfg param1 param2 param3 & sleep 2 ./application2 configuration2.cfg param1 param2 param3 ...
1
vote
0answers
16 views

Does all applications which show graphics without an X server has to use the frame buffer device on linux?

I am using limelight embedded on my raspberry pi 2. The application streams games from your Windows PC. It is not an X application because no X server is running. So does this application has to ...
0
votes
0answers
29 views

echo `“hello terminal” > /dev/terminal` - works for /dev/tty[2-5] but not for /dev/pts/n

I'm trying to get to know the input output systems of unix/linux systems better. Since terminals and devices are implemented to interface as ordinary files, I assumed I could on any desired terminal ...
1
vote
0answers
50 views

bash scripting : using expect

I am facing an issue when I run simply these commands. The remote server want to pass "yes" to add the key in RSA file because first time connection established with scp. commands are given below ...
1
vote
3answers
55 views

how to automate creating firewall rules?

There is a complex live system - few vlans. In each of them there are linux servers, and on every server there are services. Services connect together - for example service http on host A connect to ...
0
votes
1answer
79 views

Yum Corrupted on RHEL 6

I really need help. I am encountering the issue with my yum command. It seems to be exactly the same as the issue described on this site, Yum corrupted on CentOS 6.2, Problem importing one the python ...
0
votes
0answers
18 views

Starting Daemons in specified order

I would like to load some custom daemons I have made in a certain order. One daemon starts xflux and one starts the x server. Is it possible to make the xflux daemon run only after the startx daemon? ...
0
votes
2answers
54 views

How to print an element from the corresponding immediate next column after searching the element in the current column?

I have thousands of lines as seen in the following list. file name = "textfile" 3 2 3 1 4 7 5 8 6 8 9 8 8 9 4 7 3 9 2 3 4 4 9 2 2 2 0 9 4 0 0 9 8 2 4 0 I have to search a particular element – ...
0
votes
1answer
38 views

FIle hole - how is it represented? [closed]

The linux programming interface says, file hole don't take up disk space in general, I did google but didn't found answer to following question: If it don't take up space, then how the file system ...
0
votes
1answer
41 views

Error: you do not appear to have the sources for the 2.6.32-042stab102.9 kernel installed

I've just bought a new VPS with Cent OS 6.6 installed. I'm attempting to install Asterisk 11 on this VPS via command line remotely. I've used the directions here however I get this error: you do not ...
0
votes
0answers
30 views

Fedora 20 won't boot after changing ownership of everything in /var to Apache

It flashes to a blank screen a few times, perhaps trying to load cinammon desktop, then hangs here I accidentally chowned the ownership of everything in /var to the apache group, which caused a few ...
0
votes
3answers
43 views

I have to run `startx` on boot to have a window manager, how can I fix this?

I've had Debian Wheezy for a long time and decided to upgrade yesterday to Jessie, a few things I did wrong, I ran autoremove because I was careless and a few things happened. 1) I have to run startx ...
0
votes
0answers
19 views

how to configure codeigniter based website for password protected apache basic auth codeigniter

Actually I want to 'password protect' my website as its still in development. My requirement is simple if anyone try to access my site http://xxxxx.com it should prompt for password (Basic apache auth ...
1
vote
0answers
47 views

Reading the program header contents of an ELF file

How is it possible to extract loadable program headers individually from ELF files? By examining a binary using readelf one can get output similar to: $ readelf -l helloworld Elf file type is EXEC ...
1
vote
1answer
38 views

Linux boot hangs: [Firmware bug] ACPI: No _BQC method, cannot determine initial brightness

I have an old Win XP NEC laptop and I tried to boot a live usb with Lubuntu 14.10 to install Lubuntu, but when I tried to boot the live USB, after about a minute the boot process hangs at a line that ...
0
votes
1answer
20 views

Error I get when I try install IDE Anjuta

sudo apt-get install anjuta Error I get while installing the IDE. What is this error about? However, I am able to successfully install the IDE Unknown media type in type 'all/all' Unknown media ...
1
vote
1answer
74 views

Can't access my apache server from outside LAN (Raspberry Pi)

I know this question was asked a lot, but unfortunately none of the posts really helped.. I'm trying to set up an Apache server on my Raspberry Pi. I managed to set it up correctly I think, but I ...
0
votes
1answer
49 views

Correct way to delete unnecessary files from /boot directory (Ubuntu)

Currently there is not enough space on by /boot partition/folder and the sofware update can not be performed. Question: how should I correctly free-up some space in that directory? Here is the ...
1
vote
1answer
169 views

Warnings/Errors when running clamav/clamscan, scanning 3TB hard-drive

What I'm trying to do: I'm trying to scan my File-Server for malware, and I'm using clamav/clamscan, where the man page say's it can scan files up to 4GB. This man page states: --max-filesize=#n ...
-1
votes
1answer
41 views

Erratic behavior with gzip on unix

I am compressing log files daily and very recently I have been seeing some crazy results on the file type of the file after compression. Normally you would expect file filename.gz returning gzip ...
0
votes
0answers
19 views

Fast TSC calibration failed in TAILS whch pauses boot

I have several flash drives which have TAILS installed onto them. I have tried to boot from each of them, both on safe mode and off of safe mode, and I get a "Fast TSC calibration failed" warning ...
3
votes
1answer
36 views

Change the root password of a Linux image

I'm building a jessie build of Debian. Passwords are saved in /etc/shadow in the build tree, but they are salted obviously so I cannot change it just by editing the file. If this was my installed ...
0
votes
2answers
47 views

selectively moving partially matched files to different directories

I am working in linux server where a parent directory I has 100s of partially numbered files, e.g GGG12345_abb.txt GGG12346_abc.txt GGG12347_cbx.txt . . GGG19045_jha.txt each of which is ...