Network

Disable IPv6 on Redhat RHEL5

This post describes how to disable IPv6 on a Redhat (RHEL5) installation. I haven’t had the time to test it on other version of Redhat. Edit /etc/sysconfig/network and change NETWORKING_IPV6=no Edit /etc/modprobe.conf and add these lines alias net-pf-10 off alias ipv6 off Stop the ipv6tables service # service ip6tables stop Disable the ipv6tables service # […]

Read More
Linux

Using sudo in RedHat

This post describes how to allow users in the wheel group to use the sudo command without being prompted for the root password Edit /etc/sudoers Uncomment the line %WHEEL ALL=(ALL) NOPASSWD: ALL Add a user to the wheel group # gpasswd -a username wheel This does also work on Fedora and other Redhat based distributions.

Read More
Linux

man command and section numbers

man – an interface to the on-line reference manuals. man is the system’s manual pager. Each page argument given to man is normally the name of a program, utility or function. The manual page associated with each of these arguments is then found and displayed. A section, if provided, will direct man to look only […]

Read More
Linux

Kernel panic reboot

By default after a kernel panic Linux just sits there and waits for a user to hit the restart button. That can be a bad thing if it’s a remote server. Checking if enabled To check if its enabled try this: # cat /proc/sys/kernel/panic 0 The returned 0 is the time the kernel will wait […]

Read More