WHAT’S FINGER SERVER AND HOW TO CONFIGURE FINGER SERVER IN LINUX .

In this post we will learn what is finger server and how to configure finger server in linux .

Finger server is also known as Finger user information protocol . Finger server provides user’s information like login name , mails or plan related information , fullname , last login time , login terminal , phone number , email-address etc . to client anywhere ( in or out of network ) on a remote host . FInger server daemon works on TCP port 79 . In Early days of networking providing detailed information as e-mail address and contact number was acceptable , but later it became questionable for privacy and security reasons . HAckers use this finger server and attack on company’s security system to get a list of company’s e-mail address , contact number , employee information  and so on . Now Hacker will use phone number or e-mail address , try to contact employee of company and will request company’s information while posing as another employee . I will also show you how to put security on finger server on next article .

  • First install finger package .
[root@dhcppc6 ~]# yum install finger* -y
Loaded plugins: rhnplugin, security
Repository 'a' is missing name in configuration, using id
This system is not registered with RHN.
RHN support will be disabled.
a                                                                                      | 1.3 kB     00:00
Setting up Install Process
Package finger-0.17-32.2.1.1.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package finger-server.i386 0:0.17-32.2.1.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================
 Package                        Arch                  Version                        Repository          Size
==============================================================================================================
Installing:
 finger-server                  i386                  0.17-32.2.1.1                  a                   14 k
Transaction Summary
==============================================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 14 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : finger-server                                                                          1/1
Installed:
  finger-server.i386 0:0.17-32.2.1.1
Complete!
  • Now open finger ‘s configuration  file
[root@dhcppc6 ~]# vim /etc/xinetd.d/finger
# default: on
# description: The finger server answers finger requests. Finger is \
#       a protocol that allows remote users to see information such \
#       as login name and last login time for local users.
service finger
{
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/sbin/in.fingerd
        disable         = yes 
}
~
~
~
~
~
~
~
  • Press I ( to enter insert mode )
  • Disable will be yes , make it no
# default: on
# description: The finger server answers finger requests. Finger is \
#       a protocol that allows remote users to see information such \
#       as login name and last login time for local users.
service finger
{
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/sbin/in.fingerd
        disable         = no
}
~
~
~
~
~
~
~
  • Then press ESC and type :wq ( to save and quit )
~
~
~
~
~
:wq
  • Now start the service
root@dhcppc6 ~]# service xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
  • Run below command to make this service turned on even after sytem reboots
[root@dhcppc6 ~]# chkconfig xinetd on

 

  • Check the ip address of server machine .
  • Now go to client side and type finger  
  • You will get who all is logged in and on which terminal with ip address and other information .
[root@dhcppc6 ~]# finger
Login     Name       Tty      Idle  Login Time   Office     Office Phone
root      root       pts/1          Feb 15 22:56 (192.168.56.1)
  • If you want to know information of specific user
  • type finger  username@ipaddress of server 
[root@dhcppc6 ~]# finger deepit@192.168.56.101
Login: deepit                           Name: deepit
Directory: /home/deepit                 Shell: /bin/bash
Office: deepitp5.com, 740-662-8159
Last login Thu Feb  2 10:23 (EST) on pts/4 from 192.168.1.102
No mail.
No Plan.

HOW TO INSTALL AND USE LYNIS SECURITY AUDITING TOOL IN LINUX OPERATING SYSTEM

WHAT’S ROOTKIT AND RKHUNTER IN LINUX . HOW TO RUN RKHUNTER IN LINUX

WHAT’S STELNET AND HOW TO CONFIGURE STELNET IN LINUX AS SERVER AND WINDOWS OR ANDROID AS CLIENT

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s