Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > System > System Administration

    radutmped 0.2

    Download button

    No screenshots available
    Downloads: 348  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.5/5)
    17 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Predrag Malicevic | More programs
    GPL v3 / FREE
    August 8th, 2007, 19:58 GMT
    ROOT / System / System Administration

     Read user reviews (0)  Refer to a friend  Subscribe

    radutmped description

    radutmped is a utility that can remove utmp entries from radutmp files of several RADIUS servers.

    radutmped is a utility that can remove utmp entries from radutmp files of several RADIUS servers. The project directly manipulates the radutmp file and does not use radzap or any other programs.

    FreeRADIUS, Cistron Radius Server and GNU Radius radutmp formats are supported. Three search modes are available, radutmped can match entries in radutmp by login (User-Name), nas_port (NAS-Port) or session_id (Acct-Session-Id).

    COMPILING:

    - Edit Makefile to change CC, CFLAGS or LDFLAGS if necessary.

    - Execute 'make':
    # make

    - Only one RADIUS server can be supported in the radutmped binary, you have to
    choose which.
    By default, FreeRADIUS support will be compiled in, to change, pass along an
    environment variable RADUTMP_TYPE when issuing 'make':

    For Cistron support use RT_CISTRON as the variable value:
    # RADUTMP_TYPE=RT_CISTRON make

    For GNU Radius support use RT_GNURADIUS as the variable value:
    # RADUTMP_TYPE=RT_GNURADIUS make

    - Move the compiled binary 'radutmped' somewhere:
    # mv radutmped /usr/local/sbin

    USAGE:

    # radutmped L|P|S

    EXAMPLES:

    - Find out session details for user john (example with FreeRADIUS):
    # radwho -r -i | grep john
    john,0011AA22,PPP,S123456,Thu 08:21,192.168.1.254,192.168.10.123

    The output line contains the following data:
    User-Name: john
    Acct-Session-Id: 0011AA22
    Framed-Protocol: PPP
    NAS-Port: 123456
    NAS-IP-Address: 192.168.1.254
    Framed-IP-Address: 192.168.10.123

    Mind that the 'S' character in the nas_port field has to be left out
    when using radutmped.

    - Remove a radutmp entry for session_id 0011AA22:
    # radutmped /var/log/radius/radutmp S0011AA22

    - Remove a radutmp entr-y/-ies for nas_port 123456
    # radutmped /var/log/radius/radutmp P123456

    - Remove a radutmp entr-y/-ies for login john:
    # radutmped /var/log/radius/radutmp Ljohn

    Product's homepage

      


    TAGS:

    remove utmp entries | radutmp files | RADIUS servers | utmp | radutmp | RADIUS

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM