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
Network

Secure browsing with Firefox and SOCKS v5

This post describes how you can setup secure web browsing using Firefox3 and by setting up a SSH tunnel from your PC/host to a remote PC/host. Your PC will then act as a local SOCKS proxy and all applications that supports SOCKS5 interface to this port. This is a handy solution if you are on…

Read More