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 ...

learn more… | top users | synonyms (1)

0
votes
3answers
43 views
+50

How do I check if my VPS participated in a brute force or denial of service attack?

On VPS what logs do I have check and what type of information should I check for to find out if my server participated in a brute force or denial of service attack? I have the targeted IP address ...
-1
votes
1answer
17 views

Installing a Newer Package than what's in RHEL's Repositories

What's the best way in RHEL to install a newer version of a package than what's in the repositories? In Ubuntu I can just add the repo for a newer version of Ubuntu, install the package with apt, ...
1
vote
3answers
494 views

Linux SMP Kernel Ram Utilization

I have a linux machine with Redhat 32 bit SMP Kernel installed , the ram size of machine is 16 GB and processor architecture is 64 bit. Please clarify my doubts on this setup : Can OS use the 16GB ...
3
votes
1answer
3k views

How to reduce the Sendmail DNS timeout period

I have a problem with the sendmail DNS timeout period when trying to sent to a email address which has a DNS issue. Let's say the problematic email address is test@example.com I can see there is a ...
0
votes
0answers
9 views

Can FPM make one RPM package that acts differently if systemd is being used?

I build an RPM using fpm for EL6 hosts. It installs a /etc/init.d script. However if that package is installed on an EL7 host, I want it to install a file in /usr/lib/systemd/system instead. Is ...
0
votes
3answers
1k views

Cannot perform a PECL installation

I have been trying to do a few PECL installations, but all of them return the same type of error. Something related to timezones? Im running RedHat x86_64 es5. Attempting to install geoip-1.0.7: ...
1
vote
0answers
22 views

CentOS 7 with Red Hat Satellite 6

We're using Satellite 6 to manage our RHEL servers. For some side projects, we'll be using CentOS 7 to limit the costs. Of course we'd like to use Satellite 6 as well to centrally manage these CentOS ...
0
votes
1answer
35 views

RPM or YUM equivalent of apt-get install libgraphicsmagick1-dev

I was using Ubuntu for development and one of the dependencies needs apt-get libgraphicsmagick1-dev now I need to deploy to a AWS EC2 which runs AMI and only support YUM or RPM, what the the ...
6
votes
8answers
10k views

Find MAC addresses in /proc or somewhere despite bonding device?

Is there a way to get the original MAC addresses for eth0 and eth1? A large array of servers have bonding interfaces managing backup switch connections and one is misbehaving. With bond0 active both ...
2
votes
1answer
1k views

clvmd problems during the RHEV cluster deployment

We are deploying Red Hat Enterprise Virtualization cluster and we faced a problem attempting to start clvmd service after the lvm partition creating. The following has been completed successfully: ...
2
votes
3answers
206 views

SELinux preventing Apache from writing to a file

SELinux is preventing the apache user from writing to a log file which it owns. When I do setenforce 0 it works. Otherwise it shows this error IOError: [Errno 13] Permission denied: ...
1
vote
1answer
34 views

AWS fails to resize an RHEL64 instance upon launch

I'm using AWS to boot up a RHEL64 instance but the disk is failing to resize to fit the volume I've selected. Here's the scenario: I Launch a running instance from the Marketplace AMI ami-517eec6b ...
-3
votes
0answers
12 views

In RHEL7 / CentOS 7, how can I add a banner text to display on the GUI at the login prompt using Gnome Display Manager (GDM)? [closed]

Following RedHat's instructions do not work! https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Desktop_Migration_and_Administration_Guide/customizing-login-screen.html ...
0
votes
1answer
517 views

Unable to install phpMyAdmin on Redhat 6. Missing librecode.so.0 [closed]

I'm attempting to install phpmyadmin on a Redhat 6 box using Remi. $ sudo yum install phpmyadmin It fails because of a dependency issue with librecode.so.0. Any advice? Loaded plugins: ...
1
vote
1answer
39 views

Increase tmpfs size more than available RAM Is that a good option?

Is it advisable to increase the size of tmpfs [/dev/shm] more than available RAM. Will it crash the Machine ? The reason for the excercise is to optimize the perfromance of the SAP application. please ...
-1
votes
0answers
14 views

Installing latest wireshark impossible? [migrated]

It looks like installing a later version of wireshark is near impossible on redhat 6. I've searched the web extensively and can't find any questions where someone has said their issue was resolved. ...
4
votes
1answer
3k views

ldap_add no such object (32) matched dn dc=domain dc=com

When im trying to import users to LDAP using this command: ldapadd -x -D "cn=Manager,dc=domain,dc=com" -W -f /etc/openldap/root.ldif I have this error: ldap_add no such object (32) ...
0
votes
1answer
853 views

Fail2ban won't start via /etc/init.d/fail2ban but will via /usr/bin/fail2ban-client

I've been running fail2ban successfully for a long time on RHEL. Now all of a sudden starting, stopping and restarting via /etc/init.d/fail2ban no longer works: # /etc/init.d/fail2ban start Starting ...
8
votes
4answers
783 views

Implications of using VMware's templating and cloning for provisioning Linux servers instead of PXE

There seems to be speed benefits when using VMware's templates to create new VMs. However, I'm concerned about possible less obvious security and flexibility implications. For e.g.: First boot ...
3
votes
1answer
1k views

Account Lockout with pam_faillock in RHEL6

Previously, I asked about using pam_tally2 under RHEL6. I would like to pose this question and answer to document the recommended use of pam_faillock over pam_tally2 for the same function; What is ...
1
vote
0answers
694 views

DHCP_HOSTNAME isn't working consistently in RedHat 7

Under RedHat/Centos 6.x I used DHCP_HOSTNAME=`hostname -s` in /etc/sysconfig/network-scripts/ifcfg-eth0 to pass client hostname to DHCP for registration in DNS and this worked flawlessly. I'm now ...
0
votes
0answers
30 views

Apache URL Rewrite On the same Virtual Host works in one case but fails in another

I have an odd problem, where I am rewriting a URL to proxy to two different URL destinations, based on digits that are passed in the URL and a particular string, in the same virtualhost definition, ...
0
votes
0answers
20 views

XFS increase size [migrated]

How to increase data size at the expense of the other disk. xfs_growfs without param [from,to] increase. /dev/sda8 45695376 36341884 9353492 80% /data Disk /dev/sda: 128 GB Disk /dev/sdb: ...
0
votes
0answers
17 views

Mongodb + Kerberos BadValue SASL mechanism GSSAPI is not supported

I am trying to run an instance of mongodb with the authentication mechanism GSS-API. This is the command: mongod --dbpath /home/ec2-user/db/node2/data --auth --setParameter ...
0
votes
2answers
2k views

“Cannot fork: retry…” error in RH5. Need info on nproc

We had a server effectively go down this morning. SSH access cut out, and at least temporarily network access went down as well. We were able to log in using out-of-band access and were presented with ...
14
votes
2answers
1k views

How to prevent users from extending their window of valid login

Been working on some security hardening procedures for a RedHat box, and I wanted to know if would be possible to prevent a user from changing his password, once it's expired. For one of our clients ...
2
votes
1answer
99 views

Migrating Oracle DB to another operating system from Red Hat Enterprise by using a disk image

I have a Red Hat Enterprise server disk image that Oracle DB is installed on it. My question is : Is it even possible to use this disk image in order to setup same DB on another Oracle supported ...
1
vote
1answer
33 views

Check if account is allowed when using pam_access

I'm using pam_access and /etc/security/access.conf to restrict who can login to my Rhel 6.5 hosts. I have an LDAP server with a diverse user base, and the security people would like a list of who can ...
1
vote
1answer
21 views

Locally runnable VM to simulate Amazon EC2 host

I'm currently managing an application hosted on the Amazon EC2 cloud. I'm curious whether it's possible to get hold of a VM that would most closely mimic the Red Hat environments that one deploys to ...
1
vote
1answer
24 views

saslauthd on Red Hat 6.5 NO “authentication failed”

I'm trying to authorize an user of an active directory in a red hat linux 6.5. To do that I am using saslauthd. This is its configuration: /etc/saslauthd.conf: ldap_servers: ...
0
votes
0answers
25 views

Redhat configure sftp

I would like to give someone in a different dept read only sftp access to a certain dir on a redhat 6 server. Easier said than done I've found. I've followed a guide like this one to setup the user to ...
0
votes
0answers
28 views

Hidden network after cloning Red Hat

I have a bizarre network problem with Red Hat. I have a virtual RHEL6 guest machine running on a ESXi 5.5 hypervisor. The VM is a clone of a base 'template' I created. The problem is there seems to ...
1
vote
2answers
2k views

Install Tomcat7 on EC2

I'm trying to install Tomcat7 on an Amazon EC2 instance, but it doesn't work. Below is the console output: [ec2-user@ip-XXX ~]$ sudo yum install tomcat7 Loaded plugins: amazon-id, rhui-lb, security ...
0
votes
1answer
623 views

pam_tally2 being called before Password entry

Based on the suggestion given in: Account Lockout with pam_tally2 in RHEL6 I have come to a working configuration, wherein account is getting locked out after 3 failed logins. Catch is that ...
4
votes
1answer
2k views

Red Hat Satellite vs. Ubuntu Landscape

We have some experience using Red Hat Satellite in an environment with ~120 servers. Now we're looking into deploying Ubuntu in parallel for the further growth. How does Landscape compare to ...
0
votes
0answers
41 views

Read-only access to a dir for a user in the shell, but allow git to write to that dir

The Environment: At work we have a shared web hosting account which allows us shell access to our server, but not root privileges. This means we have a single user in a single group and cannot create ...
2
votes
1answer
342 views

How to retrieve virtual machines from a pool via API in oVirt (RHEV)

In oVirt (Red Hat Enterprise Virtualization) you can create a Virtual Machines Pool to allow your users to retrieve virtual machines from this pool. I found how a user, in the RHEV User Portal, can ...
4
votes
4answers
627 views

User creation on Linux Redhat

Is there anyway one can determine when a user was created on Linux? I know of a couple of things one can do,but it's an unreliable way of doing it. The first option is checking when the home directory ...
13
votes
3answers
1k views

Does my Oracle DBA need root access?

My Oracle DBA Colleague is requesting root access on our production servers. He is arguing that he need it to perform some operations like rebooting the server and some other tasks. I do not not ...
0
votes
1answer
228 views

Why are Chinese Traditional (Big 5) fonts served up by Apache garbled?

In migrating an Apache web site from RHEL 5 to CentOS 5 I noticed Chinese Traditional (Big 5) fonts look fine on the old site, but are garbled on the new site. In Firefox, I can get the fonts to ...
3
votes
1answer
2k views

How to get cpio (gnu, rhel 4) to extract to a specified directory?

Reason is I want to make a tidy script instead of cd /some/dir cpio -whatever<somefile cd -
0
votes
1answer
22 views

Root Volume Expansion AWS

We need to instantiate an ec2-instance(RHEL) which has 10 GB of space mounted on root, we tried several time but usable disk always show 6 GB. Please see the screenshot. Can somebody tell how to use ...
0
votes
1answer
72 views

Execute a script while boot up in RHEL7

One of my server reboots every sunday and monday morning, whenever the server is up I need to do a service restart. Actually I call a script to execute itself (everytime manually). What I want to ...
0
votes
1answer
19 views

Install two gcc compiler on the same machine

My question is simple, is it possible to install two different version of gcc on the same red hat machine. For example : gcc3.4 and gcc4, on red hat 6 ?
0
votes
1answer
2k views

Disable all USB devices but keyboard/mouse/flash-drive

For security reasons, I would like to make sure no USB device can be connected to my servers running RHEL3 except keyboards, mice and flash drives. To sum up : What should work : Mouse Keyboard USB ...
2
votes
2answers
2k views

CentOS yum *.rpm package changelog (not installation changelog)

I just logged into my new rented server and updated openssl because of the heartbleed-bug (http://heartbleed.com). I updated using yum list openssl ... Installed Packages openssl.x86_64 ...
0
votes
1answer
29 views

IPv4 ICMP Codes/Errors for WAN transmissions

Can someone tell me which IPv4 ICMP Codes/Errors i have to unlock as Best Practise for WAN transmission (RedHat und Cisco)?
0
votes
2answers
56 views

Restrict user changing xscreensaver settings

I would like to know any solutions people came up with restricting a user from changing a system wide configuration of xscreensaver. Part of my job is managing systems which have a requirement that ...
0
votes
1answer
25 views

Granting sudo access for specific command and any flags set (RedHat)

How can you grant sudo access for a specific command with flags. Ex. I requested sudo access for this command below: sudo /usr/bin/su - wassa /usr/was7/profiles/dmgr/bin/wsadmin.sh I can run the ...
14
votes
3answers
9k views

What is needed for a linux service to be supported by chkconfig?

I am trying to add to the auto start at boottime a linux service through the chkconfig -add <servicename> and I get a message saying service <servicename> does not support chkconfig ...