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
1answer
7 views

how to insert a text file in hosts.allow or hosts.deny?

So I read in man page of hosts.deny that i can input files in /etc/hosts.allow or hosts.deny to input ip addresses which i want to block or deny. So i tried doing this in hosts.allow sshd: ALL ...
0
votes
0answers
3 views

IP masquerading, rule to forward packets between the Interfaces (on a multihomed network device)

Preamble This question can be considered as a followup to link Setup System: Embedded linux system running netfilter and iptables enabled kernel. Number of interfaces: 2 eth0: Connected to a NAT ...
-1
votes
1answer
22 views

How do I determine what programs are running with root privileges?

Is there a way to check via terminal which programs are currently running and by which privileges they run?
1
vote
0answers
8 views

ssh command fails when run with ssh-dss as hostKeyAlgortihm

I am running two commands one after other. I run in the following sequence second command fails with error code 255 First Command: ssh -ladmin -oStrictHostKeyChecking=no \ ...
2
votes
0answers
26 views

samba is up and accesible but not showing

I have a very strange problem, I have samba set up and running. I can access it if I use manual access like : smb://myserver however it does not show it on the list under my WORKGROUP. (no Folder ...
2
votes
2answers
1k views

Debian / Monit: mail is only sent to local system, not to outside address

I have a Debian server and have monit installed and running. I use the following settings for alert mails: set mailserver localhost # primary mailserver set mail-format { from: monit@abc.test } set ...
-1
votes
0answers
5 views

Is there a failsafe guide for “ssh -X” usage for both client and server?

I simply can't get SSH properly to run with my server config. Both machines are reachable within the identical NAT and around 15cm distance away, they can both be accessed via TCP/HTTP or other ...
0
votes
1answer
4 views

Is there a way to change file/folder ownership on a server in Ubuntu/Kali-Linux?

I accidentally changed file ownership of a folder in Windows 7 and now nobody can edit, copy, view, move it, etc. Not even the administrator account account can change it back. I tried icacls and ...
32
votes
8answers
195k views

How to set current time on Linux?

Why is the output of the following commands different? root@vmi2115:/var# hwclock Sun 26 Jun 2011 01:21:38 PM CEST -0.273230 seconds root@vmi2495:/var# date Sun Jun 26 15:21:39 CEST 2011 ...
0
votes
0answers
18 views

How do I make Unison behave like rsync?

I have two roots, /sync and ssh://bob@remotehost//sync. These roots contain three subfolders: paul, bob and sam. I currently sync them using the following script: rsync -a --delete --delete-excluded ...
0
votes
2answers
3k views

apache wont follow symlinks | 403 permission denied

I'm using Ubuntu 14.04, and have a problem with the Apache configuration: I created a Symlink from /var/www/html torwards /home/me/myWebDirectory but localhost/myWebDirectory renders a ...
24
votes
5answers
37k views

Good block size for disk-cloning with diskdump (dd)

I use dd in its simplest form to clone a hard drive: dd if=INPUT of=OUTPUT However, I read in the manpage that dd knows a blocksize parameter. Is there an optimal value for the blocksize parameter ...
3
votes
1answer
3k views

RW mounted usb drive regarded read-only by cp

Context Can any of you help me with the following, I've got a micro sd card inserted via a usb stick into my Compaq 8510w laptop running the latest Arch Linux (x86_64) release. I have a udev rule ...
0
votes
0answers
11 views

Linux Mint 17: No 1366x768 Resolution

When I installed Linux Mint 17 for the first time I was facing some freezes and I solved that issue by installing nvidia-304-updates driver. But now my native resolution 1366x768 is not available in ...
0
votes
1answer
17 views

ssh proxy command with netcat

In example like this: Host destination ProxyCommand ssh gateway nc %h %p Is the connection between the gateway and the destination encrypted? I am confused because I have 2 hypotheses and both ...
1
vote
0answers
8 views

How do I get access to the file system of a stopped AWS instance (virtual machine)?

Issue: I have an AWS t2.micro (virtual machine) instance (name:webserver) set up with Ubuntu 14.04 LTS. The instance is unusable due to a configuration file that I edited improperly and saved. I ...
0
votes
2answers
24 views

How to update git on RHEL without access to root?

I am trying to get my IDE set up at work for a project I am working on. I am coding in python and working in PyCharm because of its awesome git support. However, whenever I try to configure git on ...
0
votes
0answers
2 views

How to downgrade kernel of samsung device SM-T230

I am facing a weird problem. My client reported that our game(which is based on cocos-2dx 2.2.6) displays black screen after focus change on one device namely Samsung Galaxy Tab 4 SM-T230 the Log ...
1
vote
0answers
13 views

Why does ssh wait for all the launched processes to exit?

I am running a script from one machine on another machine using ssh. ssh <host> a.pl Now, a.pl starts several other instances of a.pl using the 'system' method and executing each of them in ...
0
votes
1answer
20 views

Autocompletion on all my programs for Linux

I'm looking for a tool to have an auto-completion feature (glory to zsh!) working on my whole linux system. It could be something similar to the suggestions given by the Android keyboard, but having ...
1
vote
1answer
2k views

Write file permissions for root user

I have a file called myfile that I would like to move using: sudo mv myfile deep-dark-directory/ I need to use sudo to move the file as deep-dark-directory needs root privileges to write and I ...
0
votes
1answer
26 views
+50

Xulrunner crash when running with underprivileged user

I use SlimerJs as an headless browser on a server. Because the server have no xserver I used xvfb to run it. The command goes something like this: xvfb-run --server-args="-screen 0, 1024x768x24" ...
0
votes
0answers
12 views

Taking control over a ThinClient

http://41j.com/blog/2011/10/hp-t5325-thin-client-hacked-to-full-debian-system/ In reference to that. I've tried spamming CTRL+C with no avail. Are there other ways I could try to take control and ...
0
votes
0answers
17 views

mount point is not a directory

I am trying to mount a directory from a local desktop in my home network. The computer exporting the nfs share is named jarvis and the nfs client is named marvin. On marvin, I run showmount -e jarvis, ...
0
votes
0answers
12 views

zero a large block device with parallelized dd

We have a sixty terabyte block device which we want to zero using dd. Is it possible to parallelize this operation in order to reduce the amount of time it takes? I've tried running the following ...
0
votes
2answers
13 views

Continuously check status of OpenVPN connection

I'm trying to check and display the status (connected/not connected) and the server's hostname/cn of an OpenVPN connection that should connect at every boot. Now I've found out that in ...
0
votes
0answers
13 views

OpenVPN iptables and security

I want to run OpenVPN at home. I have a virtual instance of Debian 8 on my ESXi 6.0 host with its primary IP as 10.0.0.99. I assigned multiple virtual NICs (server, vpn, management, backup) with the ...
4
votes
1answer
2k views

'user is not in the sudoers file' but actually is

I have already read a lot of posts about enabling sudo-access for a specific user but those couldn't help me so far. The situation is: I'm running Debian Testing. On the system there are only two ...
2
votes
1answer
315 views

HDD naming in Linux?

Does Linux attempt to give a drive the same letter each time? For example, if was to connect two drives to my computer, then disconnect them and reconnect them in reverse order would sdb and sdc ...
-2
votes
0answers
9 views

Upgrade Linux Mint from ISO on HDD without burning DVD/USB

I have an old computer that I wanted to rescue, so I installed Linux Mint 10 onto it using a Live CD. Now, LM10 is obsolete, so I'm wondering if I can upgrade the distro using the ISO file of LM17. ...
1
vote
1answer
24 views

Copy (almost) entire filesystem with minimal effort

A couple months ago I switched from VPS to dedicated server, however all this time I haven't found the time to actually go through all the files I might need again, copy them and shut down the VPS. ...
0
votes
0answers
7 views

Binutils compilation error, makeinfo missing

I am compiling binutils from source on my amd64 computer. I got the following message: WARNING: makeinfo is missing on your system. You should only need it if you modified a '.texi' or '.texinfo' ...
3
votes
2answers
994 views

Downmix from 5.1 Surround to two channel stereo using avconv

I have a .wmv with the audio codec of wmapro, which my target video player chokes on. I am generally in the process to "standardise" my collection to x264/aac (as this works fine on all my devices), ...
0
votes
1answer
157 views

How to install wxpython on centos 6.5 (with python 2.7)?

I've updated python on my centos to 2.7 and installed wxpython via: yum install python-wx Unfortunately python can't find the library and I get an error: ImportError: No module named wx Did I ...
-2
votes
1answer
2k views

Why is there Permission denied in .conf files in Linux Kali Operating system?

Why is there Permission denied in .conf files in Linux Kali Operating system? to enabled eth0 in linux kali. because no wired connected shown. i tried linux command as bellow ...
-1
votes
1answer
9 views

Dual display through X11 protocol

I have a question: I'm working on a computer that has no secondary display output, but another computer in the network has one. Is this possible to extend the second monitor through X11 with the ...
0
votes
1answer
22 views

bash - processing output one line at a time

I read that xargs was good for processing the output of a command one line at a time (and it is). I have the following line in my script. ./gen-data | awk '{printf $2 " "; printf $1=$2=$3=""; gsub (" ...
0
votes
0answers
15 views

linux app runs only in terminal, not from desktop icon

I have a linux app that runs perfectly from the commandline, but when I launch it from its desktop icon, the system cursor goes into a long wait state, then nothing. The icon app.desktop file gives ...
0
votes
0answers
10 views

What is required to make sure no plaintext password is on the wire between an Apache web server and an ActiveDirectory server for LDAP authentication?

At my work, I have a rather stubborn IT person who is extremely against adding services to our central SBS installation (which means no SVN, no internal web server, etc.) As a compromise, I convinced ...
0
votes
0answers
15 views

Harddisk not mounting: not recognized under Devices - Ubuntu

I am using Ubuntu 14.04 desktop computer. According to my code I mounted my harddrive and then copy a file in it. I also use 2 USB for this copy operation. Today I got into trouble. Firstly one of ...
0
votes
2answers
126 views

How to boot Apple Mac via PXE (custom mini-Linux)

I have a network system, where I serve a mini-linux to a connecting client via PXE (pxelinux.0). I can't get this to work with Mac OS X. Booting from network is there saved for backup operations. I ...
0
votes
1answer
29 views

SSH still prompting for password with authorized_keys

I'm trying to log into a server with a different user. The user's name on the server is gitquery. I used ssh-keygen to create these files locally: /opt/gitquery/gitquery-rsa ...
-2
votes
0answers
39 views

CBL is blocking my IP and I have no IDEA how to fix. Urgent please help :( [on hold]

I am new to stack overflow so sorry if I do not get this quite right. I noticed my mail.log was 4gb in size so I opened it up and it has 12 million lines similar or the same as this: Jul 19 06:53:04 ...
8
votes
3answers
28k views

How to SCP from linux server to Windows client

I'm SSHing into a Linux machine using PuTTY and trying to copy a file down somewhere (anywhere) to my local machine. I figure SCP is the best candidate for the job but don't really care, so long as ...
4
votes
1answer
18k views

How to change user in WinSCP?

I'm using WinSCP to access Unix computers. How can I change user after I have logged into a Unix server using WinSCP? E.g. I have personal account in Unix computer A. I can log into this computer ...
0
votes
0answers
11 views

What is the best way to create a local development environment in a linux machine without being in sudoers

I use a workstation for my development but it does not include all the libraries for my case. I like to install them for my use without any system wide effect. How should I proceed this is a linux ...
0
votes
1answer
47 views

VMware Workstation - Linux/gnome screen saver locking of guest and host

I've got some RHEL6 machines that run VMware Workstation 11 on them. The host and the guest are required to have a screensaver enable after 15min of inactivity that goes to a lock screen. My users ...
1
vote
1answer
45 views

Would a Windows 10 install overwrite Linux/Grub?

I'm currently multi-booting Windows 8.1 and Ubuntu. Next Wednesday, I plan to upgrade Windows to version 10, but before I do that I'd like to replace Ubuntu with Arch Linux. Is there any point in ...
0
votes
0answers
16 views

Need help formatting drives for dual booting Windows with Antergos

Okay, so I'm planning on dual booting already installed Windows 7 with Antergos. I currently have 4 active Primary NTFS drives set up. I will be formatting one of those into ext4 in order to use that ...
0
votes
0answers
11 views

Mac Address configuration in DHCP Server Ubuntu 14.04 LTS

I have configured the DHCP 3 server on Ubuntu 14.04 LTS and releasing the IP Address on all device. Now I want to register the mac address to only 150 device not for all and I don't want to put the ...