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
0answers
13 views

How to enable Acer Aspire One 725 0802 touchpad & F Keys?

I recently tried to install the Elementary Luna OS using Unetbootin. Instead of installing to a USB or CD to boot from, I installed the OS to the hard drive. It seemed to install fine, the BIOS ...
1
vote
1answer
27 views

Set hostname without root, and without CAP_SYS_ADMIN

I have an application that I want to be able to change the hostname in Linux. Currently doing so by running the hostname command. I don't want to set CAP_SYS_ADMIN either. I also don't want to edit ...
1
vote
1answer
32 views

Which unix / linux flavor should I learn looking at job opportunities in future? [closed]

I am a Computer Engineer and I want to start exploring the Unix & Linux environment. Which flavor of Unix and also Linux should I learn looking at a job opportunity in these two fields in future? ...
2
votes
1answer
58 views

Solution for private keys on a remote machine?

I have to manage several servers, with services that can be cron, and integration jobs, deployments, backups. The common thing with all of these, is that they sometimes require access to other ...
0
votes
0answers
16 views

Rsync Issue (AWS EC2)

I have spent quite a bit of time trying to Rsync from a remote to a local machine but been having issues with finding the synced files apparently. The command I entered is: sync -avzhe ...
-1
votes
1answer
28 views

Which of the following is a Linux representation of a physical USB device?

I'm trying to figure out which of these could be a physical USB device: /dev/hda /dev/hda1 /dev/bin /dev/sda /dev/sda2 What's the difference between hda and sda? Between hda and hda1? Which could ...
0
votes
1answer
20 views
+150

How to get a grsecurity kernel on Debian Wheezy using the linux-patch-grsecurity2 package?

There is a package linux-patch-grsecurity2. But it seems to be lacking documentation. How to make use of linux-patch-grsecurity2 to get a grsecurity enabled kernel?
0
votes
0answers
14 views

Do dracut handles boot parameters mentioned in dracut.cmdline (7)

If I understand correctly, in boot time the kernel will mount initramfs and then calls /sbin/init from it(which is a symbolic link to /lib/systemd/systemd on Fedora/RHEL systems) and dracut itself ...
2
votes
1answer
21 views

File transfers with SSH and switch-user

Have a situation that SCP and SFTP wouldn't work for. I've RTFM for SSH, but can't find what I'm looking for. The scenario is that in order to transfer files to the server, I first SCP them into a ...
-1
votes
0answers
20 views

SSH Password less while using a service account with “ -i interactive mode”

I have a problem with my "service account". When I log into my service account sudo rootsh -i -u groot I am prompted for the service account password when I try to ssh to another app server. I have ...
0
votes
0answers
18 views

migrating local users to LDAP

I have sucessfully setup LDAP and LAM on a raspberry pi in my home network. I have several Linux machines around the house, some Windows machines, aswell as a QNAP TS-210 NAS. They all have the same ...
1
vote
2answers
69 views

Search for matching files with wildcards without using find in a bash script

For an assignment, I'm supposed to write a bash script that can act as a very basic find, but without actually using the find command. For example, if I put in this input: my_find ~/homedir/ -name ...
0
votes
0answers
28 views

how to give read, write and execute permission to other user to access mounted shared directory

I set up nfs server and client on two different servers. On nfs server I create a shared directory. /home/share On nfs client I created mounted point /home/nfs_local now everything is working ...
0
votes
0answers
16 views

Intel Edison interfacing [closed]

I have to interface the Intel Edison board with an inertial measurement unit (IMU) via the I2C Bus. Where will the raw data be stored ON the Edison board? How to collect data from the I2C?
1
vote
0answers
28 views

scp stdin: is not a tty, and write failed, connection reset by peer

I have used scp for years between linux servers, as well as with Mac OSX systems. But now, I have installed cygwin and ssh, bash and openssl in order to pull large files from my linux box on the web ...
1
vote
2answers
43 views

Log message “Disabling IRQ”: what does it mean?

This message appears in my dropdown terminal at seemingly random times when no processes is running in that terminal: andreas@debianator:~$ Message from syslogd@debianator at Feb 24 18:57:58 ... ...
0
votes
0answers
25 views

Disable scroll wheel horizontal buttons (back/forward)

I recently got a Logitech M500: Bus 002 Device 004: ID 046d:c069 Logitech, Inc. M500 Laser Mouse It has nine buttons that I can identify: Two on the left side Left, right Wheel press Wheel ...
0
votes
0answers
20 views

How to defrag XFS file-system if xfs_fsr exits with “no improvement will be made”?

I am trying to defrag a heavily fragmented XFS file-system on a CentOS 6.6 machine: [root@server opt]# xfs_db -c frag -r /dev/md3 actual 598, ideal 215, fragmentation factor 64.05% However, when I ...
2
votes
1answer
66 views

Linux: monitor my own internet usage page by page

I have a monthly broadband subscription which rolls over on the 23rd of each month. I had arrived near the end of my usage so I was carefully checking that I didn't go over my limit - they crucify you ...
1
vote
2answers
15 views

Linux copy range of folders

I found this link with an example of how i can actually copy range of files Copy a range of files in command line (ZSH/BASH), using this $cp P10802[75-83].JPG ~/Images/. Is there any way i can also ...
1
vote
0answers
10 views

Print list of bad blocks in NAND flash from user space

Is there any user space tool that can retrieve and dump the list of bad blocks in a NAND flash device? I've checked the mtdinfo command line utility, and also searched /proc and /sys, but couldn't ...
1
vote
0answers
17 views

How well is Debian supported on MIPS these days?

I am doing a new embedded Linux design, and am thinking of using a MIPS CPU. All my previous designs have used ARM. On the most recent ARM design we installed Debian ARM-HF which was excellent. My ...
0
votes
1answer
15 views

rpm -V inner workings

I have an rpm file that is used to install a package I made the package consists of java classes and shell scripts to run these java classes, in a .run file. So the rpm essentially only contains a ...
2
votes
1answer
28 views

How to enable and configure WiFi in debian 7 wheezy.?

I just installed the debian 7 wheezy, but WiFi is not working. I visited the debian wiki pages but they have already mentioned there that the broadcom chip BCM43142, 4e4:4365 is not supported by the ...
1
vote
0answers
16 views

Getting to work Hostapd with RTL8192CU chipset on IPFire

I've got IP Fire set up on my RPi and despite the RTL8192CU chipset working with a bit of tweaking from a guide I found, it doesn't seem to work with hostapd on IPFire. The TP-Link USB dongle flashes ...
1
vote
0answers
63 views

Booting Linux from RAM

I want to find a cross-distro solution for setting linux up to boot from RAM. What this involves in essence would be copying an existing installation of linux one way or another over to the RAM (to ...
2
votes
1answer
33 views

Locally deny login to users authenticated via LDAP

I have a RedHat Linux server that are is use for more than 1000 users Users names are coming to the server via LDAP protocol, so login authentication is from the LDAP My question: is it possible to ...
2
votes
0answers
38 views
+50

How to audit access to any file or folder within a given path for specific user

I've been reading some information about configuration of auditd and I just can't figure this out, what I know how to do Log specific system calls by a user Log access to a specific file by all ...
1
vote
2answers
28 views

I would like to delete entire archive log except retain last generated archive log

I want to delete all the archivelog, But retain last generated archive log alone. Currently I am using following which will delete entire/all the archive log and clear the directory itself. find . ...
-2
votes
2answers
37 views

Not able to run shell script using cron [closed]

I have a shell script test.sh in /home/username The test.sh file contains the following lines - #!/bin/sh cd /home/username/bin sh launch.sh ParameterName #launch.sh is in /home/username/bin ...
1
vote
2answers
47 views

What are the very fundamental differences in architecture between Unix and Linux? [duplicate]

I watched a short intro to Unix from the 70s (https://www.youtube.com/watch?v=7FjX7r5icV8 3D animation starts at 1:56), at the end the general tripartite architecture of Unix was displayed as a 3D ...
2
votes
1answer
28 views

How to set up users, ownership and permissions across local and remote servers?

I've been learning the Linux OS over the last year or so and I am still very confused on how permissions vary from different configurations. I am trying to set up my local development environment and ...
-1
votes
1answer
71 views

“No package stress available, nothing to do” and "bash: yum-config-manager:command not found

I am trying to install the stress package on CentOS 7 virtual machine running on vmware player on windows 7 laptop. I have tried many packages and have updated yum but whenever I run sudo yum install ...
1
vote
0answers
9 views

insert module to kernel

I installed latest version of IPCOP, I've the correct module of my wireless card (htc_9271.fw): put it to /lib/firmware/ there is not any insmod/rmmod but only modprobe: modprobe htc_9271 FATAL: ...
0
votes
0answers
5 views

How to exclude folders when packaging for debian?

I am attempting to build a c++ project and package it in .deb format. I am able to successfully create a .deb package; however, it includes files that I do not want contained in the package. How can I ...
1
vote
1answer
37 views

Link Local IPv6 address keeps being automatically assigned

I'm looking to prevent the IPv6 link local address from being randomly assigned. I'm not looking to disable v6 but rather statically assign my own link local. I've done ifconfig vboxnet0 inet6 add ...
1
vote
1answer
24 views

Cygwin header file location

My OS is Windows 8, I'm using cygwin 1.7.34(0.285/5/3). Where are the header files located in cygwin? For instance, I need to add an additional header file, say transport.h to already existing in ...
0
votes
0answers
19 views

Wireless realtek rtl8187se [duplicate]

I have a Toshiba laptop with an integrated wireless rtl8187se. I'm using Backtrack 4 and Kali Linux 1.0. The problem is I can't capture any handshakes even between the laptop and my router. When I ...
4
votes
3answers
261 views

Run command automatically when files are copied into a directory

I have two folders called: A and B, in different paths on the same computer. When I add any new file(s) into folder A, I want to copy it to folder B automatically. My folders: /auto/std1/nat1/A ...
0
votes
0answers
9 views

IPA user auto getting loging, But I want to it should ask passwd for loging in to system

Whenever I try to login as IPA user into client's machine, it is not asking password for log-in. Its getting auto logged in system without password. Request to let me know how to login with ...
2
votes
1answer
20 views

FreeRadius : Logs not being generated in radacct directory

I have installed and configured freeradius on Red Hat Enterprise Linux 6.5 as per this guide. I have found that, everything is working fine, but no logs are generated in the /var/log/radius/radacct ...
0
votes
0answers
16 views

Specific folder can't be able to see through Puuty but can be able to see through WinSCP

I am trying to run certain sh files under a specific path using plink, which i want to automate. manually i have tried to find the folder using putty but putty throwing an error "-ksh: cd: CO_HOME: ...
0
votes
1answer
28 views

Few questions about system calls and kernel modules (kernel services in parallel)

I have few questions about system calls and kernel modules. Let's assume we have two applications (A and B) and each of them is running on a different core. (A-CPU 0, B-CPU 1) When two applications ...
0
votes
1answer
30 views

setting (system-wide) CPU affinities for running processes on a Linux platform

I am conducting a kind of research in that I schedule multiple parallel applications (e.g., OpenMP/pthreaded applications) and execute the applications on specific (partitioned) cores on Linux-based ...
0
votes
0answers
15 views

Wireless rtl8187se

I have a Toshiba laptop with an integrated wireless rtl8187se. I'm using Backtrack 4 and Kali Linux 1.0. The problem is I can't capture any handshakes even between the laptop and my router. When I ...
0
votes
0answers
5 views

Why is does proc_create mode argument 0 correspond to 0444 [migrated]

I am a newbie to kernel programming and am trying to userstand procfs. I have googled several examples and they all use: proc_create("hello",0,NULL,&proc_fops); where the second argument is the ...
0
votes
1answer
19 views

Can I configure IPFire (ARM) to use SSH by default?

I want to play with IPFire on my Pi, but I don't have a keyboard nor mouse to control it with. Is there a way to enable SSH by editing the image directly?
1
vote
1answer
28 views

how to list downloaded apt packages without dependecies

I'm trying to get the names of downloaded packages without dependencies.. I don't want to get all the files in /var/cache/apt/archives .. I only want to get the primary packages without dependencies I ...
1
vote
2answers
95 views

Last line is wrong when splitting a file with awk

I have a data file main.txt that looks like this 20130826,aaaaaaaaaaaaaa,bbbbbbb 20130826,sdfasdfasdfas,sdfasdfasd 20130826,dfasdfas,asdf2323 ... 20130827,sfasdfasdfasd,sdfasdfwea I used the ...
0
votes
1answer
32 views

Unable to install Arch Linux on SD card via Virtual Box

My aim is to create a bootable SD card with Arch Linux, for my Raspberry Pi. I have been trying to follow this guide without success. So far I have: A working Arch Linux virtual box, as my host is ...