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

learn more… | top users | synonyms (1)

2
votes
3answers
340 views

Single CD install of a RHEL-like distribution?

Can someone suggest a RHEL-like distribution that can install from a single CD? I am looking for a distribution where services are started from /etc/init.d, environment variables are set from scripts ...
2
votes
1answer
26 views

RHEL OS not visible anymore after installation of windows

I had a RHEL system with / - 40 GB, /boot - 100 MB and /swap - 2 GB as primary partitions. The remaining space I used as secondary partition for /home - 189 GB. I needed to install windows in this ...
2
votes
1answer
102 views

Differences between %pre and %post in Kickstart on CentOS?

I have been setting up machines with Kickstart on CentOS and I am unsure about the differences between the %pre and %post sections of the kickstart .cfg file. The CentOS Documentation for the ...
2
votes
1answer
72 views

How do I reset RHEL6 to autocreate home directory upon login?

I am using a RHEL6 host that is set up using LDAP for authenication. Upon first login it is supposed to create the home directory for the user (e.g. /home/gisle where gisle is my login username). I ...
2
votes
1answer
69 views

RHEL - Group assigned incorrectly

In our lab, all the LDAP users are assigned to a group vboxusers whose home directory is present in the server. We are using NFS to mount the home directory of an user to the client machines. I was ...
2
votes
1answer
53 views

Is there a more proper place than /etc/rc.local for writing to configure binfmt?

I want to be able to run clr (>NET/mono) exes on my redhat machines, so I add the following to /etc/rc.local: echo ':CLR:M::MZ::/opt/mono-head/bin/mono:' > /proc/sys/fs/binfmt_misc/register This ...
2
votes
1answer
215 views

Is many consoles in securetty file a risk?

I got a problem So I expect you can give me an answer. I have to evaluate the security of a RedHat server. The idea is review the /etc/securetty file to ensure that only the console tty is listed. But ...
2
votes
1answer
506 views

Yum can find a package, but can not install it

How is it possible? [root@server1 ~]# yum search diy Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can ...
2
votes
1answer
2k views

What to do after the LUNS are created

Our Management bought a New EMC2 VNX storage device . And a guy from vendor came to create the LUNS. I honestly have no idea how to configure the EMC SANS as i never got a chance to work on such ...
2
votes
2answers
157 views

Equivalent of “passwd -sa” in RHEL?

I feel a little silly having to ask this, but: In Solaris you can issue a passwd -sa command which gives you (more or less) the same output as passwd -S userName does, except it prints out the status ...
2
votes
1answer
317 views

How do I edit configuration variables returned by getconf?

Specifically, I would like to edit the value of the system configuration variable ARG_MAX. (It is preset on kernels before 2.6.23 and I want to increase it.) How do I do this? Does this require ...
2
votes
1answer
107 views

Location of crontab job created by non-privileged user

The issue I currently have is someone has created a crontab process to run on a RHEL 5 box, yet has not left me any privileged user information. How can I execute this cron job that was setup to run ...
2
votes
1answer
268 views

How can I list my `at` jobs by date?

I am using atq command, but I need to list my at jobs by date. How is that possible ?
2
votes
1answer
2k views

Hotplug area too small error

I have VM running under RHEL6, which is running under HyperV. It has a lot of important soft installed, but does not have suffocating workload (~10% CPU is used). It's been really unstable recently ...
2
votes
3answers
9k views

Transparent proxy with squid 3.1 on RHEL 6

We have nearly 50 systems with windows XP and have Linux (RHEL6) for server. Also have squid 3.1 , Samba and Apache for local use. Under proxy, VPN and outlook express does not connected. I heard ...
2
votes
1answer
140 views

Can't see the free disk space of the drive

I am installing redhat 6 with pendrive, I get only two drives option for installing one is the whole hard disk and the other is pendrive, but I've created a free logical disk of 30 GB in windows. I am ...
2
votes
1answer
60 views

RedHat Enterprise Edition Kernel Support

Is there support for Kernel versions 2.4-2.6 in RedHat Enterprise Linux versions 4 and 5?
2
votes
3answers
2k views

Centos or Scientific Linux

When I need to create a new server I've always chosen Centos mainly for it's compatibility with Red Hat which i consider the standard de-facto for the general purpose linux server. Now the problem is ...
2
votes
1answer
3k views

What repositories do I need to install heartbeat and haproxy on RHEL?

So I am now managing two RHEL machines that I need to install haproxy and heartbeat on. When I follow instructions to do so I get the following: [admin@p2378442 ~]$ sudo yum -y install heartbeat ...
2
votes
2answers
47 views

device mapper on RHEL6 unable to create devs for LVM logical volume

I have XEN guest running RHEL6, and it has a LUN presented from the Dom0. This contains an LVM volume groups called vg_ALHINT (INT for Integration and ALH is an abbreviation of its Oracle database ...
2
votes
1answer
39 views

SELinux httpd write access to a directory

I am new to SELinux. came from debian. I want to give httpd access to a directory. SELinux Alert Browser suggests: # grep httpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp ...
2
votes
1answer
68 views

cat file to multicast

I have a text file (test.txt) which represents captured network data. The actual protocol is text-based, with NULL line endings, so this isn't a problem. I need to run this test captured data ...
2
votes
1answer
101 views

Is it possible to insert image in gedit in Linux?

I'm using RHEL. Totally new to Linux. I want to insert an image in gedit, but I'm not able to do so. Also I'm unable to install LibreOffice because they are asking for a subscription. Any alternate to ...
2
votes
1answer
37 views

The importance of the order in domain controler names for setting an LDAP server, is there any reason?

I wonder if there is any reason to speficically put the domain controlers in the proper order, when configurung a LDAP server using autofs. For example if specify on a RedHat/CentOS the dc domain ...
2
votes
1answer
195 views

RHEL - GDM could not write to authorization file

I am getting an error as "GDM could not write to your authorization file" if I try to login as a non root user in my RHEL system. I restarted the machine hoping that the tmp files will be cleared and ...
2
votes
1answer
66 views

Is there a mechanism to run a “service” by a non-root user? [duplicate]

Is there a way I can have a continuously running, background process that can be controlled by me (a regular, non-root user)? All I need to be able to do is start, stop and restart the process. ...
2
votes
2answers
278 views

RHEL5 to RHEL6 Upgrade

I'm trying to upgrade our RHEL 5.9 servers to RHEL 6.4. We have lots of third party software and mounted systems so it would be nice if we could upgrade without re-installing. I know RedHat doesn't ...
2
votes
3answers
226 views

How to make RHEL look at access.conf for su -?

I use the file /etc/security/access.conf to dictate what users have access to the server: + : root : LOCAL + : user1 : ALL + : user2 : ALL + : user3 : ALL - : ALL : ALL This works fine for new SSH ...
2
votes
1answer
246 views

Debugging dmesg logs

I noticed I have the following in my logs. I just am not sure as to how to go about figuring out how to fix or find out what is causing them and if they are serious. [582046.956291] Core dump to ...
2
votes
2answers
52 views

What alternative backends does sudo support and how is it configured?

When preparing for the Red Hat Certified Engineer certification examination, I came across this quote in my study notes about the sudo command. By default, the policy is maintained as a flat text ...
2
votes
1answer
645 views

Switch between windows & tabs in Linux? [closed]

do we have keyboard shortcuts to switch between tabs or windows, am looking for shortcuts similar to of those available in windows (ctrl + tab to switch btw tabs & Alt + tab to swtich btw ...
2
votes
2answers
2k views

Linux (RedHat) `sudo su -l <<user_acct>>` does not source profile

As stated, having trouble with loading the default profile of <<user_acct>> when doing sudo su -l <<user_acct>>. Inside .profile, if [ -r "${HOME}/.profile.custom" ]; then ...
2
votes
1answer
247 views

What would be the “apt-cache show” equivalent on RHEL *without* requiring sudo/su?

How can I query the local package cache of yum on RHEL (and derivatives) without requiring superuser privileges? Note: I am not interested in running an update of the package cache up front. All I am ...
2
votes
1answer
78 views

Message appears after every command completed

I am very new to Linux. Having said this, I had a friend go on my RHEL machine and he somehow added a few random lines in a file, which will post every time I have completed a command. I am not sure ...
2
votes
3answers
3k views

How to clear memory cache in Linux

Is there any command that by using I can clean the cache in RHEL I used this command sync; echo 3 > /proc/sys/vm/drop_caches but it didn't work
2
votes
2answers
2k views

Resolve missing package dependencies when trying to install octave

I am trying to install the octave software package on a RHEL 6 Workstation. I have installed the epel-release 6.5 package to enable the EPEL package repository. When I try to install the octave using ...
2
votes
1answer
432 views

How to migrate from CentOS to RHEL?

What packages do I need to install to migrate my CentOS 5.7 server to identical version of RHEL. I have RHN subscription but I don't want to create a fresh install and move files.
2
votes
2answers
16k views

Error Loading Shared Libraries when Installing Redhat Directory Server

While Installing the Red Hat Directory Server on the Red Hat Linux Server 5 (x86_64)i am getting the following error bin/slapd/server/dsktune: error while loading shared libraries: libstdc++.so.5: ...
2
votes
2answers
855 views

How do I find out a server's drive mappings for raw devices?

I don't have a lot of knowledge on Linux so pleas forgive me if this is a simple question. I manage a server with Oracle RAC 11g running on Redhat 5.2. There are a number of raw drives on the server ...
2
votes
2answers
677 views

su - username -c “./script.sh” -> no such file or directory

We have: a user nico. a folder /home/nico/script_home with some bash scripts: main.sh subscripta.sh sqlscripta.sh We connect as root and cd /home/nico/script_home/ Finally we run ./main.sh We ...
2
votes
3answers
3k views

Can ping any hosts but localhost. What's wrong?

I got a freshly installed red hat box on a server. I can ping another machine on the network usnig both ip and server name but I can't ping localhost or 127.0.0.1 or 192.168.4.42 (local ip) ...
2
votes
2answers
2k views

List all RPM packages installed from repo “X”

How can I get a list of all of the RPM packages that have been installed on my system from a particular repo (e.g., "epel")?
2
votes
1answer
539 views

Mounting Windows share on startup without storing password in plain text

I have the following in my /etc/fstab on a Red Hat 5 system: //share/folder /mnt/folder cifs username=<my username>,password=<my password>,ro,soft,nounix Can I replace this with ...
2
votes
3answers
1k views

Linux + how to verify mirror configuration on linux red-hat

I have an IBM blade server and we've installed RedHat Linux on the machine. How can we check if we have both disks running as a mirror, or if everything is only running on a single disk? What ...
2
votes
2answers
394 views

Where to apply xmodmap for systemwide usage?

I need to apply a custom xmodmap for all users at the start. Where do I need to put it? I have thought at /etc/rc.local? Does this make sense?
2
votes
1answer
5k views

Startup log file for RHEL?

When I start up my Red Hat box I see a progress meter in the center of the screen that has a button that says "Show Details...". When I click on this button, I see a console like screen that shows ...
2
votes
1answer
225 views

Bash script and Database

I have an iptables firewall in Linux bridge (RHEL5). I want to extract information like IP address, port number, port type, date and time, etc. from log messages using a Bash script, and then want to ...
2
votes
1answer
895 views

How to uninstall RHEL from a dual-boot system?

I had RHEL 5 and WinXP on dual-boot and then from WinXP I deleted those partitions which were allocated to RHEL. Now I am not able to start my computer. The booting process stops at grub. I tried ...
2
votes
3answers
948 views

Static DNS setup on client of shared internet connection

I've 2 linux computers, one redhat (client), and one ubuntu (set up with shared internet connection as described here) At the moment, on the wired connection between the computers, I can ping the ...
2
votes
2answers
308 views

Install from RPM, then files change. How can I see the differences?

This is a RedHat Enterprise 5.5 system. I ran a verification check against an RPM, and it looks like two files have changed: # rpm --verify shadow-utils S.5....T c /etc/default/useradd S.5....T c ...