Tag Info

Hot answers tagged

10

Because the tool called system-config-firewall(or it´s ncurses based brother system-config-firewall-tui) manages this file. Every time you use this tool to create new iptables rules, it will overwrite /etc/sysconfig/iptables. Related Manpage: 28.1.16. /etc/sysconfig/iptables-config This is why it's not recommended, but not prohibited. The best way to save ...


6

and yet on the very top of the file it says.. Hmmm, that's strange. At the top of mine it says: # Manual customization of this file is strongly encouraged. Someone must have changed it ;) And in fact even moved it out of /etc/sysconfig so it would not get "auto uncustomized" by the package manager or anything else ;) ;) I think the point here in ...


4

Putting host names in hosts.allow or hosts.deny means the server must do a reverse DNS resolution to get the domain name for the IP address. This will affect login times if your name resolution system is slow or if some intermediary name server is slow to respond. It is faster to put the IP addresses ur subnets into the file instead, as is explained by man ...


4

intltool-0.41.0-1.1.el6.src.rpm is a source RPM package, containing the source code, patches and build instructions used to make the actual RPM intltool-0.41.0-1.1.el6.rpm package. IIRC source RPM packages get installed in the /usr/src/ sub-directories, but if you weren't planning on building your own packages, you should simply download the correct binary ...


4

The big difference is that - gives you the environment of the user you su'ed to. Chances are that you successfully became the support user, but were in your own home, which would explain why you were unable to create directories.


3

It indicates that those files are with SELinux security context. From info ls: Following the file mode bits is a single character that specifies whether an alternate access method such as an access control list applies to the file. When the character following the file mode bits is a space, there is no alternate access method. When it is a printing ...


3

Since you do not specify which shell, I'll just cheat. You can find the following and much else on grml.org's zsh-lover's command reference man page. $ zmodload zsh/zpty $ zpty PW passwd $1 $ zpty PW passwd $1 # ``-r'': read the output of the command name. # ``z'' : Parameter $ zpty -r PW z '*password:' # send the to command name the given strings ...


3

First things first. I had setup my 32 bit system as below. /boot - /dev/sda1 / - /dev/sda2 swap - /dev/sda3 /home - /dev/sda4 If you have not setup the /home in a different partition, then you have to backup all the data and restore it. You cannot do as described in this answer. /home is in different partition So if you have /home in different ...


3

Try: yum whatprovides <command> From man yum: provides or whatprovides Is used to find out which package provides some feature or file. Just use a specific name or a file-glob-syntax wildcards to list the packages available or installed that provide that feature or file. Example: yum ...


3

I am using CentOS 6.5 and rcp binary belongs to package krb5-appl-clients-1.0.1-7.el6_2.1.x86_64 [root@CentOS-VM1 6]# rpm -qf $(which rcp) krb5-appl-servers-1.0.1-7.el6_2.1.x86_64 krb5-appl-clients-1.0.1-7.el6_2.1.x86_64 My CentOS version -- [root@CentOS-VM1 6]# lsb_release -d Description: CentOS release 6.5 (Final) You can install package ...


3

The file /etc/resolf.conf contains the DNS, without DNS no name resolution add nameserver 8.8.8.8 which is the DNS of Google. before that you can try to ping 8.8.8.8to check if it will work. you should try to find out which DNS are used by your provider though, because using the one of google all the time is not really recommanded


3

That depends on when exactly you will do this and what is required to install the driver. The most likely answer is no, it won't be a problem. When a live CD is booted, an initial ramdisk is first loaded which contains most of the tools necessary to run your system. If you are at a prompt, these tools are already loaded and you should be able to remove the ...


2

I believe in step one it should be: $ cd /etc/yum.repos.d/ not $ cd /etc/yum.repo.d/ At least that's what it is on my CentOS 6.5 system.


2

If your purpose is to detect whether rpm is the package manager on that system, a good heuristic should be that the RPM package database is not empty. if [ -n "$(rpm -qa)" ] 2>/dev/null; then echo "This looks like an rpm-based system" else echo "Either there is no rpm command, or the rpm package database has no entries" fi


2

Well, I do not expect a concise answer than the one available from here. What I understand about 32-bit OS is, the address is expressed in 32 bits, so at most the OS could use 2^32 = 4GB memory space The most that the process can address is 4GB. You are potentially confusing memory with address space. A process can have more memory than address space. ...


2

go into the BIOS of the host and rearrange the order of the hard drives and removable drives. This will adjust the order as it appears to the Linux kernel.


2

I did find this method for installing Spotify which I've confirmed does install cleanly on my Fedora 20 system. Given the method this install utilizes it should be adaptable to other RHEL based distros. There are 2 RPMs that you need to download from this URL: http://sourceforge.net/projects/postinstaller/files/fedora/releases/20/x86_64/updates/ These ...


2

You can tell by looking at /etc/redhat-release. Here is how they look like on each system: Workstation: /etc/redhat-release Red Hat Enterprise Linux Workstation release 6.2 Beta Client: /etc/redhat-release Red Hat Enterprise Linux Client release 5.9 (Tikanga) Server: /etc/redhat-release Red Hat Enterprise Linux Server release 5.9 (Tikanga)


1

Ok, so here's the way the boot process works: firmware > bootloader maybe > kernel ${parameters} > initramfs > userspace maybe On a redhat installation disk their dracut system of scripts is what builds and constitutes initramfs and their anaconda installation system constitutes the final userspace. It is udev that handles the device setup - as in, it ...


1

Strings sent to the standard output go to /dev/console (most often you can see them on your screen, but not always). To log these messages, you can use bootlogd, which, as described in its man page, "runs in the background and copies all strings sent to the /dev/console device to a logfile", and the default logfile is /var/log/boot.


1

I have to give this one to my co-worker who discovered that the permissions on /tmp were incorrect: [user@host01 ~]$ ls -ld /tmp drwxr-xr-x 7 root root 4096 Jul 28 18:44 /tmp And we know they should be set with 1777: [root@host01 ~]# ls -ld /tmp drwxrwxrwt 7 root root 4096 Jul 28 18:44 /tmp Found this out when I tried to run nroff. [user@host01 ~]$ nroff ...


1

The directories need x permission to open. You can probably do, chmod 755 bad_dir and then try your chown command. According to here, the dot at end means, According to ls.c (line 3785), . means an SELinux ACL. (+ means a general ACL.) If it is SELinux messing, use setenforce to modify its mode. Run setenforce 0 to put SELinux in permissive mode and ...


1

So I figured out what the problem was: Red Hat's mkbldevs in the init script of the initrd.img was failing to make the block devices. Without any block devices LVM was not able to mount drives. I installed BusyBox and made a custom initrd and while in the shell I noticed that mkblkdevs called by the /bin/nash script didn't make /dev/sd*. I suppose you ...


1

You may have /var/log/rpmpkgs which has a list of all the RPM packages installed. (in RHEL 6 that list is generated by the package rpm-cron) If you have the list of packages you may look at /var/log/yum.log to see what packages were uninstalled.


1

Actually, you can undo a yum command. On the computer with python removed, try running yum history: yum history Loaded plugins: langpacks, refresh-packagekit ID | Command line | Date and time | Action(s) | Altered ------------------------------------------------------------------------------- 284 | yum remove python | ...


1

You can try (as root), typing in yum install rsh It's probably not installed, since it's old and insecure, but you CAN install it and get it going. RCP/RSH is old and insecure, and designing things to work with it, rather than updating to make use of more current technology, is pointless. Maybe try showing the 'designer' this or even better, show your ...


1

The /etc/os-release file contains the ID_LIKE= field, which is for identifying the base distribution that the local OS is derived from. You can check if it contains rhel with grep: cat /etc/os-release | grep ID_LIKE= | grep rhel More documentation on this file: freedesktop.


1

CentOS - install using yum Apache 2.4 for detailed installation process Install Apache 2.4, MySQL 5.5, PHP 5.5 on CentOS/RHEL 6/5


1

The %pre section(s) of your kickstart run inside the installer environment. Here's a list of helpful commands that are available in the installer environment in RHEL6.5: Shell utils: arch awk basename bash cat chattr chgrp chmod chown chroot clear clock consoletype cp cut date df dmesg du echo egrep env expr false fgrep find getopt grep head hwclock id ...



Only top voted, non community-wiki answers of a minimum length are eligible