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

learn more… | top users | synonyms (1)

4
votes
1answer
2k views

Maximum memory usable by a 32 bit RHEL 6 system

I have installed a 32 bit RHEL OS on a 64 bit system. From the wiki page of PAE: The Linux kernel includes full PAE mode support starting with version 2.3.23, with Linus Torvalds mentioning ...
3
votes
2answers
2k views

How to control thinkpad_acpi via procfs, RHEL 6.4

I'm having trouble with the thinkpad_acpi module on my Thinkpad T400. While the processor temperature can vary, depending on the CPU activity, from 40 to 85 deg. Celsius, my fan speed remains almost ...
3
votes
1answer
2k views

Can I automate mounting a cifs share without storing my password in plaintext?

I currently use a script which contains commands along the lines of sudo /sbin/mount.cifs $SERVER_SHARE $MOUNT -o username=$DOMAIN_$USER,uid=$USER,gid=$USER,file_mode=0664,dir_mode=0775 to mount my ...
3
votes
1answer
7k views

Mount samba filesystem into RHEL 5.5

I have a trial RHEL version for a proof of concept where I was asked to mount a windows filesystem into linux. I tried mount -t smbfs -o username=samba,password=samba //Desktop/Public /mnt/public ...
2
votes
1answer
39 views

How to permanently disable root-password prompt for recovery mode, RHEL6

In the rare cases that a RHEL or CentOS 6 system is prevented from booting by (for instance) an improper shutdown, or a forced fsck-check failure on boot, the console will prompt the user for a root ...
2
votes
2answers
1k views

how to add line in a /etc/sudoers file with the help of shell script (50servers)?

Anyone can help me with shell script, I want to know script which can edit /etc/sudoers file and let me add {{{{{userid ALL=(root) ALL}}}} to 50 server I have on same network?
1
vote
1answer
972 views

httpd-devel requires outdated version of glibc-common on CentOS 6.3

httpd-devel requires an outdated version of glibc-common on CentOS 6.3 x86_64 and Apache/2.2.15. It wants 2.12-1.80.el6 and I have 2.12-1.80.el6_3.3.x86_64 installed (via CentOS @update repo) Here is ...
0
votes
3answers
10k views

Why VNC not showing actual Remote Desktop

Ok i installed vnc server on RHEL 5.9 and also installed Tightvnc viewer on windows 7 and from RHEL i started vncserver and assigned the password using vncpasswd. Then from tightvnc viewer i gave the ...
0
votes
4answers
4k views

How to verify if the Language is installed

Is there some command for Redhat Linux that can tell me whether the Arabic Language is installed on Redhat 5.6 Server.
11
votes
4answers
5k views

What are the dangers of creating a normal user with UID < 500?

What are the dangers of creating a normal user with UID < 500? Assuming the UID's are not duplicates of existing UID's, what could go wrong? This is not something that I want to do, but something ...
7
votes
1answer
6k views

Install g++ when having gcc (C only) — RH6

I have a RedHat 6 machine, which came with gcc but without g++. The gcc version is 4.4.4 20100726 (this is what I got from gcc --version). How can I get g++ working? Currently, the shell just returns ...
6
votes
1answer
607 views

Are Debian- and RedHat-style repositories compromised by Heartbleed OpenSSL bug?

The Heartbleed exploit (CVE-2014-0160) makes SSL connections using OpenSSL vulnerable to private key leakage. Does it mean that official update channels in RHEL/CentOS/etc. and Debian/Ubuntu shall be ...
6
votes
1answer
546 views

Why does `man -k cron` say `vixie-cron (rpm)` for some results, and how do I read those pages?

I'm trying to find out some details regarding cron and /etc/cron.d/ on a RedHat system. Ironically, my answer is viewable within the vixie-cron-*.src.rpm for this package, but the the man pages for ...
4
votes
2answers
575 views

How could we allow non-root users to control a system.d service?

With sysvinit, a sudoers entry like this would suffice: %webteam cms051=/sbin/service httpd * This would allow for commands such as: sudo service httpd status sudo service httpd restart Now, ...
4
votes
2answers
3k views

USB set to /dev/sda instead of /dev/sdb

I've been trying to use a kickstart file to guide the Red Hat installer (RHEL6.5) without user intervention. It correctly looks for the kickstart file in /dev/sdb/fs.cfg, but because the USB is ...
4
votes
2answers
10k views

/usr/bin/ld: cannot find -lcrypt (rhel 6 )

System info [root@xilinx busybox-1.22.1]# uname -r 2.6.32-71.el6.x86_64 Following errors come when I make busybox on rhel 6: /usr/bin/ld: cannot find -lcrypt collect2: ld returned 1 exit status ...
4
votes
3answers
14k views

How to create Local Repositories in RHEL

I need to create a local repository in RHEl 5.5. i386 Because when I type some command in terminal it say that RHEL is not subscribed with RHN which is true. I took it from friend. So can someone ...
4
votes
3answers
1k views

Recompile Kernel to Change Stack Size

I need to recompile my kernel on RHEL WS5 with only two changes. Change stack size from 4k to 8k Limit usable memory to 4096. How do I recompile the kernel without changing anything else but ...
3
votes
2answers
93 views

How to permanently disable root-password prompt for recovery mode, RHEL7

Note: I asked a similar quesiton concerning version 6 of these bundles here. Note that 7 uses systemd and may have a different implementation In the rare cases that a RHEL or CentOS 7 system is ...
3
votes
2answers
3k 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 ...
3
votes
1answer
2k 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 ...
3
votes
1answer
1k views

Not able to extend the size of an LVM logical volume

During RedHat installation, I created one volume group with two logical volumes in it. Volume Group Name = VolGroup00 LVMs = LogVol00 and LogVol01 LogVol00 size = 48G LogVol01 size = ...
3
votes
1answer
572 views

GDM will not start on boot, unable to login into graphical interface

I am running RHEL 5.8 . SELinux is enabled but in permissive mode. Here are some snippets from /var/log/messages on boot. kernel: type=1400 audit(1360613500.551:6): avc: denied { write } for ...
3
votes
2answers
6k views

Run getty on a serial port on startup on RHEL

I want to put a getty on ttyS2 on a RHEL 6.1 box so I can use IPMI's serial-over-ethernet functionality to log in to a machine when SSH isn't working. In the past (on Ubuntu?), I used to add a line ...
3
votes
1answer
938 views

SSH getting disrupted intermittently

I have Red Hat Linux Enterprise Edition 5 on my box. Recently I started having issues with my SSH service not keeping my connection and randomly disconnecting my clients. Ping works perfectly fine, ...
2
votes
1answer
82 views

/etc/fstab 5th column

Whatever I have understood so far about the 5th column of /etc/fstab that it is for dump command to run on that file system. if entry is 0 dump command will not run and if the entry is 1 then dump ...
2
votes
0answers
1k views

mailx attachment behaviour between RHL 5 and RHL 6

We have a line of code that does this in ksh, to send a file as an attachment in email: uuencode <filename> <filename.txt> | mailx someone@somewhere.com In RHL 5.2 mailx sends ...
2
votes
1answer
2k views

Logging %pre during kickstart - logfile doesn't exist after boot

I am kickstarting several EL6 systems and I want to log the actions taken in my %pre section. I know that I can log the %post section per the hints provided by centos.org: Tips and tricks for ...
2
votes
1answer
123 views

Update different dropbox instances

I am using dropbox on my redhat linux kernel. Right now we have a dummy user set up, with it's own dropbox account. Everyone can access and dump their files into it while on the machine and then ...
2
votes
3answers
3k views

How to install Redhat using the iso image stored on Network

This is the case. I want to install the Redhat 5.6 on my system. But this time i dont want to use the actual DVD but this time i want to install it using the iso image stored on one of our server HDD. ...
2
votes
3answers
347 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 ...
1
vote
1answer
68 views

Improving performance of script [closed]

I have been working on a script that can be used to automatically restart my Zabbix monitoring services in the event that they stop running. I have the script working just fine, but figured it could ...
1
vote
1answer
93 views

SysV init scripts to systemd migration in RHEL7

Please find the Sys V Init scripts for (User processes)Agent and Security daemon in Linux. Agent Daemon startup script /etc/rc.d/init.d/Agentdaemon /etc/rc.d/rc5.d/S91Agentdaemon Security Daemon ...
1
vote
1answer
126 views

backup user accounts without giving a home directory to them

I am reinstalling the older Ubuntu machines with the latest RHEL 6.0 in servers. I have /etc/passwd and /etc/group and /etc/shadow file backed up for the list of user accounts that I need to create ...
1
vote
1answer
2k views

RHEL Installation issue with UEFI on HP Compaq Desktop

I have bought a new Desktop HP Compaq Elite 8300 SFF. It came with Windows 7 Pro installed. Now I want to install Linux (RHEL) by dual booting it. I have successfully shrinked the partition and ...
1
vote
1answer
994 views

Control bandwidth with iptables

How can I control bandwidth in RHEL 5 using iptables?
0
votes
2answers
595 views

Parallelise rsync using GNU Parallel

I have been using a rsync script to synchronize data at one host with the data at another host. The data has numerous small-sized files that contribute to almost 1.2TB. In order to sync those files, ...
0
votes
2answers
2k views

What is the correct way to resolve this rpm conflict? (Error: p11-kit-trust conflicts with nss-3.13.3-6.el6.x86_64)

It has been a while since I updated one of my RHEL6 machines (except for the occasional update of specific packages with known vulnerabilities). As a result of this, I have an old ca-certificates ...
0
votes
2answers
546 views

RPM command stuck/FREEZE when installing RPM file

I want to install the following rpm from some reason RPM is stuck or freeze and not install the RPM package also I cant stop it by control C , please advice what could be the problem ? root]# rpm ...
0
votes
1answer
955 views

Init script to run a script as specific user

/apps/data/service/bin/startup.sh This is the script i want to be executed during RHEL booting. I want it to be run in runlevel 3 only. And i want this script to be started as specific user, ...
0
votes
1answer
263 views

Answer password prompt programmatically via shell script

I would like to programmatically answer a password prompt using only shell script when prompted. Is it possible to automate this task in this way? I want to avoid other tools entirely - so no expect ...
0
votes
5answers
5k views

Why does “yum update” fails with many duplicates, after many months of no upgrades?

After many months (> 6) of no software upgrades, I logged into an EC2 instances running: Linux version 2.6.32-358.23.2.el6.x86_64 (mockbuild@x86-022.build.eng.bos.redhat.com) (gcc version 4.4.7 ...
0
votes
1answer
1k views

OS errors : kernel: EDAC k8 MC0: extended error code: ECC chipkill x4 [duplicate]

We noticed the server crashes with below errors. Not sure it is related to any defected piece of the hardware or totally not related to Server detail:Red Hat Enterprise Linux ES release 4 (Nahant ...
0
votes
1answer
727 views

Installation of QEMU, GCC for ARM in RHEL

We are setting up a lab which has the QEMU system to emulate an ARM processor and run assembly programs. The lab is currently setup with the host operating system as Ubuntu. We are migrating the lab ...
0
votes
0answers
343 views

How do you access internet in RHEL 5 using Android smartphone USB LAN? [duplicate]

How do you access the internet in RHEL 5 using Android smartphone USB LAN?
0
votes
2answers
252 views

What creates /etc/hosts (RHEL 5.5)

How does /etc/hosts get created on RHEL 5.5? It's not owned by any RPM and if deleted, it doesn't reappear on reboot, so apparently it's not a service created it. Does anaconda create it by default ...
0
votes
4answers
32k views

How to read NTFS drives in Linux (RHEL 6)?

My system is on dual boot. I have installed both RHEL 6 and win7 in it. I use RHEL mostly and I want to use my windows' NTFS drive in RHEL. How can I do it? Tell me the procedure.