Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
0answers
43 views

Installing firmware with samsung magician dc

I am trying to get Samsung magican DC to work on my linux (linux mint 17 xfce) computer. I downloaded samsung magician dc from here. Then I downloaded the firmware update files from this page (under ...
1
vote
0answers
8 views

Can I interrupt a task in inkscape?

I have launched a "tiled clones" task in inkscape. Rather than setting a number of clones, I have selected an area to cover. Inkscape has been working at it at 100% CPU for 1/2 an hour now... I'd ...
4
votes
1answer
68 views

Require user passwords on linux only on weekdays

Is it possible to make linux require user password only during specified time range, eg. from Monday to Friday? I want to set it this way on my Linux Mint, so that kids cannot access computer on ...
1
vote
1answer
12 views

How to open vnc viewer and login vnc with one command line

I download vnc viewer from here, i find it's a binary file, so my question is how to open vnc viewer and login vnc with one command line, for instance ruby -e "puts (File.read 'path/to/my/passwd')"| ...
0
votes
0answers
10 views

Is system call the only way that a user program can intentionally affect the state of a Linux kernel?

I think there are several ways that a user program can intentionally affect the state of a Linux kernel. By invoking a system call; By invoking mmap() and writing the memory that has been mapped to ...
1
vote
1answer
26 views

How to Extract Multiple substrings from Log FIle

I am trying to extract the timestamp and the number string in the URL called in an apache logfile that looks like this: 123.456.78.90 - - [16/Dec/2014:06:27:30 +0100] "GET ...
0
votes
1answer
20 views

I removed the sudo,the I have no permission to install any program?

It's seems like a big problem. I can't login as root, because I use the fedora20, and I can not use sudo. What can I do now ?
0
votes
1answer
21 views

ZIMBRA 8.5.1 : error: unsupported dictionary type: LMDB

Last Saturday, We did below things,after upgrading from 8.0.5 to 8.5.1. su zimbra echo smtp.DOMAIN.com UN:PW>/opt/zimbra/conf/relay_password postmap lmdb:/opt/zimbra/conf/relay_password postmap -q ...
-1
votes
1answer
12 views

Must the Owner of a File Have Equal or Greater Permissions than the Group?

Note: These results were altered to disguise the real names of these files and user names. I'm editing the text file tablet.css over a Samba Share with the following permissions: File Permissions on ...
0
votes
1answer
25 views

iptables duplicate traffic to another ip

This blog post has a template iptables rule to forward traffic, to and from the router to another ip address. iptables -t mangle -A POSTROUTING \ -d [IP to spy on] \ -j ROUTE –tee –gw ...
0
votes
0answers
6 views

Is dd's extended size notation ignored when bs=<value> is set?

On linux the man page for dd claims: N and BYTES may be followed by the following multiplicative suffixes: c=1, w=2, b=512, kB=1000, K=1024, MB=1000*1000, etc up to M, GB, T, P, E, Z, Y. But ...
0
votes
0answers
15 views

Properly set default permissions on home directory

I have /home/user1 and /home/user2. I changed all of /home/user1 to 775 and 644 using chmod and chown'ing everything to user1:user2. How can I make it so anything user2 adds to /home/user1 is either ...
1
vote
1answer
27 views

linux: rm of file as root fails with EPERM (Operation not permitted)

I am logged in as root # whoami root I have a file # ls -l /usr/share/applications/google-chrome.desktop -rw-r--r-- 1 root root 8424 Dec 3 10:29 /usr/share/applications/google-chrome.desktop It ...
0
votes
0answers
17 views

How to make my Debian useful - 1 CDs installed, clean Debian

I have problem with debian. After 1 year working on Ubuntu and problems with Ubuntu on VirtualBox I decide to moved to Debian(I know that Ubuntu is son of Debian, but Debian don't make a problem with ...
2
votes
1answer
29 views

Check for Free Space on Linux, email if critical

I just finished dealing with a server which had run out of space, and would like to setup monitoring on it now, to prevent it going critical in the future. What I would like is to get an email sent ...
1
vote
1answer
12 views

Linux setcap and changes made to the executable

A program that I am developing uses raw sockets. For security reasons to run a program that uses raw sockets, the program has to be run under a user with effective ID 0 (root?) or have the capability: ...
0
votes
2answers
63 views

How do I set Input interface is output interface

I have eth0 with IP X.X.X.X and eth0:0 with IP Y.Y.Y.Y. My goal is if I connect to eth0 then output ip shoud be X.X.X.X and if I connect to eth0:0 the output ip should be Y.Y.Y.Y. Example: VPN ...
0
votes
1answer
22 views

Inconsistent applying permissions

Changing permissions in a script after installing certain apps (Linux and OSX), I found the following very confusing. Creating an ".app" in OSX requires placing a directory with a number of files ...
0
votes
1answer
20 views

Up arrow in gnome terminal to review command line history ignores commands with leading whitespace. Is there a workaround?

When writing python code (using gvim) I often keep complex command line commands for test cases saved in my docstrings. A common time-wasting error I make is copying the entire line from the python ...
0
votes
1answer
13 views

Mouse focus stuck (Linux)

Sorry for crappy post layout, posting from my phone. Problem: mouse focus gets stuck. Not sure how to explain it, I can sometimes get it to switch to a window, but once there it's locked until that ...
1
vote
0answers
11 views

Linux wireless scan workflows [closed]

I'm looking for a wireless printer that can scan wirelessly. I know this exact question has been answered 1000 times, but I'm looking for info on the workflow involved and for info on more efficient ...
0
votes
1answer
25 views

Unable to communicate with peripheral over Serial USB from Linux

I am struggling with establishing comunications with a peripheral over USB serial on my Linux here (fedora 20/64bit), and I am probably missing some step: I connect the device, a /dev/ttyUSBx port ...
0
votes
0answers
31 views

Configuring a Git server on Arch Linux

I’m looking to turn my website that I’m building from scratch (that is, the root of the site) into a Git server. Basically I’d like to be able to have a local copy that I can edit through Eclipse and ...
0
votes
0answers
22 views

Unable to open files with OpenVPN and samba (writing works)

I have setup a samba server and it works correctly from the local network. When accessing via OpenVPN both from Windows and GNU/Linux writing works but can't open any files. It just timeouts when ...
0
votes
0answers
15 views

raid5 after changing disk, data disappeared in lost+found or?

I lost a drive so I stopped my array, changed the drive, reassembled the array. So far so good except that when I tried to mount the array I had an error about md0 file system (sorry I rebooted so ...
0
votes
0answers
9 views

socat and serial ports (Linux)

I'm having some issues with using socat against a serial port (on the other end is an FTDI chip) the command I'm using is socat -x ...
2
votes
1answer
39 views

Renaming multiple directories

If have a directory structure that stores records based on their date of recording. Originally there was one directory that contained a subdirectory for every single day like this basedir ...
0
votes
1answer
13 views

RPM created using checkinstall giving dependency error

Compiled openssl-1.0.1.i using commands: export CFLAGS="-fPIC" ./config shared --openssldir=/usr/share/ssl make depend make all make install here it is not asking for any dependencies I am able to ...
0
votes
1answer
36 views

Grub2: “Invalid partition table!”

I have recently had to change bootloaded from my old syslinux to GRUB2. Since I have installed GRUB2 bootloader I am getting the following message on every boot: Invalid partition table! The ...
0
votes
0answers
19 views

Sound starts crackle through hdmi when cpu usage goes high

I built new HTPC with Athlon 5150 (AM1 platform) + Asrock AM1H-ITX. I have installed Linux Mint 17 + XBMC. This machine is connected to tv throught HDMI. It works like a charm except one: during ...
0
votes
1answer
6 views

Linux updating, downloading [Awaiting headers]

I've installed fresh CentOS and I've been having problems updating, downloading as it always either gave me an error "Trying other mirror" + "Read error (connection timed out) in headers". Then I ...
0
votes
0answers
16 views

Safe to manually spin down hard drive with hdparm?

I have a laptop with a ssd for primary OS drive, and a large Spinning disk for storage. I currently have an alias I use for manually spinning down the drive when I'm not using it (after umount of ...
0
votes
1answer
16 views

How to extract single file from large tar/tar.gz file

What I want to do is to extract a single file from a huge tar file, instead of extracting the whole tar. I am using RHEL 6.4 I Googled it and tried the following: tar --extract --file=some.tar ...
0
votes
1answer
17 views

iptables INPUT command

On a ubuntu1, this is iptables command: sudo iptables -A INPUT -p icmp -j DROP so on the other computer (xp1) I can not ping the ubuntu1.So this is OK. But On ubutnu I [[ can ]] ping xp1. and I ...
-4
votes
1answer
21 views

How Can I clear server log file to reduce memory?

I want to clear the server logs in Linux without having to restart server, so that I dont get Out of Memory issue. I heard that > filename would do that but that contents are stored to some other ...
0
votes
1answer
20 views

Can't connect to WIFI, when cloning my MAC address (Linux Mint 17)

I'm not able to connect to a WIFI using a cloned MAC address. I tried with 2 different access points, with the internal WIFI and with an external WIFI. After cloning to a valid MAC address (took from ...
0
votes
0answers
21 views

Centos6.5 can't use serial console but can see serial output messages during boot up

I configure CentOS 6.5 x86_64 version to support serial console. I edit configuration files as many people suggest. In GRUB, Add these two lines: serial --unit=0 --speed=115200 terminal --timeout=5 ...
4
votes
2answers
44 views

How to tell which services run at startup on Raspberry Pi? (raspbian)

I have some services that run on boot but I've actually forgotten how I set them up! If I want to change their activity how might I do that? For instance, maybe I want to disable a service from ...
0
votes
1answer
16 views

mdadm --examine displays something different than --detail

Who should I trust to fill my /etc/mdadm/mdadm.conf ? mdadm --examine --scan returns /dev/md/0 while obviously it's /dev/md0 that is currently rebuilding What should I put in my /etc/mdadm/mdadm.conf ...
1
vote
0answers
36 views

Mounting /dev/shm in a Gentoo chroot on Xubuntu 14.04

I'm trying to install Gentoo, and instead of using one of the bootable minimal install CDs provided by Gentoo, I'm using a chroot in Ubuntu. I'm mainly following the instructions outlined here, ...
0
votes
0answers
20 views

Howto write in chroot on Secure FTP(sftp)

As I understood, directory for chroot must have permission 755, and must be owned by root. But 755 mean that only owner(root) have acces for write to this folder. But what if I have user web, with ...
0
votes
2answers
50 views

Linux Mint and sound problems

I'm running into a no audio problem on the latest version of Linux Mint (Rebecca). I've uploaded the data to here for anyone to peruse, and hopefully find a solution to this problem: ...
0
votes
2answers
30 views

Install windows7 theme ubuntu - fails

I am trying to install a windows 7 theme on my ubuntu OS. I follow some steps steps from another site ...
0
votes
0answers
9 views

Troubles backing up some files from Linux system to FreeNAS using rsync

I'm using rsync to backup whole system over LAN to freeNAS server with this command: rsync -aAX --delete /* /mnt/backup ...
1
vote
1answer
17 views

Forcing dropbox to omit particular type of file extensions?

I use Dropbox to save my numerical work on the fly - it's very convenient since I don't have to think about saving code every time when I make a change - but there is one flaw. You see, my .cpp files, ...
-1
votes
0answers
5 views

How to root my Micromax A44 without bricking my phone? [migrated]

I am new to these root permission stuff. I want my phone to be rooted , so that i can extend my internal memory and add memory from my external card. I would like to know how to root my phone and what ...
1
vote
1answer
16 views

Get user logged into a given tty

I'm writing a bash script that disconnects idle sessions but writes to the tty a few seconds before terminating it to make sure it really is not being used. The format for write is write user [tty]. ...
0
votes
1answer
21 views

How to protect authorized_keys file?

I have setup key-based-only SSH login (and denied root login) to my Ubuntu server ls -l /home/ernest/.ssh shows this: -rw------- 1 ernest ernest 405 Dec 14 09:17 authorized_keys Is this means that ...
0
votes
1answer
31 views

What does `-n` option in sed do?

This is the man page entry for -n: -n suppress automatic printing of pattern space I notice that when not using -n for certain operations, each line is printed to stdout (and the requested ...
3
votes
2answers
25 views

Listing content of directory with absolute path is not equal to listing with relative path?

I launched Ubuntu 14.01 instance in AWS by using its API (with Python and Boto). I changed properties of the root device - 30GB instead of the default 8gb and used magnetic disk standard instead of ...