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)

2
votes
3answers
323 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: ...
0
votes
1answer
660 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: ...
8
votes
4answers
1k 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
2k 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
859 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
38 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
30 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 ...
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
101 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
64 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
25 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
71 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
30 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
41 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 ...
0
votes
1answer
712 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
59 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
363 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
665 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
232 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
29 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
111 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
21 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
37 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
83 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
42 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 ...
15
votes
3answers
10k 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 ...
0
votes
1answer
64 views

Redhat Satellite 5.5.0 Remote Command Setup issue

I have setup Remote Commands on Redhat Satellite version 5.5.0 and trying to understand how the schedule works. The Remote Commands are already working on the clients but it appears that when we try ...
0
votes
2answers
187 views

How to configure lib path for apache utilities?

I juste installed apxs bin with the httpd24-httpd-devel-2.4.6-16.el6.x86_64 package. I need it to compile PHP with Apache module. When I launch the command apxs --help I get the following error: ...
-1
votes
1answer
56 views

Can I use RHEL Virtual Datacenter License with vCenter Server Essentials (Essentials Kit) [duplicate]

Does somebody use RHEL Virtual Datacenter License with vCenter Server Essentials? I cannot get a clear answer from our RHEL Partner, as well as I cannot find it clearly stated somewhere on the WEB. ...
0
votes
1answer
66 views

DB2 crash on production redhat server

We have a redhat virtual machine (vmware vsphere) that is hosting the database for our application. The application runs normally, until at some point it crashes with the error below seen on db2diag: ...
18
votes
6answers
64k views

What is the value of JAVA_HOME for CentOS?

I have install java through yum on CentOS, however another java programme needs to know what the JAVA_HOME environmental variable is. I know all about setting environmental variables, but what do I ...
0
votes
1answer
182 views

How to maximize AWS Default Partition Size? (NOT a duplicate) [duplicate]

Hello Ladies and Gents, I apologize if the question isn't phrased as well as it should be; it's getting late and I've been staring at this screen for way too many hours after work. My core ...
1
vote
1answer
35 views

fedora packages for enterprise linux

There are a number of packages available on fedora that I would like to install on RHEL v6.x. These packages do not appear to be available from RHEL (release, release-optional, or supplementary ...
0
votes
0answers
100 views

ldapsearch - Get all members of a CN (nisNetgroupTriple)

I'm a bit new to using LDAP, especially non AD LDAP. We use RedHat Directory Server and was trying to do an LDAP query (filter specifically) that would retrieve all the users (and their attributes) ...
9
votes
5answers
16k views

RHEL 6: View boot messages “behind” the splash screen

I know there was a way to do the above in Fedora. I cannot for the life of me remember what the key was; nor can I find documentation via a web search.
0
votes
1answer
35 views

How do you install the optional channel on RHEL version 7?

To install Puppet Master on RedHat Linux version 7, you need to install an optional channel. Can someone provide directions on how to do this? I want to install Puppet Master. I tried to install ...
0
votes
0answers
30 views

How to work whit socket_file httpd (nginx-uwsgi)

I am trying to run Nginx/uWSGI/Django, the last remaining step is to run the socket_file all I get is a 502 Bad Gateway. Route my django application. #/home/deploy/webapps/myapp Configuration ...
0
votes
1answer
49 views

Selinux “Add context Rule to Semanage” [closed]

As you add or change a new rule to fcontext semanage to any directory and apply, egg: # How to add this rule for apply changes whit restoreconf -Rv /var/www/html(/.*)?/media(/.*)? ...
2
votes
1answer
4k views

mount: mount to NFS server 'IPADDRESS' failed: RPC Error: Program not registered

I've got two Redhat5/CentOS systems which share a folder. I'm trying to change the shared folder location, but I ran into this error on the machine on which the folder is mounted... How can I correct ...
0
votes
3answers
788 views

How do I confirm (online) what the current supported version of MySQL for RHEL 5.6?

without doing a yum update. We would like to know if we are running the latest version of MySQL.
0
votes
0answers
27 views

Openshift: war file disappears

I deployed war-file to openshift via rhc and wildfly administrative console. It works fine. But after few days (approximately one week) war disappears. The administrative tool on openshift and wildfly ...
0
votes
1answer
26 views

Nginx location redirecting improperly

My nginx.conf: http { include mime.types; default_type application/octet-stream; # click tracking! access_log /var/log/nginx/nginx.access.log combined; sendfile on; tcp_nopush on; # ...
17
votes
6answers
34k views

KVM Guest installed from console. But how to get to the guest's console?

I'm trying to install a fully virtualized guest (Fedora 14 x86_64) on KVM (RHEL 6), using command-line only (both hypervisor and guest). It goes without errors, and without a tangible result . I'd ...
-2
votes
1answer
44 views

Apache Solr in openshift redhat application [closed]

I have a drupal application on openshift redhat server and I would like to install apache solr for my search_api_solr module. Any ideas how to do this ?
4
votes
2answers
2k views

Can udev be 'restarted' without a reboot?

For the general case let's say that the virtual adapter for eth0 has been removed and replaced with another one. Either due to cloning or, more recently, a rash of MAC address conflicts. [Yes, a rash ...