Questions about the OS, such as Red Hat Enterprise Linux, should use [rhel] or the like. Red Hat is the developer, the company itself.

learn more… | top users | synonyms

29
votes
3answers
53k views

How do I make sudo preserve my environment variables?

Using sudo 1.7.4p4 on Solaris 5.10 and sudo 1.6.7p5 on RHEL4 u6 I can't see how to preserve my environment variables, for instance $PYTHONPATH. I've added this line to sudoers, but it doesn't make any ...
2
votes
4answers
4k views

Redhat Linux password fail on ssh

I am trying to ssh into my linux machine from my mac. If I am physically at the machine I can log in with my password just fine, but if I am sshing it refuses. I am getting: Permission denies ...
2
votes
3answers
45k views

What is the exact command to restart a Redhat linux system?

I am new in linux. I want to know the exact command to restart a red hat linux server 6.3. and it has to start network drivers etc. I am using VPN to connect to remote machine using VNC. Can anyone ...
2
votes
1answer
2k views

How do I change the default application for a PDF?

I'm running Redhat 5 Enterprise (Nautilus 2.16.2) with Gnome and am having trouble changing the default application for PDFs. No matter what I do, it seems to always come up as evince. First I tried ...
1
vote
2answers
300 views

Modify PATH variable for X11 during log-in

I am working on some lab computers (read: no administrative rights) that, if I log in, I need to change the PATH variable as X11 starts. The reason is that I need to change the PATH variable at this ...
0
votes
0answers
50 views

VirtualBox errors out saying it needs more free disk space when space is clearly available

At my work environment we use VirtualBox for testing. It is set up as Windows host and RHEL 6 as client. Now during testing sometimes the error message popping up which says: You need to free ...
0
votes
2answers
711 views

Add files to an iso image and auto run a script post installation

I want to add my .tar files in the .iso image of redhat cd and untar the same at desired location using some script. Can anyone tell how do I add the files in the ISO image? where to place the ...
0
votes
1answer
2k views

Providing permission to specific user to access NFS share

I have two machines between which I need to share a folder. On server1, I have the user 'appuser' that needs to access (read/write/delete) on this share. On server2, 'root' accesses this share and ...
24
votes
5answers
5k views

Sudo vs root; any actual differences?

I'm working with a support member for a product, and he insists that I need to be root to install a series of patches, and that sudo won't work; he doesn't provide a reason but seems very firm in his ...
8
votes
4answers
7k views

Setting Linux environment variables

I am running Red Hat Linux Enterprise 5; I am always using the export command to set environment variables. Are there any other ways to set environment variables and what are the ...
6
votes
4answers
17k views

Command to find files for specific time range

I have few Linux RedHat machines and i must find some files on them. The problem is that they have a lot of files and folders since 2004 year. And i don't know where exactly to look for this files. ...
3
votes
4answers
2k views

Is there a native tool for parsing xml files available on RedHat?

Are there any utilities similar to xpath for parsing XML files that would be natively available on a RedHat server? Similar questions have been answered elsewhere, but none of the tools listed are on ...
0
votes
1answer
601 views

Not able to connect to internet in RHEL 5

I just installed red hat enterprise 5 in my laptop and on desktop both. In desktop it is working fine but in laptop it is not showing the eth device. (I tried ifconfig only lo is there). I tried ifup ...
1
vote
2answers
365 views

Discrepancy between df and du

I have a question pertaining the difference from 'df -h' and 'du -bs'. I have seen several questions here about it, but the issue was always that 'df -h' was reporting more used space than 'du -bs'. I ...
1
vote
3answers
2k views

Red Hat Enterprise Linux 5 trial expired

My trial of Red Hat Enterprise Linux 5.8 will expire tomorrow. What behavior should I expect? It will not boot?
1
vote
4answers
24k views

Unable to mount NTFS drive with RHEL 6

I installed RHEL 6 on my computer on the last drive with Windows XP. In RHEL 6 my drive has not been opened, it shows unable to mount NTFS file. So what can I do to resolve that?
1
vote
3answers
23k views

How to enable remote desktop in Red Hat?

How to enable the remote desktop in a Red Hat system?
1
vote
1answer
5k views

Changing file and folder ownership from root?

I created a folder structure as root and now need to transfer ownership to an ordinary user. This question is linked to this one - ...
1
vote
2answers
3k views

VSFTP configuring virtual user using passwd [duplicate]

Possible Duplicate: Why won't vsftpd let me log in with a virtual user account? I'm trying to configure virtual FTP users along with real users on a server. I installed VSFTP and it ...
0
votes
0answers
15 views

VirtualBox Linux Guest unable to ssh in to a redhat server? [duplicate]

I am running VirtualBox with a CentOS guest and trying to ssh in to one of my firm's Redhat servers. I get timed out but I can ping the server. It works if I do the same action from my Windows host. ...
0
votes
2answers
238 views

yum: enable a disabled repository

I've found out I can use yum --enablerepo= to temporarily enable a disabled Yum repository, but I want to permanently enable a repository. Is there a preferred Yum command to enable a disabled ...
0
votes
2answers
1k views

How to install CentOS 5 or Redhat 5 on USB Key or external HD

How to install CentOS 5 or Redhat 5 on USB key/HD external? I don't want to create multi-boot (with Windows 7)which mean just when I need a Linux machine by connecting usb I have downloaded LinuxLive ...
0
votes
2answers
82 views

Can't connect wirelessly using redhat9

I've recently installed redhat 9 and I'm trying to connect to the internet using a wireless card. I'm able to connect to the network and get to the router webpage @ 10.0.0.1 But whenever I open ...