A family of Unix-like 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
15 views

PAM SSSD Allow Local Users

I've got a default SSSD configuration with PAM. I can login fine as any LDAP user. However, when I create a local user on a server: adduser test1 passwd test1 and then try to login as that user I ...
1
vote
1answer
13 views

Execute SSH port forwarding along with the browser

I've successfully set up dynamic port forwarding over SSH in Pale Moon and added the alias as ssh-forward in .bashrc. Now I have to execute both ssh-forward and palemoon to access the Internet over ...
0
votes
2answers
22 views

From logs, extract specific line after a grep by line number

I have a file, debug.log, from which I want to extract all the lines that immediately precede a specified pattern. Example: 1 blabla 2 blabla 3 HERE THE IMPORTANT THING 4 HERE IT MATCHES MY PATTERN ...
0
votes
1answer
19 views

mount http server as filesystem

I am trying to mount HTTP locally.Using SSHFS its working fine.But for Windows systems, or systems without SSH we cant use SSHFS.For example we can mount FTP locally using curlftp.For HTTP we have any ...
1
vote
2answers
18 views

On a headless linux server, detect if inserted optical disk is audio disk

On a headless Linux server (latest fedora if this is of interest), how can I detect that the inserted optical disk is an audio disk, as opposed to a data disk or a video DVD? There is no desktop ...
4
votes
1answer
567 views

Block all outgoing traffic for a User running Wine apps

Good day, I'm using a lot of WINE apps under Linux which work just fine, but one thing I am specifically looking for right now is to block their access to the internet (outgoing), with exception of ...
0
votes
1answer
28 views

How to fix connection loss in VM?

My virtual machine loses the internet connection sometimes on linux and I need to stay connected constantly. So I wrote the following script: #!/bin/bash wget -q --tries=10 --timeout=20 --spider ...
0
votes
0answers
49 views

How to setup grub fallback functionality for Centos-7

I have multi-boot environment Centos-7.1(Kernel-4.2.6 on /dev/sda3) Centos-7.1(kernel-3.10 on /dev/sda2). I want to boot through Centos-7.1(kernel-3.10 /dev/sda2) on failure of Newly installed ...
0
votes
1answer
16 views

Why can I access my Raspi via ftp (FileZilla) even after stopping the 'vsftpd' service?

I've been fiddling with my new RasPi 3 and one of the first things I did was to setup an FTP server to transfer files between my Pi and my laptop via the local Wifi network. I installed the 'vsftpd' ...
0
votes
0answers
7 views

Binding a Bluetooth device to a Linux serial device

I'm trying to redirect Bluetooth input from a gamepad to a serial device (/dev/XXX), but I haven't been able to do so. I'm running Raspbian Jessie. I'm able to pair and trust the gamepad via ...
0
votes
2answers
27 views

Move OS from one drive to another

I have elementary OS(based on Ubuntu 14.04) installed on my Laptop. I wish to install Windows 10 on my laptop's primary hard disk. I have another external hard disk which I want to use for elementary ...
0
votes
0answers
15 views

Can't resize VirtualBox drive. Debian

I had Debian Virtual Machine with 8 Gb vdi disk. Later i need have been some extra space. I resize vdi disk with VBoxManage modifyhd Debian.vdi --resize 20Gb Next, i download GParted ISO and create ...
0
votes
1answer
12 views

Why isn't the latest version installed from the PPA as advertised?

I have the ethereum PPAs enabled http://ppa.launchpad.net/ethereum/ethereum/ubuntu http://ppa.launchpad.net/ethereum/ethereum-dev/ubuntu http://ppa.launchpad.net/ethereum/ethereum-qt/ubuntu I have ...
1
vote
1answer
5 views

CentOS 6.7 configure: error: dlopen not found

I'm trying to configure LibreOffice On-Line WebSocket server before installing but the following error is thrown: configure: error: dlopen not found Full output: [root@SBX-EXT-001-002 loolwsd]# ...
0
votes
1answer
24 views

force container outbound traffic via another container (without host iptables rules)

I have two containers, A & B. They should exist on a newly created docker (private) bridge network such that: A can talk to the world outside the bridge, but only via specified gateway IP B ...
0
votes
2answers
2k views

How do I make a USB flash drive writable on Linux?

I want to reformat a SanDisk Cruzer Edge USB flash drive but it appears read-only: $ sudo dd if=/dev/zero of=/dev/sdg dd: failed to open ‘/dev/sdg’: Read-only file system I checked the readonly ...
0
votes
0answers
20 views

Wifi Access Point instable in Fedora, KDE Plasma 5

I have two PCs (PC1 and PC2). Both have identical hard- and software and both are connected to the interenet via ethernet connection. As OS I have Fedora 23 with KDE Plasma 5. Using the KDE ...
24
votes
6answers
16k views

How can I change all files belonging to one user to another user?

I'm looking for a Linux command that can change ownership of all files belonging to a given user, preferably in a targeted directory, to another specified user. My dream command would look something ...
0
votes
1answer
9 views

Choose gateway regarding incomming node

I have a server behind 2 Internet Access. the ip are these: -Server : 192.168.0.1 -ISP 1 : 192.168.0.253 -ISP 2 : 192.168.0.254 I would like that packets coming from ISP 1 receive response using ...
1
vote
1answer
36 views

I just installed GMP, where did it install to?

I am not familiar with installing programs with ./configure...make and so forth. I just installed GMP like this and now I cannot seem to find where it installed to. I checked in all the bins I could ...
0
votes
0answers
687 views

Kali Linux - Debootstrap error Failed to determine codename for the release

Installing the new Kali Linux 2016 rolling release to the HDD via USB. I made a bootable USB using Universal USB. Booted off the USB and selected "Graphical Install", I had an issue at the beginning ...
5
votes
1answer
99 views

WD Green Hard Drive and home linux server

Are newer WD Green Hard Drives still a problem for Linux nowadays? The discussion here is focused on home linux servers, not NAS or data centers. Here is a summary of my research from googling. ...
0
votes
1answer
13 views

Using firewall-cmd to open up a port for INPUT only

I'm using firewall-cmd on centos7 to open up a port. But, I want to open up the port for INPUT only. I currently have this, but it, presumbably, opens it for INPUT and OUTPUT. sudo firewall-cmd ...
6
votes
2answers
2k views

Backup a server using Ansible?

Ansible seems to be a pretty efficient automation tool to deploy and to update applications on servers. Is it possible to use it to backup a (Linux) server as well? Is it a good practice to do so? ...
1
vote
1answer
26 views

Screen turning off at random, on any Linux distro

I've switched an old laptop with the dreaded SiS 771 graphics card to Linux (Debian jessie to be more specific) but while I work or even leave it on idle, the screen suddenly turns off, while the fans ...
0
votes
2answers
21 views

Can DVD-R disks be used to create a boot disk?(linux iso)

Can DVD-R disks be used to create a boot disk?(linux iso). I am trying to install linux on my imac powerpc g5 which wont boot from a bootable usb.
1
vote
1answer
17 views

To create shell script

I want to create a script to check size of all the files present under particular folder, and if size of any file present under a folder cross 500mb it would trigger a mail to me specifying the file ...
6
votes
7answers
56k views

How to access a network folder in Ubuntu using the terminal

I am new to Ubuntu(and Linux for that matter) and I am trying to access files using the terminal. The network folder is on my Desktop, but when I go to the Desktop folder via the terminal, the ...
2
votes
2answers
10k views

Total disk usage for a particular user

I would like to see the total disk usage for myself on a particular file system. I executed the command du -h ~my_user_name However, this lists every directory owned by my_user_name. I would like ...
1
vote
1answer
11 views

grab history command and args for different commands

I have the following exercise: 47 vim wilson.0321 wilson.0329 I need to grab the last command and args to create: vim wilson.0329 right now I can grab the last arg or entire command: ...
1
vote
2answers
27 views

How to stop specific dhcp interfaces from adding a gateway to my routing table in linux (RPi)?

I've been setting up a VPN server on my Raspberry Pi 3 (latest Noobs) which has worked wonderfully. The VPN creates an extra interface called vpn_vpn and my normal internet is on wlan0 or sometimes ...
0
votes
2answers
23 views

Can I use vlc on Linux to convert an audio file to m4a to be played on iPad/iPhone?

I have been working and researching this question for much of the day. I found some online advice and changed an FFMPEG preference (strict conversion to -2) and added an AAC output option. I was able ...
0
votes
0answers
20 views

Virtualbox: booting OS X guest on Ubuntu host on a Macbook Pro

I want to boot Linux natively, and boot the Mac's own native OS X virtually inside Linux. I've followed the same procedure as I've used in the past to boot Windows partitions in a Linux host, but it ...
50
votes
7answers
74k views

How can I know the absolute path of a running process?

If I have multiple copies of the same app on the disk, and only one is running, as I can see with ps, how can I know the absolute path to distinguish from the others?
0
votes
1answer
13 views

Where is the email address for maillog set?

I've got a CentOS 6.7 system that currently emails a certain address to send system messages (for example, it emailed with the body "Terminated" to indicate a process spawned by cron that was killed ...
0
votes
1answer
21 views

Dynamically resolve hostname to multiple, prioritized IPs

I have a linux server connected to a VPN. At home, I use the same VPN on my laptop, while connected to the server directly through a wireless router. To do this, I have two entries in my /etc/hosts ...
1
vote
0answers
9 views

I can not install the necessary dependencies for Skype for Fedora 23 x86_64

Hi I have a HP Envy dv7 with an uname -a output of: Linux MercadesBendz 4.4.7-300.fc23.x86_64 #1 SMP Wed Apr 13 02:52:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux lspci output of: 00:00.0 ...
5
votes
1answer
1k views

Accidentally dd'ed an image to wrong drive / overwrote partition table + NTFS partition start

I screwed up and set the wrong output for dd when trying to copy a freenas ISO, overwriting the wrong external hard drive. External drive is only used for data storage, system is entirely intact ...
0
votes
0answers
8 views

dansguardian is blocking all http traffic by default

I was trying to setup a proxy on my machine to filter web content, so I installed tinyproxy and dansguardian. I checked all the configuration files but cannot find the directive to allow the http ...
3
votes
3answers
4k views

Is it possible to force wget to use one connection?

I'm trying to download about 20GB of data with FTP with my personal account (no scp available and tar-ing is not possible). I'm using the following standard command: wget -m ...
3
votes
2answers
386 views

Setting up static IP on Linux

I understand an interface file in Linux needs to be edited and the corresponding lines added. I don't understand what network and broadcast are for, they seem extraneous compared to a Windows static ...
0
votes
1answer
25 views

how to see the output of a cron/at jobs while it is still running?

The output of a cron or atq job is automatically send by email to the user, when the job is finished. However I am running a time consuming script, and I would like to check that it is running ...
0
votes
0answers
5 views

Webfaction: how do I have my secondary user sudoing as main user in post-receive?

I am using webfaction (remember this, since I don't have access to root or standard sudo foo --bar commands to get admin rights) and have two user accounts in a server I manage for someone (one user ...
-2
votes
1answer
38 views

I can ssh into server A from server B. But I cannot ssh into server B from server A

I have 2 servers in a data center. Server B is publicly accessible, as in, I can ssh into it. Server A is not. So to access Server A, I ssh into Server B. And then from there, I ssh into Server A. ...
0
votes
2answers
32 views

Protecting Virtual machine from being copied to other hosts

I'm deploying a web application on a linux server (ubuntu) on virtual machine (In VMWare ESX 5.1 and the host machine is Windows) I need to protect the entire application and guest OS from being ...
1
vote
1answer
24 views

Is pg_ident.conf working?

When i'm trying to run psql, is says: psql --version psql (PostgreSQL) 9.3.12 psql psql: FATAL: Peer authentication failed for user "testuser" Here is my pg_hba.conf: # Database administrative ...
1
vote
2answers
14 views

How can I fix Debian Linux nf_conntrack?

I have a problem with my Linux router (Debian). When I run MTR, it always has loss in 1 hop it in my server. My friends told me it's because my nf_conntrack is full. I have been up max_conntrack but ...
0
votes
0answers
47 views

pulseaudio pavucontrol: Missing “ALSA capture from” in gui

I am trying to redirect sound output to fake microphone, but I got stuck in pavucontrol. After trying 3 tutorials, I gave up due to missing "ALSA Capture from" options. It should look like Here's ...
2
votes
1answer
221 views

How to make Nginx virtual host work? (page not found)

Running Ubuntu 13.10 in VirtualBox. I've put my website in this folder: And created the log folder on /srv/www/streamsy.com/logs/. I've done these steps: sudo apt-get install nginx sudo chown -R ...
0
votes
1answer
182 views

X Server unable to start under Linux 4.5 in Arch virtual box guest

I recently ran paceman -Syu to upgrade my system as usual but after installing the newest Linux kernel, the X Server could no longer start and produced this error in the log file AddScreen/ScreenInit ...