Questions tagged [redhat]

Red Hat is an open source technology solutions provider with offerings including Red Hat Enterprise Linux, open source applications, security and systems management, virtualization, Services Oriented Architecture (SOA) solutions, server and desktop operating systems, Java application software and services, and the JBoss Enterprise Middleware Suite. Please also consider whether or not the more specific RHEL5 or 6 tags might be appropriate as well.

Red Hat is an open source technology solutions provider with offerings including Red Hat Enterprise Linux, open source applications, security and systems management, virtualization, Services Oriented Architecture (SOA) solutions, server and desktop operating systems, Java application software and services, and the JBoss Enterprise Middleware Suite.

3259 questions
24
votes
7 answers

How do I force NetworkManager to update /etc/resolv.conf?

If I add a new DNS server using nmcli connection modify eth0 +ipv4.dns 8.8.8.8, I still have to update /etc/resolv.conf for the resolver to pick up the changes, right? So how do I force the update? The only way I found was restarting the network…
Mihai
  • 3,076
  • 3
  • 14
  • 12
22
votes
1 answer

Usermod -aG vs gpasswd -a as a best practice

I am aware that usermod -g is not best practice from many posts like this however they normally explain the usermod should not be used as it changes the primary group of a user. These posts don't seem to take into account the -aG switch which just…
ZZ9
  • 888
  • 3
  • 16
  • 47
22
votes
9 answers

Automatically check for Security Updates on CentOS or Scientific Linux?

We have machines running RedHat-based distros such as CentOS or Scientific Linux. We want the systems to automatically notify us if there are any known vulnerabilities to the installed packages. FreeBSD does this with the ports-mgmt/portaudit…
Stefan Lasiewski
  • 23,667
  • 41
  • 132
  • 186
21
votes
2 answers

Best Practices for updating a previously unmaintained server RHEL5.7

A new RedHat EL5.6 server has been recently put under my care. It is immediately obvious that, for the previous 12 months, little to no attention has been given to any sort of package updates. Typically I am of the mindset of if it isn't broke -…
tdk2fe
  • 600
  • 2
  • 13
21
votes
6 answers

How to have linux top command show memory summary in megabytes not kilobytes

Redhat EL5 I had my top configured the just the way I like showing the memory summary and swap summary in MB. I had to close my shell and then when I re-opened it, it is back showing in (default ?) kilobytes. I have scoured google, and top help and…
Michael Irey
  • 219
  • 1
  • 2
  • 3
20
votes
6 answers

How do I determine what version of Red Hat Enterprise Linux my server is running?

I can use uname and cat /proc/version but all I get is the kernel version. How do I know whether I'm running RHEL4 or 5.5 or such?
PP.
  • 3,316
  • 6
  • 27
  • 31
19
votes
2 answers

yum client doesn't see new packages though server is updated

We have an internal yum server containing several repos (copies of the RHEL repo, programs created in-house, and so on). Our internal systems are firewalled off from the internet, so they can only use our internal server. In order to test patches…
Jenny D
  • 27,780
  • 21
  • 75
  • 114
19
votes
4 answers

How to "restart" particular network interface on RHEL?

In RHEL, instead of using service network restart command, how can i restart a particular network interface, lets say "eth1", with only one command. "Only one command" because that is the only interface where my ssh is working on also. So if i'm…
夏期劇場
  • 455
  • 2
  • 6
  • 19
18
votes
2 answers

How to bypass systemd "start request repeated too quickly"

I'm playing around with CHEF in a CentOS7 VM, and the script failed due to the issue: systemd[1]: start request repeated too quickly for fail2ban.service I know this is configurable in systemd, but I'd just like to know, for testing purposes, if…
qxlab
  • 283
  • 1
  • 2
  • 8
18
votes
3 answers

How to free up space on RHEL6 /boot safely?

I am trying to do yum update on RHEL 6 box and I am getting this error message Transaction Check Error: installing package kernel-2.6.32-279.9.1.el6.x86_64 needs 10MB on the /boot filesystem installing package grub-1:0.97-77.el6.x86_64 needs…
ams
  • 295
  • 1
  • 2
  • 6
18
votes
3 answers

Adding an existing user to a group with puppet

Is it possible to add an existing user to a group with puppet 2.7.18? We have two modules, each one defines one class : module "user" creates all users, including user foo and user bar. module "subversion" deals with various conf files and creates…
user130370
17
votes
1 answer

what is the difference between /etc/issue.net and /etc/issue

What are their purpose as they have the same content ? [me@myserver ~]$ cat /etc/issue Red Hat Enterprise Linux Server release 6.10 (Santiago) Kernel \r on an \m [me@myserver ~]$ cat /etc/issue.net Red Hat Enterprise Linux Server release 6.10…
17
votes
4 answers

Linux: How to pass parameters to `service foo start` (at command line)?

I'd like to pass an argument to the service I am starting. E.g. starting a server in a debug mode. Like, service jboss-as start debug Or such. But service seems not to support that. Is there some way? (For RHEL 6 if that matters.) Note: This is…
Ondra Žižka
  • 434
  • 2
  • 5
  • 14
17
votes
19 answers

Why does redhat seem to be so popular in the enterprise world?

Title says it all. For personal usage, I tend to prefer Debian/Ubuntu over Redhat. It's not necessarily that I dislike Redhat (or more specifically CentOS or Fedora) so much as it is that I like Debian's package management system so much…
Jason Baker
  • 1,229
  • 6
  • 20
  • 26
17
votes
4 answers

Exclude a specific repo from YUM Update

I am doing a system wide yum update on RHEL 5.5 and the IUS EPEL repository is throwing a missing dependency error: php53-mcrypt-5.3.3-4.ius.el5.x86_64 from installed has depsolving problems --> Missing Dependency: php53-common = 5.3.3-4.ius.el5 is…
Robin
  • 351
  • 1
  • 4
  • 9