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

2
votes
1answer
31 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 ...
0
votes
0answers
15 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 ...
20
votes
2answers
45k views

How can I change a user's default group in Linux?

Being new to Linux administration, I'm a little confused about the following commands: useradd usermod groupadd groupmod I've just finished reading the user administration book in the Linux/Unix ...
-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
0answers
13 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 ...
-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 ...
4
votes
1answer
437 views

Spike in swap utilisation without high swap rate

Every Saturday, for reasons unknown to me, one of my servers experiences a spike in swap utilisation. It's not necessarily a problem as there is plenty of free memory available, but I'd still like to ...
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 ...
0
votes
2answers
639 views

md5 or sha1 while copying a file

Is there a way in any linux distro to perform a md5sum or sha1 check while the file is being transferred from a local partition to an NFS one? Example: I have a NFS mounted drive and a very big file ...
6
votes
2answers
765 views

Asus X101H - Touchpad not recognized (want to disable while typing)

I have been struggling with this issue for a while and have done an exhaustive search for answers here and elsewhere before posting this question. On my Asus X101H, the touchpad is not recognized as ...
0
votes
0answers
17 views

How to access MariaDB on Debian Server from Win Machine on same network

I'm having trouble accessing my MariaDB server from my windows machine on the same network. When I try to create an ODBC connector from within MS Access using the local IP and the correct ...
0
votes
0answers
16 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
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 ...
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 ...
1
vote
1answer
819 views

Bluetooth Device not working debian wheezy

i just installed debian wheezy on msi cx640dx. my bluetooth device not working. here is some information. Kernel version: $uname -r 3.2.0-4-amd64 when i use hcitool dev it don't show any device. ...
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?
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
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 ...
3
votes
1answer
3k views

Airdrop compatible

Is there anything in Linux that implements whatever it is that makes Airdrop in OS X work? I'm not really familiar with that program, so I'm not sure what protocol it's using to communicate. update ...
1
vote
1answer
1k views

How to access u boot environment from linux?

How can I access and change the u-Boot env variables in linux. Using the u-boot/tools/env directory in u boot directory: u-boot$ make env Which created the executable file fw_printenv. I copied ...
1
vote
0answers
7 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
0answers
27 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 ...
2
votes
3answers
810 views

Touchpad not detected

Some days ago I received a LDLC Iris FB2-I5-8-S2 notebook and installed Linux on it (Linux Mint 16 Cinnamon 32bit, Kernel 3.11.0-12-generic). Everything except the TouchPad works out of box (even the ...
1
vote
0answers
15 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 ...
4
votes
3answers
259 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 ...
5
votes
5answers
2k views

How to get better desktop performance in linux?

Normally I do not care much about desktop - performance, since my servers do not run any gui. But at home I run some older hardware (Pentium) which gets sometimes very sluggish (mouse-movements in ...
0
votes
0answers
23 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 ...
3
votes
3answers
127 views

Can't dual boot Windows 7 and Linux Kali

Long story short, I don't want to / can't use Kali on a VM properly. I want to set up a dual boot machine. I've done the following: I downloaded the Kali ISO and used Win32DiskImager to put it onto ...
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 ...
1
vote
0answers
61 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 ...
1
vote
1answer
986 views

Intel Turbo Boost apparently activated for no reason?

The other day, I reinstalled my operating system (Crunchbang, fork of Debian). For some reason my fan has been running at full speed (and blowing colder-than-room-temperature air) even though I'm ...
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 ...
1
vote
0answers
9 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 ...
2
votes
1answer
27 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 ...
0
votes
1answer
3k views

Setting up hostapd with a iwlwifi device to run a hotspot

I am trying to configure my opensuse 13.1 system to function as a hotspot (on my dell xps13 computer). So I tried setting up hostapd as explained here, but I get an error: hostapd ...
1
vote
2answers
27 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 ...
3
votes
1answer
666 views

BCache and disk encryption

I recently bought a new laptop with a 16Gb mSATA SSD cache drive. I haven't used that one yet. I have, however, opted for Ubuntu 13.04 with "Full Disk Encryption" for the main partition (is that ...
-2
votes
0answers
56 views

How to mount partition from terminal? [closed]

am using a script as follows in my ubuntu 14.04 #!/bin/bash echo "mounting" && sudo mount /dev/sda4 /media/subin/subz && sudo mount /dev/sda3 /media/subin/works using this i can ...
1
vote
2answers
46 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
27 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
vote
2answers
94 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 ...
-1
votes
1answer
66 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
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 ...
0
votes
1answer
27 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 ...
1
vote
1answer
23 views

Possible to deliver centrally configured login scripts on Linux?

In Windows you can assign login scripts to users which run whenever they log into a system which allowing admins to do things like map drives/printers and generally do anything for which there isn't a ...
0
votes
0answers
8 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 ...
1
vote
1answer
507 views

Determine whether kernel built-in driver supports a device

I'm trying to find a way to accurately determine whether all the hardware on some system has a valid driver installed either via a kernel module or built-in to the kernel. I'm working with RHEL 5.5 ...