Questions tagged [rhel]

Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

How to launch the password in pssh command

when we want to use pssh in order to get in parallel the command output from remote machine we can do ( for example ) pssh -H presto01 -l root -A -i "hostname" Warning: do not enter your password if ...
0
votes
0answers
24 views

ntp + ntp loose synchronize each time in 5:00 morning

we have a very strange behavior we have 12 Linux redhat machines - redhat 7.x two of these VM servers are loosing the time synchronize each day at 5:00 in the morning after we restart the ntp , ...
1
vote
1answer
9 views

Capabilities of Sudoers and Sudoreplay Logging and Playback

Is the sudoers file in RHEL limited to configuring logging to only what is typed on the keyboard, output on the screen, or errors thrown, or can it go beyond this? For example, if I want to record a ...
0
votes
2answers
40 views

If greater than equal to

I'm trying to write a shell script in redhat Linux which will send an email if there are processes running more than 2 hours. Here is my script. #!/bin/sh RESULT=find /proc -maxdepth 1 -user gen17 -...
0
votes
0answers
15 views

Automatic expiration date for UNIX group membership

I want to add user to specific UNIX group only for 6 months. Then I want automatically kick him out of this group and I don't want to expire his username. Which command should I use?
-1
votes
1answer
49 views

How do you install Nginx 1.16 or 1.17 on AWS Linux via yum?

When referencing the page https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-open-source/#stable_vs_mainline I have added the following repo entry /etc/yum.repos.d/nginx.repo ...
0
votes
1answer
20 views

In RHEL7 is it possible to allow only some users to create ssh tunnels

I want to setup a RHEL7 host that will allow a few people to ssh in. Let say 10 people will be able to access the box via ssh. Of those 10 people I only want 3 to be able to create a tunnel to other ...
0
votes
3answers
38 views

How to copy files into another dir based on timestamp (day of the month) of the files?

Say I have these files in dir1: -rw-r--r-- 1 user user 10240 Jul 2 11:54 10_data.txt -rw-r--r-- 1 user user 36048 Jul 4 11:56 95_data.txt -rw-r--r-- 1 user user 35634 Jul 7 11:56 01_data.txt ...
0
votes
1answer
55 views

New user can sudo to root in RHEL 6.10

I'm using a RHEL 6.10 and recently observed any new user can get sudo to root access by default. I checked all sudoer files but no such reference, only a few users are configured there and that doesn'...
2
votes
0answers
29 views

NFSv4 Errors, But Not in NFSv3

I'm working on an NFS solution for RHEL6.5 clients (all VMs) with RHEL6.5 and RHEL7 hosts. Currently, the RHEL7 host with RHEL6.5 clients works fine. The trouble is with the RHEL6.5 host. These ...
0
votes
1answer
33 views

How to get USB 3.0 CDROM working in Redhat 5

Our product software is still using old Red Hat(RH) version 5.1, 2.6.32 kernel. We install our software as an iso CD through USB 2.0 CDROM. Our hardware was so far was having only USB 2.0 ports. We ...
0
votes
1answer
19 views

What's the modern equivalent of ntsysv?

Back in the old Red Hat days, there's a CUI (curses-based) utility called ntsysv, which lets us see conveniently the services which are enabled by default (at the current runlevel) and lets us enable/...
2
votes
0answers
25 views

Overlapping local and LDAP usernames

We have several RHEL 6/7/8 machines where user authentication is done through LDAP. One of our sysadmins would like to set up local accounts for some users on some machines, with the local username ...
0
votes
0answers
18 views

Apache Redirects: Multiple pages under different folder to be redirected to single page

Trying to add Apache redirect rules for below scenarios 1) All pages under www.oldsite.com/page/product/New-Design/* and 2) All pages under www.oldsite.com/page/product/nature-...
2
votes
0answers
31 views

What happens when you disable NFS server delegation?

We are facing issues with NFS 4.1 on RHEL 7.6. We have a lot of applications on this server and GitLab is one of them and it is impacted the most. Excessive NFS network traffic (due to a bug with NFS ...
1
vote
0answers
19 views

Old version of of R Cannot Find Packages on RHEL 7

I am working on a Redhat 7 linux server and utilizing an extremely old version of R (3.0.3 to be exact). I had to install this version of R from a source file. I properly configured the Renviron file ...
3
votes
2answers
72 views

How to install gcov-tool to RHEL?

I thought that gcov-tool is part of gcc standard package, which is true for Ubuntu. But unfortunately it's not true for RHEL. I didn't succeed to find RHEL package name to install gcov-tool. Does ...
0
votes
0answers
16 views

Are FTP, httpd and NFS the only methods for setting up a Linux repo on a local network?

I'm planning on setting up a local offline Redhat 7 repo residing in a Docker container. Are FTP, httpd and NFS the only methods to give other systems on the local network access to the repo?
0
votes
1answer
55 views

rpm doesn't work and gets an error

I typed sudo rpm install into my terminal and then I got following error : error: missing ':' (found 0x00) at /usr/lib/rpm/redhat/rpmrc:1 how can I solve that?
1
vote
1answer
26 views

Transfer RPMs file with Ansible and localinstall them

I am having the following yaml ansible-playbook and want to transfer the rpms and then localinstall them on the remote machine. Until the transfer file step its working fine however on the ...
0
votes
0answers
11 views

VM virtual audio card not making sound

I am running a rhel 6 vm on a rhel 7 host; the rhel 7 host has a sound card and I am able to use the speaker-test command to hear sounds. Then I added virtual sound card (AC97, using virt-manager) to ...
0
votes
1answer
16 views

env command with functions defined in bashrc

I have a function in my ~/.bashrc: foo () { echo $FOO } Now, this works: $ source ~/.bashrc $ setenv FOO "yes" $ foo yes But this doesn't: $ env FOO="no" foo foo: no such file or directory GNU ...
0
votes
1answer
20 views

Output of sar is difficult to read

I want to display statistics for devices. When I use sar -d I only see tens of devices with names that are hard to interpret: Average: DEV tps rd_sec/s wr_sec/s avgrq-sz avgqu-sz ...
1
vote
1answer
58 views

How to clean yum cache for untracked repositories?

I have a RHEL7 server managed by Satellite 6.5. The command yum clean all --verbose shows a yum cache of several Mb for untracked repositories. yum clean all doesn't clean this cache. Is it ...
0
votes
0answers
34 views

yum + dependencies errors

during yum installation , we get the following dependencies errors Error: Package: openldap-2.4.40-8.el7.i686 (@local) Requires: libplds4.so Removing: nspr-4.10.8-2.el7_1.i686 (@...
1
vote
1answer
38 views

Wanted: GUI interface to show status of services on many servers

We have 763 Red Hat 7.2 Linux machines with systemd, systemctl and the presto service: systemctl status presto.service ● presto.service - Perforce Server Loaded: loaded (/etc/systemd/system/...
2
votes
0answers
22 views

Removed debug.log, and it is not generating again

Using RHEL 7.2, due to larger file size I've removed debug.log (from /var/log/debug.log). And after that debug.log file is not generating automatically. I've checked "messages" log it's working fine.
2
votes
1answer
47 views

google chrome “managed by your organization” on linux

today I opened google chrome and saw this on customize and Control menu : "managed by your organization" , is that a malware sign ? if yes how can I completely remove that malware? my os is a Linux ...
0
votes
0answers
14 views

Apache full url redirect except one page

I need to add following Apache redirect rules `http://www.example.com`` to be redirected to http://www.onemoreexample.com` but http://www.example.com/support/ should not be redirected. I am ...
1
vote
1answer
25 views

yumdownloader the rpm for redhat 7.3

we have redhat machines version 7.2 we want to upgrade to version - 7.3 we can do it as # subscription-manager register --auto-attach # yum --releasever=7.3 update this will upgrade online the OS ...
0
votes
1answer
26 views

What is the difference between Red Hat Enterprise Linux boot ISO and the same Binary DVD

I am still confused after an hour searching what is the difference and when someone would need just boot ISO or binary DVD ISO Can someone explain in a simple way the difference between them. The ...
0
votes
0answers
51 views

RHEL8 - X11 forwarding not working

I have two laptops, one running CentOS 7 and recently installed latest RHEL 8 on another one. The issue is that I am unable to launch any X program from RHEL 8 over ssh -X but reverse works okay (...
0
votes
0answers
11 views

Access to opt directory [duplicate]

I have a software installed in opt directory - [root@ada-spa oracle]# ls -al total 144560 drwxr-x---. 4 root root 4096 Jun 21 17:19 . drwxr-xr-x. 18 root root ...
0
votes
1answer
33 views

/etc/fstab - using bash command output to get UUID?

I placed an entry in my fstab file to add a swap partition. I used output of a bash command to get the UUID of vdb1 partition(I can't copy paste). Like this: UUID=$(blkid -o value -s UUID /dev/vdb1)...
0
votes
2answers
18 views

is there an alternative to numlockx for RHEL 7.6?

I'm setting up an offline RHEL 7.6 workstation (no network allowed, ever) and identifying all of the dependencies involved in using numlockx is becoming ridiculous. I'm trying to find out whether RHEL ...
0
votes
1answer
43 views

How to grep all unique ip address in /var/log/messages and send them to another log file

I am in the prosses of decommissioning an old Redhat public BIND server and would like to find all unique IP address that are sending DNS request to this Nameserver. So far this is what I have been ...
1
vote
0answers
24 views

FreeIPA Kerberized NFSv4 Group Membership Issue

We have a FreeIPA domain running with several NFS clients auto-mounting a Kerberized NFSv4 server (krb5p). We're running the latest RHEL 7.6 on all nodes and everything is working great with one ...
0
votes
1answer
18 views

Accessing variable value from inside ansible playbook

I have used the following variable in ansible playbook as shown below. --- - hosts: hosts vars: vers: 18.7 I am trying to access the value of vers using $ under tasks as shown below ...
0
votes
0answers
10 views

Grant permission to ftp user in other directories

I need a user that I created in my ftp server to access other directories. Example, the tech user was created in the following way: useradd -s /sbin/nologin -c "FTP user for mail accounts" -G mailg ...
0
votes
1answer
61 views

New User unable to login via ssh

I'm trying to set up two new accounts in a Redhat 6.10 environment. The first account that I created works fine no issues. I used the same steps and the second account is unable to login via ssh with ...
0
votes
0answers
20 views

Gazebo support for Red Hat Enterprise Linux Distribution

Does anyone know if it is possible to install and run Gazebo on a machine using the Red Hat Enterprise Linux Distribution? The company I am working at doesn't allow users to install ubuntu typically ...
2
votes
1answer
31 views

How to disable memory for a NUMA node on a Linux system

Is there a way to disable access to memory associated with a given NUMA node/socket on a NUMA machine? We have a bit of controversy with the vendor about our HP DL560 machines. The sales type’s ...
-1
votes
0answers
12 views

Receiving mail from root via sendmail is delayed for up to an hour, but from other users mail is immediate

In this case we're running RHEL 5.10 with Sendmail 8.13.8, using Google as our mail relay (we have Gapps, which might be some of the reason). All mail from this host to gmail accounts as the root ...
0
votes
1answer
21 views

linux system stuck and show kernel log

The system version is centos6.5, it stuck today, and there is no log at all in /var/log/messages, When I connect the host with a display device, it shows log blow: and the mouse and keyboard were ...
1
vote
0answers
28 views

How do you cleanup after deleting an LDAP user on RHEL 7?

We have a small network using 389 Directory Server for LDAP. We make LDAP users, those users log on to various machines in the network, and then sometimes we delete those users. However, after ...
0
votes
1answer
19 views

How to choose “remote login via xdmcp” at the login window in RHEL6/7?

In RHEL5, I can press F10 to choose "remote login via xdmcp" at the login window, how to do the same thing in RHEL6/7?
1
vote
1answer
32 views

How to set environment variables permanently in Amazon Linux 2

I have experimented with many approaches to setting permanent environment variables EC2 instances running Amazon Linux 2, but none of the approaches are persistent across users and across login ...
0
votes
0answers
6 views

CUPS to a Windows 2016 Print Server

I have CUPS installed on a RHEL7 system, with client.conf ServerName attribute pointing to a Windows 2016 Server that is managed by the Print Team. After lots of troubleshooting, we've established ...
0
votes
0answers
15 views

Issues with NFS/CIFS shares and martian packets when using two interfaces

Background: I have an isolated LAN. The switch is configured with 3 VLANs Here is how my network is setup VLAN Subnet Mask CIDR Range Gateway 10 192.168....
0
votes
1answer
26 views

UnixODBC-dev installed in /usr/local/, resulting in gcc reporting sql.h can't be found

My current use case is installing PyODBC via poetry in a Jenkins job build, which is failing because sql.h can't be found. For background, I have two servers, one RHEL 6, one RHEL 7; the RHEL 6 ...