Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

learn more… | top users | synonyms (1)

0
votes
0answers
13 views

How to make a linux shared folder in windows? Both are in different domain. I am trying Samba file share [closed]

How to make a linux share visible to a windows machine with credentials?
-1
votes
1answer
43 views

History with SSH IP-address

Trying configure SSH client connection IP-address to be in history, I have multiple people using one account and I wanna know which person ran command. I have been messing with that around alot and ...
0
votes
1answer
11 views

Do not close bluetooth connection via CLI

I'm creating a bluetooth connection to my device, like so: hcitool cc 01:02:03:04:05:06 That works fine for a few seconds, then the connection automatically closes. How do I keep linux from ...
0
votes
2answers
55 views

How to install an older version of php (5.2.17) in Linux?

I want to study some security vulnerabilities in php 5.2.17, but I can't install it from source, because then I need also all the older versions of all the other application which have something to do ...
2
votes
0answers
35 views

Possible to force TCP window scaling to a higher value?

Is it possible to increase the TCP window scaling factor on Linux (CentOS 7.2)? I have a long fat network (100 Mbps) from London to Chicago and I'm getting 16 Mbps throughput in TCP on an sftp from a ...
0
votes
1answer
40 views

Connecting to a FortiGate VPN from a remote Linux machine via OpenSwan

Here's the setup: I have a FortiGate unit on a business network, which has a FortiGate VPN set up. Machines on a remote network that can run FortiClient (Windows and Mac machines) have no problem ...
0
votes
0answers
18 views

rsyslog does not close connections

I've successfully configured rsyslog (v5.8.11-3, Debian 7.6) to receive messages from remote machines using this configuration: Server-side rsyslog.conf $ModLoad imtcp $InputTCPServerRun 514 ...
-1
votes
0answers
18 views

How to build Linux os using buildroot? [closed]

I am trying to create a Linux OS with the help of buildroot and make an ISO, so that I can later install the OS using the ISO., I am following this tutorial: buildroot. I have tried many times, but ...
0
votes
1answer
31 views

shell script for geting mysql user grants details

I am trying to get mysql user grant details and echo it to out file hari=mysql -sN -e "show grants for mysqladm"; echo $hari GRANT ALL PRIVILEGES ON *prod_server_list.txt stage_server_list.txt ...
-1
votes
2answers
40 views

linux file permission got a ending . dot and webserver denied access

I have got a issue that I never have seen before. A lot of my files and folders have changed file permission to a persiion ending whit a dot filesystem is /dev/md3 /var ext4 defaults ...
-1
votes
1answer
41 views

How can I connect a group of vms in Azure?

I have a number of Azure Linux VMs. I am able to ssh into all of them using the public azure connection info, however I am not able to ssh from one vm into another vm using the private info. I have ...
-1
votes
0answers
10 views

apache webroot direoctory replication? [closed]

I have a apache server running and i would like to make a live replication off the webroot folder to another server. I am not sure which will be the best method? some people have adviced me to use ...
1
vote
0answers
22 views

Let an application use a certain interface

I'm using Ubuntu 15.04. I'm using 2 Interfaces, but I need to let application use the second interface (in my case, eth0:0, the first one is named eth0). Is it possible? Or, if not, is it possible ...
0
votes
1answer
43 views

How to setup linux to retransmit TCP packets by reducing the packet size like OS X

On OS X I noticed that for packets which are not ACKed, the system retransmits them with reduced packet size. This can be seen in the image below. Is it possible to enable the same behavior in ...
4
votes
1answer
41 views

yum + list all available security updates without installing them, on redhat 5?

To list all available security updates without installing them, I run this and this syntax is working on redhat 6 and 7 # yum list-security --security please advice what is the syntax for redhat ...
1
vote
1answer
40 views

Slow file transfer speeds

I have a server that is running Ubuntu Server 14.04LTS and I am currently experiencing slow network transfer speeds. This server had been running without issue now for about 2 years and suddenly I am ...
0
votes
0answers
28 views

IPSec VPN between Fortigate 5.2 and Linux with ipsec-tools - data does not pass

We have an IPSec VPN tunnel between Fortigate device and Linux box running racoon and ipsec-tools. The setup worked in Fortigate 4.X, but with 5.2 the SAs are negotiated OK and no traffic can be ...
0
votes
1answer
33 views

libvirt: set hostname using dhcp in virtual network

I've configured a host-only (aka private) network for a group of VMs on a CentOS 7 host. I've created static leases in the DHCP section for the virtual network. The IP address is getting set ...
1
vote
1answer
46 views

Apache 2.4 require all not working

My virtual host configuation file contains the following (Apache version is 2.4.7): <VirtualHost _default_:443> [...] <Directory [...]> Require all granted ...
0
votes
1answer
49 views

BTsync Webui unreachable on headless Linux host

I am trying to install the latest version of btsyc on a CentOS 6.5 headless server. I cannot reach the WebUI. I configured the webui on port 65000 via a config file and start btsync with the config ...
0
votes
2answers
31 views

Mounting an SSD

I have recently got a 'dedicated GAME server' from OVH and I've been promised 2x480GB SOFT SSDs. However, df -h shows this output: root@dedi:/home/shavit# df -h Filesystem Size Used Avail Use% ...
0
votes
1answer
34 views

boot issues after converting running linux to vm manually

I did a file copy of a running debian8 installation to a image. Following is the proceedure. create a vdisk image - raw / vdi. mount it locally. do a file wise copy of a running linux distro: ...
-2
votes
0answers
16 views

Linux Server with Low Disk Space [duplicate]

I have a server on Ubuntu linux and when I run sudo df -h Filesystem Size Used Avail Use% Mounted on udev 3.9G 12K 3.9G 1% /dev tmpfs 799M 664K 798M 1% /run ...
2
votes
1answer
49 views

How can I use Ansible to conditionally append a line in a file?

I'm trying to create an Ansible task that sets up trim/discards. I have a playbook that takes care of everything else (LVM, fstrim), but I can't figure out how to get crypttab configured properly. ...
0
votes
1answer
22 views

How to see what processes produce usage spikes on Ubuntu server?

As I was monitoring one of my servers it seems that there are some unusual processor usage spikes as seen in this image: that occur as can be seen from this graphic in a repeated interval. This ...
-1
votes
1answer
51 views

Removing 1 line of code from all php files

I can see same code under all php files. Starting from <?php $rfghoh = '*f%)sfxpmpusut)tpqssu6 And end $rfghoh=$yuoopi-1; ?> I am just looking for script using which only first line of ...
0
votes
1answer
36 views

Capture traffic to/from a network node

I would like to capture all traffic to/from a network node. I don't know much about the network setup there, here's what I know: The target node is a Linux server, which has no access to internet, ...
1
vote
1answer
33 views

Digital signature with openssl

I am trying to sign and verify a signature using an RSA key-pair. Here is how I generate the key pair (which work fine for encryption / decryption): ssh-keygen -t rsa -f mykey -N '' -b 2048 mv ...
-1
votes
1answer
28 views

AWS EC2 Instance rejected public key

I just launched a AWS EC2 Image today, I got to authenticate successfully and I did the following changes: sudo yum update Install Oracle JDK 8_92 using wget Remove all other java options export ...
-2
votes
0answers
34 views

How might I give secret keys to a php web page without making them readable by the apache user?

I am developing a web site which runs on a generic LAMP stack. Consider these two PHP files /web_stuff/phpbin/secrets.php /web_stuff/public_html/index.php Apache is runs as the user www-data and ...
-1
votes
1answer
39 views

simple routing don't work under debian jessie

I'm trying to set up simple enogh system with 3 virtual debian jessie machines: first connected to second and second connected to third. I want first one to be able ping third one. To achieve this, ...
0
votes
0answers
32 views

Redhat 6.8 - Where to install php-mssql

I tried following tons resources online to install php-mssql on Redhat 6.8 by using the Extra Packages for Enterprise Linux (EPEL) repo and it says that "No package php-mssql available". I made sure ...
0
votes
1answer
32 views

Not allowing a user to ssh within a server with a different account.

Imagine a user is logged in as test@example.com . Now the test user is trying to ssh from the current server to another server using someone else's account. For example : test@example.com:~$ ssh ...
0
votes
1answer
22 views

Unable to SSH with shell into NAS: “error: openpty: Invalid argument”

I have a WD MyBook WorldEdition II (White Light) NAS here. This essentially is a ARM926EJ-S with two SATA drives attached. For quite some time, I was running Debian 6.0 Squeeze on it. Now I recently ...
0
votes
0answers
19 views

Error in crontab file: bad day-of-week

When I run crontab -e on my Debian server and add these lines: # System statistics */10 * * * * /usr/lib/sysstat/sa1 1 1 > /dev/null 2>&1 59 23 * * * /usr/lib/sysstat/sa2 -A > /dev/null ...
0
votes
0answers
12 views

What append options are needed to do kickstart install of Red Hat 6.6?

So I'm trying to install RHEL6.6 over PXE. I have my kickstart file and my iso, but it seems the options I'm specifying in the append section of my default file are not being read. I would like to ...
0
votes
2answers
24 views

Azure Scalable s Storage

Am wondering if for some reason I chose to deploy an Azure VM that has 29GB storage for the sda1 (O.S Disk), can I resize this disk in anyway possible? (resizing the SAME DISK without attaching new ...
0
votes
0answers
20 views

I see security updates but there arent any - Ubuntu 14.04

I updated the system with apt-get upgrade and did a restart. Motd shows me 22 updates and 19 security updates, same with /usr/lib/update-notifier/apt-check --human-readable. 15 updates are shown ...
2
votes
2answers
55 views

passwordless ssh for all machines on a network

I know the basic way to allow key based authentication between two servers is by using these three steps: ssh-keygen ssh-copy-id -i remote_host ssh remote_host Using this approach I need to enter ...
0
votes
0answers
20 views

Is there a way to clone/template linux VMs on Hyper-V

I've seen how you can do it with System Center but we don't have a System Center license and there is no plans to get one. I guess I could install a trial for the 60 days just for this purpose but I ...
0
votes
0answers
11 views

What configuration change read only task of log files

What configuration changes required in jboss-server standalone.xml file for generating read only server log. Jboss server runing on linux machine. Can I achieve read only task on changing xml ...
0
votes
1answer
29 views

How to find which db/collection/query triggers disk read?

We're running a MongoDB 3.0 server with multiple users accessing it and we're experiencing very frequent disk reads by mongod process utilizing our SSD drives to 100% During these peaks the page ...
0
votes
1answer
24 views

Remove locking from executed elf file on linux ext4?

After starting some elf file that is on ext4 filesystem it is locked for writing but can be removed and rewritten. On some other filesystem this behaiveour can be different - i have tested ...
-2
votes
0answers
16 views

How to kill VM task 'Create Virtual Machine' in VMware EXSI server?

Folks, I tried to create one WIn server VM in ESXI server, But Its status is 'IN PROGRESS' for long time. Please help me kill this task. Create virtual machine 10.200.216.35 In Progress root ...
0
votes
1answer
48 views

Forcing OpenLDAP connections to use STARTTLS not allowing user to login

I have a basic OpenLDAP server running on Ubuntu 16.04LTS which authenticates users perfectly fine but I really wanted to make it more secure so I decided to use STARTTLS and How To Encrypt OpenLDAP ...
0
votes
1answer
34 views

How can I allow all users to run mount as root?

How can I allow all users to run mount as root? I know there's a lot of solutions out there recommending the following edit, but it's not working for me. I've edited /etc/sudoers to include: ALL ...
0
votes
1answer
43 views

How to verify if an rpm was installed from scratch or upgraded?

we installed the following rpm's via yum on redhat version 5 # rpm -qa --last | head -10 kernel-headers-2.6.18-408.el5 Wed May 18 13:33:59 2016 bind-utils-9.3.6-25.P1.el5_11.6 ...
0
votes
2answers
31 views

How to remove SWAP partition, and add back to root partition in cli

I am on Ubuntu 14.04 server with only ssh access into the machine in question. Someone else setup this machine, and they added a ridiculous swap space...a little more than half of the SSD. Here's ...
1
vote
1answer
26 views

grep command to extract data from a file

I have a file that has this line in it: $n22(s:Tstring) = "252"; I'm trying to write a shell command to grep the file and only return 252. This is what I have so far: grep -o ...
0
votes
1answer
33 views

LVM file locking error after moving extents to new physical volume

On a CentOS 6.7 system, I started getting SMART errors on a disk that was part of a volume group under LVM. So I used the recommended procedure: add a new disk to the system, create a new physical ...