**DO NOT USE!** This tag is slated for deletion See this meta discussion: http://meta.superuser.com/q/8402/107240. 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

37
votes
4answers
69k 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
9k 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 (...
32
votes
5answers
15k 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 ...
6
votes
4answers
24k 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. ...
6
votes
3answers
87k 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 ...
-1
votes
1answer
59 views

Red Hat command returns, “-bash: sudo: command not found” when running “sudo git”

I’m following a GoDaddy help tutorial in order to install “Let’s Encrypt” certificate for my website. So I connected to my server using SSH via PuTTy and when typing the first command: sudo git ...
39
votes
8answers
202k views

How do you automatically detect a new network card in CentOS 6 / RedHat?

I'm using CentOS 6 in a virtual environment. When cloning a virtual version of CentOS, the old eth adapters are "removed" and replaced with new ones and net MAC addresses. However, the ifcfg-ethn ...
8
votes
4answers
10k 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 advantages/...
3
votes
2answers
7k views

change default shell from zsh to bash

I'm trying to change my default shell in RHEL5 from zsh to bash. I tried to the methods mentioned in this thead. By typing sudo /usr/bin/chsh -s /bin/bash, the system says sudo: /usr/bin/chsh: ...
3
votes
4answers
5k 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 ...
1
vote
2answers
8k views

Apache loading PHP module - undefined symbol: unixd_config

I'm configuring a new web server on a RedHat 6.5. I try to enable the php5 module on Apache 2.4.6 as following: LoadModule php5_module /usr/path/to/libphp5.so AddType application/x-httpd-php .php ...
5
votes
1answer
3k views

I believe I've deleted MySQL root user, how do I recreate it?

I'm running ISPConfig on CentOS and I don't know how, but I don't seem to have a root mysql user. I can stop mysqld with /etc/init.d/mysqld stop Start it again and skip grant tables mysqld_safe --...
1
vote
2answers
488 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
2answers
271 views

Create bootable RedHat iso from folder

I'd like to install RedHat 6.4 (32bits) on a VM. The problem is that I don't have the iso file. Instead, I have access to a folder (standard RedHat folder with subfolders like images, isolinux, etc.) ...
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 - http://superuser.com/questions/198191/providing-permission-to-...
1
vote
3answers
25k views

How to enable remote desktop in Red Hat?

How to enable the remote desktop in a Red Hat system?
1
vote
4answers
29k 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
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 works ...
0
votes
1answer
277 views

Keyboard layout in Terminal of Red Hat Linux changes automatically

I have an unique problem in Terminal of Red Hat Linux WS 6.6. After some of period of period (Don't know exactly when..) keyboard layout (and not language) changes from German to English ONLY in ...
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 ...
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
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
84 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 ...
0
votes
2answers
358 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 ...