1
vote
1answer
23 views

Can I update eglibc to a non-vulnerable version using Debian Squeeze 6 on x86_64 architecture?

I'm currently attempting to update eglibc on Debian Squeeze 6 on x86_64 architecture from version 2.11.3-4, which is vulnerable to the GHOST exploit, to version 2.11.3-4+deb6u4, which isn't vulnerable ...
0
votes
0answers
9 views

Install Google Chrome on RHEL 6.5 as a no-root-user

I am trying to install Google Chrome on a Linux Sever (RHEL 6.5). I am not the superuser, so I tried to install it in my HOME directory by following steps in this link: Installing Chrome on Linux ...
1
vote
1answer
38 views

who controls a linux service?

How do I quickly find out who controls some linux service? I'm tired of poking around /etc to find out if initd, upstart, systemd or supervisord is controlling some service.
1
vote
2answers
37 views

add a new line to a delimited file

So I have a file name test.txt inside that file I have about 20 lines of text that are delimited by pipe | Example: John|freshman|seatle|math|4|fulltime Bob|senior|Tacoma|biology|4|part-time I ...
-1
votes
0answers
22 views

helping get a shell script right from github

I came across this script on github. https://github.com/loganbraga/dotfiles/blob/master/bin/runOrRaise #!/bin/bash if [ $(pgrep $1 | wc -w) -gt 0 ]; then if [ $1 == "iceweasel" ]; then wmctrl ...
0
votes
0answers
41 views

Ethernet only works when PC booted with cable plugged in

My Ethernet adapter is Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) and I'm using x64 Arch Linux, kernel 3.18.4. Connections are managed using ...
0
votes
2answers
30 views

Script to SSH to multiple Linux Server and execute a find command [duplicate]

I need a script that can SSH to multiple servers and execute a find command to check when was the last time a file was created. I can get the fine command part, but I'm a little bit lost on how I can ...
1
vote
1answer
23 views

killing tunnels for a user connected with ssh -N

I created a forward only ssh connection with the following: ssh -i id_rsa -o TCPKeepAlive=yes -o ServerAliveInterval=10 \ -N -n -R 127.0.0.12:8888:127.0.0.12:8888 fwduser@192.168.1.201 Mow, ...
1
vote
1answer
14 views

iptables, differentiate ports based on hostname

Is there a way, using iptables, to ACCEPT traffic from HOSTNAME1, HOSTNAME2, HOSTNAME3 to port 22 and FORWARD traffic from everyone else to a different port and make the rule persistent? ...
1
vote
2answers
13 views

Faillog command on CentOS7

Although EPEL7 has been installed, faillog seems not to be recognized: [vagrant@vm-one ~]$ faillog bash: faillog: command not found... None of the packages seem to contain the faillog command: ...
0
votes
0answers
5 views

Display package.mask info gentoo

Is there a tool available in gentoo to simply output why a package has been hard masked? Scrolling through the /usr/portage/profiles tree and reading every package.mask file applicable for your ...
2
votes
0answers
20 views

Reliable method to determine system language in OS X

I was hoping to do something like defaults read -g AppleLanguages | awk -F, '/[^(]/{print $1;exit}' but if only one language is listed in "Preferred Languages", then defaults read -g ...
1
vote
1answer
13 views

Where is pithos installed?

I'm trying to find the installation directory in Pithos so I can hack it, and am really bad a unix commands and am embarrassed to ask this. If I do: `which pithos` This returns a link to the ...
2
votes
3answers
38 views

Best way to free disk space from deleted files that are held open

Hi I have many files that have been deleted but for some reason the disk space associated with the deleted files is unable to be utilized until I explicitly kill the process for the file taking the ...
-1
votes
4answers
145 views

How do I list files ending in txt only on Unix?

I have a directory with nine files in it. 1 ending in .bat 2 ending in .bak 4 ending in .txt 2 ending in .xtxt My question is, how do i list only the files ending in txt, but without the period. ...
0
votes
2answers
32 views

Install libapache2-mod-fastcgi on Cubietruck (Debian 7.8)

I'm new in the Linux world, but I wanted to install Seafile 4.0.1 on my Cubietruck (Cubieboard 3) with Apache2 and MySQL using these two tutorials: ...
1
vote
0answers
50 views

Can't use SSH anymore on my local machine

for some days now I'm experiencing some issues with SSH on my local machine. It's very problematic as I use the versioning software called Git to work on some projects. I'm 100 % sure the problem is ...
0
votes
0answers
9 views

How to check easily the munin alert-email-notification?

I run the munin monitoring application on my debian Wheezy server and I would like to test the alert-email-notification procedure. To do that, I add in munin.conf the following line: df._home.warning ...
0
votes
2answers
41 views

ps output / pipeline execution order

I run ps aux | grep somethinghere. The output shows the grep somethinghere as a running process. My question is, shouldn't ps aux finish first, then grep somethinghere run on its output? Maybe there ...
2
votes
0answers
43 views

How is This Symbolic Link Not Being Followed?

I have LibreOffice Writer and OpenOffice Calc installed on my OpenSuSE system. This is arguably not ideal, but before I fully switch to one or the other, I noticed some strange behaviour when calling ...
0
votes
1answer
18 views

“Disk space full” - Linux Mint as Dual Boot on UEFI Windows

I'm trying to install Linux Mint 17.1 in UEFI mode on an Asus PC with Windows 8.1 preinstalled. The 250GB-SSD with Windows preinstalled is /dev/sdb/. I partitioned 125GB for use with Ubuntu (Linux ...
0
votes
1answer
18 views

Installing chromium-browser on Debian Wheezy Depends: chromium (>= 10) but it is not installable

On FriendlyARM mini210s # uname -a Linux mini210s 3.0.8-FriendlyARM #2 PREEMPT Mon Feb 25 14:25:10 HKT 2013 armv7l GNU/Linux # more /etc/debian_version 7.8 When running the package manager # ...
0
votes
1answer
35 views

Remote terminal application

Does anyone know if there exist an application which allows admin run other apps in kind of desktop environment. What i mean is a kind of VNC application which only gives user the terminal console, ...
0
votes
0answers
3 views

Installing kernel headers (prior to `make install_headers`)

I'm trying to accomplish this make ARCH=x86_64 INSTALL_HDR_PATH=/opt/cross/x86_64-linux headers_install But with the 2.6.9 kernel tarball. It does not support the make target headers_install and ...
0
votes
1answer
36 views

What are the ramifications for remapping Ctrl-D in zsh? [on hold]

I typically use CtrlD to log off remote systems, but this doesn't allow .zlogout to run. I can remap CtrlD to exit via bindkey, but I'm not sure whether there might be other ramifications other than ...
3
votes
1answer
39 views

Can a systemd dependency be applied only to a unit's “ExecStart” action?

I have a scenario where a number of storage volumes are encrypted using keys contained on a removable encrypted USB "keyring" flash drive. I am running Arch Linux and this question is about systemd ...
0
votes
0answers
7 views

Initialise USB devices before hard disks during grub2 boot

I have a CentOS installation on a portable USB stick, with a grub2 installation on it's first partition. The system can boot when there are no internal hard drives plugged into a machine, but fails if ...
0
votes
1answer
15 views

Looking for effective alternative to ssh-copy-id which fails if you do not have the private part of the key?

To my surprise, I discovered that ssh-copy-id fails if you do not have the private part of the key, making it not usable for deploying someone else key. I an looking for a reliable way to deploy ...
0
votes
0answers
10 views

Keyboard Shortcut for Applications Menu Extension Possible?

I am new to linux, Ubuntu, and GNOME. I am running Ubuntu GNOME 14.04 which comes with GNOME 3.10. I am using the Applications Menu extension from gnome-look.org. I would like to create a keyboard ...
0
votes
1answer
23 views

How to unmask an IP with iptables?

Is there a way to unmask an IP using iptables? I know to mask all-in-one is following by: iptables -t nat -A -POSTROUTING -j MASQUERADE Thanks in advanced.
0
votes
0answers
12 views

Fn key results in backslashes rather than brightness, etc

I recently upgraded from Ubuntu 14.04 to 14.10. On 14.04, the Fn key controlled bits and pieces such as mute, brightness, volume, lock touchpad, etc. all worked fine. After the upgrade, they don't. ...
1
vote
1answer
13 views

If I install linux to a USB thumb drive, would it become a live USB?

I need a live USB that functions like normal install, with the ability like install app, add/remove user account etc... the guide on the internet which I have found require me a Live CD, but the linux ...
0
votes
1answer
13 views

Resizing Whiptail to full terminal screen

How to make whiptail full terminal screen? "as big as the terminal", like fluid CSS, something like 100%
1
vote
1answer
11 views

drbd can't start resync

This is my situation On both nodes cat /etc/drbd.d/* resource clustervol { device /dev/drbd1; disk /dev/sdb1; meta-disk internal; on iscsi1 { address 192.168.0.30:7790; } on iscsi2 { address ...
0
votes
2answers
59 views

Remove all files recursively without deleting directories

I want to "clean out" all of the files a directory including all files in subdirectories but I want to leave the subdirectories in place. My understanding of rm -r is that it will also delete the ...
1
vote
1answer
23 views

Zip the contents of a folder without including the folder itself

I have a directory called folder that looks like this: folder -> root_folder -> some files I want to zip this directory into zipped_dir, I tried: zip -r ...
0
votes
5answers
39 views

setuid (and other) permissions lost when copying / elsewhere - what to do?

I sort-of-cloned an existing Debian 7.x distro by copying the contents of the root filesystem (not the special dirs of course) to another HDD. I booted, things seem to run, but - I get some weird ...
1
vote
0answers
26 views

Questions about whiptail and bash functions

I'm a bash newbie. Say I have this script #!/bin/bash function cpp-lang { yum install "Development Tools" } function updatesys { yum -y update yum -y upgrade } whiptail ...
0
votes
1answer
12 views

Proper create user account with permissions on CentOS/Apache

I have setup a CentOS VPS to run apache, I am having trouble with permissions when creating an account. I have setup a virtual host host to point a domain to /home/user/public_html <VirtualHost ...
-2
votes
1answer
23 views

E: Sub-process /usr/bin/dpkg returned an error code (1) [duplicate]

I've just run: sudo apt-get upgrade And at the end I get the following error: Setting up liboxideqtquick0:amd64 (1.4.2-0ubuntu0.14.04.1) ... Setting up liboxideqt-qmlplugin:amd64 ...
3
votes
2answers
121 views

Find the line number which contains the pattern with custom delimiter

As in example I'm trying to get line numbers which contains the pattern. My pattern contains slashes so I wanted to add custom delimiter. This simple one works: sed -n '/file/=' temp.txt Using ...
3
votes
3answers
40 views

How to bump file timestamps by 3 months (for a directory tree)?

I am looking at the touch command line utility (on Linux), and from the examples I found in tutorials, I see how one can bump the access or modification timestamp to a specified time, the current ...
0
votes
0answers
8 views

SELinux: bin_t type socket-application can access http_port_t ports

I am trying to compromising my application (myapp) to use limited ports. For that, I have decided to assign httpd_t type to myapp. So, myapp could use only http_port_t typed ports & I could ...
0
votes
0answers
21 views

CentOS rescue mode

After a power outage somehow my server is not finding the boot partition anymore. As far as I read about recovering a CentOS 6.4 I just need to pick "Rescue installed system" option from the boot ...
1
vote
2answers
36 views

Resolving IP address to get Domain Name

How to make my server be resolved by IP address and get the domain name. For example: then Anyone can use: resolveip <my-ip> And get the output of my domain name; like www.xyz.com.
1
vote
1answer
34 views

Can I do reverse traceroute?

Is it possible to do reverse traceroute ? This is very important for me to know, Why the websites are loading slow for my clients in certain area ? I have explained my problem here: (why i need ...
0
votes
1answer
12 views

What port uses my backportpackage or bzr?

I am working in a company what uses Ubuntu Precise on the desktops behind a proxy. The Proxy is available in /etc/environment and set as: http_proxy, https_proxy, ftp_proxy, no proxy and their ...
1
vote
2answers
143 views

read first element in array

defaults read -g AppleLanguages produces something like this: ( en, de ) I'd like to extract just the first element, in this case "en", defaults read -g AppleLanguages | awk '/\(/ ...
0
votes
1answer
20 views

Unable to delete files via FTP?

I have a couple of FTP users who can access my (pseudo) server running vsftpd under Mint Linux. They are restricted to a specific directory and below via chroot(). Whilst they can access the files ...
1
vote
0answers
21 views

traceroute / mtr from multiple locations, How can we do it ? (Or alternate way)

I have a website, recently due to some network issue, Most of my customers are reporting slow loading time of my website. When I reported this to my DataCenter, they are asking me to send the ping / ...

15 30 50 per page