Author Archive: Vicky Karmakar

rss feed

SSL received a record that exceeded the maximum permissible length

| October 14, 2011 | 0 Comments

Getting the error while trying to access secure page from apache. This is how the Error looks like Check apache error logs This happens due to misconfiguration in virtual host for ssl. This error is due to a misconfiguration of VirtualHost with SSL. The server is trying to respond to a request on port 443 [...]

Continue Reading

Most frequently used linux commands

| June 5, 2011 | 0 Comments

SSH Login without password How to use IPTABLES? How to use iostat? How to use grep? How to check fre memory in linux? What is xinted? How to use wget? How to use wget? How to use uptime? How to use traceroute? How to use tcpdump? How to use sudo? How ti use awk command? [...]

Continue Reading

Files in linux that every sysadmin must know

| June 5, 2011 | 0 Comments

/etc/ssh /etc/skel/ /etc/profile /etc/modprobe /etc/inittab /etc/fstab /etc/exportfs /etc/bashrc /etc/X11 /etc/updatedb.conf /etc/securetty /etc/ntp /etc/grou.conf /etc/anacron /etc/syslog.conf /etc/sysctl.conf /etc/sysconfig/network /etc/security /etc/rc.d/ /etc/nssswitch /etc/ld.so /etc/passwd, /etc/Shadow, /etc/group /etc/logrorate.conf /etc/logrorate.conf /etc/hosts.allow, /etc/hosts.deny /etc/hosts /etc/crontab /etc/resolve.conf /etc/sysconfig

Continue Reading

What are /etc/ssh/ files

| May 26, 2011 | 2 Comments

/etc/ssh Once upon a time we used the to login to system and servers by passing the login credentials in plain text format. But now this is not possible due to rise in number of crackers, who are always on a look out for your passwords. SSH which stands for Secure Shell is the de-facto [...]

Continue Reading

What is /etc/skel used for

| May 26, 2011 | 1 Comment

/etc/skel Skel stands for Skeleton. It is named as such since we can prepare a outline of a user’s home directory here. That is whatever files we create in /etc/skel is automatically copied to the user’s home directory which has been created. A home directory is a directory which is created when a user is [...]

Continue Reading

What are /etc/profile file

| May 26, 2011 | 0 Comments

/etc/profile There are two kind of shells in linux. One is interactive and another one non-interactive. Interactive ones are when we login to a system. It then reads /etc/passwd, verifies our password and gives us our home directory. Non-interactive ones are which are created when we run shell scripts. When a shell is initialized for [...]

Continue Reading

What is /etc/modprobe.conf

| May 26, 2011 | 0 Comments

/etc/modprobe.conf /etc/modprobe.d Modprobe command is used to insert and delete module from the linux kernel on a fly. Insmod and rmmod commands do the same thing but the dependencies have to satisfied before we install the modules. Modprobe checks the modules.dep file to see which modules depend on what and satisfies the dependencies automatically. The [...]

Continue Reading

What is /etc/inittab

| May 26, 2011 | 0 Comments

/etc/inittab When a linux system boots we enter into a runlevel. Runlevel means a state in which some processes start by default and some process are killed if they are already on. This information that the what is the systems default runlevel and much more information is provided by inittab file. Sample truncated content of [...]

Continue Reading

What is /etc/fstab

| May 26, 2011 | 0 Comments

/etc/fstab All the storage devices in a linux system are considered as files. To access these files, we need to mount (place) them in the system’s root hierarchy. This can be done using the “mount” command but these get deleted after system reboot. To make the changes permanent that is to keep all the mounting [...]

Continue Reading

What is /etc/exports

| May 26, 2011 | 0 Comments

/etc/exports file This file is used to configure NFS. NFS stands for network file system. This is helpful when you want to use linux partition of one system on some other system. As the linux partition is mounted, you can simply copy-paste to and from it. Sample content of the file is given below. In [...]

Continue Reading