Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [linux]

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

-1
votes
0answers
7 views

Write a script to help monitor the health of /etc/passwd file

a. Find any entries that have UID 0 b. Find any entries that have no password (needs /etc/shadow) c. Find any sets of entries that have duplicate UIDs d. Find any entries that have duplicate login ...
0
votes
0answers
8 views

IBM Power P5 9113-550 series [on hold]

I am not a system admin by profession, but just a student who has the opportunity to work with IBM P5 series and possibly to learn something new. I was looking for an advice on which OS and ...
0
votes
0answers
12 views

Duplicate partitions (and lvm pv) when using hardware RAID

OS: Debian stretch, motherboard: ASUS H87I-PLUS. I am trying to setup bootable hardware RAID1. Through motherboard menu I've created array of two drives (sdd and sde). This array is recognized by ...
0
votes
0answers
12 views

How to calculate Sever spec requirements? [duplicate]

Front-end dev here. I have been hired by a small company to manage EVERYTHING technical, from front-end and tech support to back-end scripting and server management... the latter being the issue. ...
0
votes
0answers
17 views

Centos 6: How to run Init Script via crontab @reboot on server boot [on hold]

I have Youtrack installed on a Centos 6 and would like to make it start after machine has fully booted. Instead of chkconfig or rc.local, i'd rather prefer to boot via crontab with @reboot. Since it ...
1
vote
0answers
9 views

write/wall message to users with color

Is it possible to send messages to other users (i.e. via the wall and/or write commands), with colors in the message? I have a shutdown script that kicks other users off of a shared file server, and I ...
2
votes
1answer
13 views

Linux KVM if guest is rebooted it will not start, must be manually started

Have an Ubuntu server running KVM: Linux hyperv 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux It is running a few VMs which are linux, and one windows ...
0
votes
0answers
15 views

ReadOnly Access for Active Directory Group

I have a Linux host that runs on CentOS 7, joined to domain through realm. My goal is to provide ReadOnly access to one of the AD groups say "LinuxRO-USR", the users of this group should only be able ...
0
votes
0answers
10 views

Single Device of VolumeGroup randomly written with 4K's

Hopefully this is an answerable question... Imagine following Hardware-Environment: VEEAM (5.5) with SSD ONLY LUNS Serveral Virtual Disks REDHAT 7.3 x (more than 2) Disks as VolumeGroup LUKS-Device ...
2
votes
0answers
18 views

Can Samhain monitor for a file that does not exist, but might in future?

I would like Samhain to monitor a file, say for example, /root/somefile. This file does not currently exist, but I would like to be notified if it gets created at any point. I add this to samhainrc: ...
0
votes
0answers
15 views

HTTPS + IP not redirecting to configured Domain Name and gives “Your connection is not private” [Nginx/Ubuntu]

I am using NGINX for 301 redirects on Ubuntu and reverse proxy for my Web Application and aim is to redirect traffic to non-www url such as https://mywebapplication.example. So with my current ...
-4
votes
1answer
23 views

Implementing Kerberos Authentication on Linux servers using script

My client wants to implement Kerberos Authentication on multiple Oracle Linux Boxes. Do they need to be done manually or can I implement on all of them using any script? Is there any way to script ...
0
votes
0answers
21 views

Possible to rewrite TO: field with ssmtp?

I'm trying to re-write the TO: header in sent emails with ssmtp. I've configured mail sent to root to be sent via ssmtp (by creating a symlink at /etc/sendmail). It is redirected to the /etc/aliases ...
-1
votes
0answers
26 views

Can an SVN repository be corrupted by committing a simple text file?

We recently encountered a problem where a python script was committed to a sensible location in a repository, which then ended up replacing the trunk folder with the contents of the script. This was ...
-1
votes
0answers
15 views

VPS on Linux: why the need to use text shell [duplicate]

I'm new to Linux and VPSs. I'm reading tutorials on how to set up your own VPS after buying it from a hoster and each seems to focus on the shell commands. But why doesn't Linux have a GUI, like ...
1
vote
1answer
17 views

cross OS file system that works on Windows 10+, Linux, and OS X

First, I realize there are many duplicate questions but they are all quite old and their answers may not be relevant anymore. I would assume (or hope) that in our constantly evolving technology ...
0
votes
0answers
18 views

How root file system is created in Linux when installing form ISO to HDD [on hold]

I have been working as linux systems administrator, I have started exploring more towards linux, So I have implemented linux from scratch and learnt how to create root file system from scratch I got ...
0
votes
2answers
27 views

how to filter with grep for hours?

I have the following log file, I want to cut the file with a grep but I only list the content that occurs from hours 7 to 19. Oct 11 05:26:56 cuervo sshd[983]: Server listening on :: port 22. Oct ...
1
vote
1answer
8 views

console PHP produces opcode output

I have PHP running on WSL on windows along with nginx+php-fpm. The web component is running php OK, but console PHP produces opcode output for some reason. For example i have such PHP file: ?php ...
1
vote
3answers
30 views

Redirect root domain to subdomain

I am trying to redirect: pt.example.com and example.com to https://pt.example.com pt.example.com will redirect to https://pt.example.com. That's ok. example.com will redirect to https://example....
0
votes
0answers
14 views

Where to get the newest MegaCli for SLES/Linux? [on hold]

Few years ago, it could be downloadad via: http://www.lsi.com/downloads/Public/RAID%20Controllers/RAID%20Controllers%20Common%20Files/8.07.14_MegaCLI.zip but today, end of 2018, it is just a ...
-1
votes
1answer
45 views

sudo user is not allowed to execute systemctl

I'm trying to allow a user to use sudo to manage a custom systemctl service, this however seems to fail and I can't figure out why. [root@testvm sudoers.d]# ll total 16 -r--r-----. 1 root root 334 ...
-3
votes
0answers
43 views

What could have caused YouTube downtime in 16 October 2018 for more than an Hour ? just curious? [on hold]

as per some web-search, looks like because of the new Deployment of bug fix in the Mobile app backend?
-4
votes
0answers
33 views

How to self-sign SSL certificate that's won't throw an error chrome [on hold]

I have a raspberry pi at home with an nginx server. I want to sign my ssl certificate such that if I import it to the trusted root certificate store I won't get things like cert common name errors on ...
4
votes
2answers
414 views

LibSSH authentication bypass

With the recent security announcement by libssh (CVE-2018-10933) I wonder how to find out if any of my running services use the vulnerable library? I will eventually yum upgrade the system but for now ...
1
vote
1answer
58 views

List of important commands to have an idea of settings for future reference [on hold]

I want to keep the settings of my linux machines in github etc to have an idea of file locations, firewall rules, network settings and any other critical settings. What I remember are the following, ...
2
votes
2answers
25 views

How do I Identify an anonymous process that's changing a system setting?

I see an anonymous process changing the time of my systemtime to UTC every 80 sec. Using the journalctl -f command I only see a message that says 'systemd[1]: time has been changed' but it doesn't ...
0
votes
0answers
11 views

Changing email password on a VPS with expired cPanel licence [on hold]

I work for a webhosting company, and one of our VPS client didin't want to pay for the renewal of the cPanel licence and, of course, now he wants to change all of his emails passwords. So, how do I do ...
1
vote
1answer
14 views

How to set an olcAccess attribute so gidNumber=0+uidNumber=0 works like olcRootDN?

I'm upgrading a Ubuntu 14.04 OpenLDAP server to 16.04 and running into a snag. There is an (localhost) import script which uses uses ldapdelete -r -Y EXTERNAL -H ldapi:///... to remove some OUs and ...
0
votes
1answer
16 views

grub2 starts after grub rescue while trying to save my debian server

After screwing up in Debian Jessie (accidentally run rm -R /) my server stopped responding and I decided to reboot. After rebooting grub rescue started and tried to fix it by running the following ...
0
votes
0answers
11 views

Sudo No Password Not Working Correctly - Still Prompts for Password [duplicate]

I'm having some trouble with sudo, getting a user the ability to switch to root without typing a password. I have this entry in sudoers: companyadmin ALL=(ALL) NOPASSWD: ALL But for some ...
0
votes
0answers
9 views

Is there a command or script which can pull out list of binaries and lib's installed using make and rpm separately [on hold]

Is there a command or script which can pull out list of binaries and lib's installed using make and rpm separately For example let us consider I have 5 packages installed using rpm and 5 packages ...
0
votes
0answers
6 views

How Can I Determining Time for Samba Network Request Versus How It Returns a File?

Implemented Samba as a method for file sharing to some Windows servers, but a question constantly gets asked about performance. How can I break down the time it takes for Samba to first receive the ...
1
vote
1answer
18 views

How to configure multiple nested subdirectories in Nginx using wildcards?

👋 Sorry if this was asked before. I've searched, but couldn't find anything close to what I'm trying to accomplish and I would appreciate any indication that could get me closer to solving this. 😊 ...
0
votes
0answers
5 views

squid-cache Multiple Outgoing IP Addresses Not Working

I'm trying to use multiple outbound IP addresses with squid proxy server. This configuration has worked for me in the past with IPv6. Now I need to use it for IPv4 so I took my old config and applied ...
2
votes
0answers
30 views

Can I set up Samba so Windows clients connect to the Linux share with their AD password?

Both my Windows and Linux users authenticate with a common Active Directory (AD) username/password. Each Windows user that will mount the share, also has a Linux account on the Samba host. Can I ...
1
vote
0answers
11 views

Glusterfs dont mirror supposed mirrored folder

Gluster dont replicate mirrored content: xfce4-terminal -T LocalTerm exit At LocalTerm: PS1='[\u@\h]-[\D{%T}]-[\W] => ' lxc profile copy default default-bkp lxc profile set default raw....
2
votes
2answers
21 views

PowerEdge T610 H700 controller upgrade

I have a PowerEdge T610 server with Perc H700 RAID controller. I wanna use the controller for non-raid, but I read some posts and the H700 controller doesn't support the non-raid operation. The ...
1
vote
0answers
41 views

Linux Bonding with 2x10G LAN poor performance in kernels after 4.13.x

Here is our setup a DELL server with two 10G LAN ports and our old kernel 4.13.4 serving static video content using nginx (~8000 active connections) with the bandwidth of around 15.5G (1.2Mpps) on ...
0
votes
0answers
4 views

sophos savscan quarantine automatically without prompting

I've written a savscan script to do a scan for viruses with the quarantine option eg:- savscan -p=/var/log/vm1clamav.log /var/lib/lxc/vm1/rootfs/var/www/ -all --quarantine:user=virus,group=virus,mode=...
0
votes
0answers
15 views

Forbidden Invalid CSRF Token +monit

I have installed monit on AWS ec2 and it working fine. But when I try to restart the nginx service through monit UI,i got an error like "Forbidden Invalid CSRF Token +monit". My configuration check ...
0
votes
0answers
20 views

Windows directory shared with Linux: permission denied

I'm trying to write in a windows shared directory from a Linux machine (Red Hat). To do that, I mount the directory with mount.cifs like this: sudo sh -c 'export USER=user0 && export PASSWD=...
-1
votes
1answer
18 views

Linux “Windows Performance Counters”-like machinery [on hold]

Is there a something like Windows Performance Counters for Linux? I dont mean the ability to gather system data. I mean the ability to create custom counters and report some statistics to it.
1
vote
1answer
18 views

Unable to create rds instance using cloud formation?

Iam trying to create an rds mysql instance using cloud formation.But when iam creating the stack iam getting rollback.Under events the error for creating rds instance is "Encountered unsupported ...
-3
votes
0answers
16 views

Synchronize files between my laptop and PC [on hold]

Is there a way I could sync my user folder on both my laptop and my PC? Ideally, I would use my Linux VPS to keep the latest versions of my files and then sync to whatever device is connected. What ...
1
vote
1answer
22 views

xfs_fsr reports insufficient freespace on large VM images

I have several systems using glusterfs and xfs partitions. Some of these systems are hosts for VMs (using libvirt and with qcow2 for storage). I noticed that there was some substantial fragmentation ...
-1
votes
0answers
12 views

VPS - Best Apache and Nginix setup for My situation?

I currently have Apache set up on a reseller VPS through my Hosting company. I am also using Cachewall/ Varnish for caching files. I am looking between the following setups Current setup Apache ...
1
vote
1answer
58 views

VirtualBox Guest Additions: modprobe vboxsf failed (Kali) [on hold]

I am trying to install Virtual Box Guest Additions on a Kali VM. I have installed the linux headers but when I try to install the gues additions I get the following error: root@0:~# cp /media/cdrom/...
-2
votes
0answers
11 views

How to allow client to use DNS server through gateway [closed]

Lets say i have: gateway - 5.5.5.5 DNS server - 1.1.1.1 client - 9.9.9.9 how to allow client reach DNS server and make query? I know some kind of forwarding is required.
0
votes
1answer
14 views

Forwarding traffic from a host to a host's container

I have two hosts in a network 192.168.0.0/24: Host A 192.168.0.15 Host B 192.168.0.13 And there is a remote ssh tunnel from B to A: ssh -R 192.168.0.13:8080:192.168.0.15:8002 192.168.0.13 -N and ...