[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.1.1 radwho Command Line Options

The following command line options can be used to modify the behavior of the program:

-A
--all

Display the information about logged-out users as well. The logged-out users are shown with ‘Proto’ field set to HUP.

-c
--calling-id

Display the calling station ID in the second column. Equivalent to ‘--format clid’.

-d NAME
--directory NAME

Set the Radius configuration directory name.

-D fmt
--date-format fmt

Set the date representation. Th fmt is usual strftime(3) format string. It defaults to %a %H:%M, i.e. the abbreviated weekday name according to the current locale, and the hour and the minutes as two-digit decimal numbers.

-e STRING
--empty STRING

Display any empty field as STRING. This is useful when the output of radwho is fed to some analyzing program, as it helps to keep the same number of columns on each line of output.

-F
--finger

Start in fingerd mode. In this mode radwho emulates the behavior of the fingerd(8) utility. Use this option if starting radwho from the ‘/etc/inetd.conf’ line like this (5):

 
finger stream tcp nowait nobody /usr/sbin/radwho
radwho -fL

This mode is also enabled by default if radwho notices that its name (argv[0]) is ‘fingerd’ or ‘in.fingerd’.

-H
--no-header

Don't display header line.

-i
--session-id

Display session ID instead of GECOS in the second column. Equivalent to ‘--format sid’.

-I
--ip-strip-domain

Display hostnames without domain part.

-u
--local-also

Display information about local users from the system ‘utmp’ file. May prove useful when running radwho as a finger daemon.

-n
--no-resolve

Do not resolve IP.

-o format
--format format

Select customized output format. This can also be changed by setting the value of environment variable RADWHO_FORMAT. The format is either a symbolic name of one of the predefined formats or a format specification (see next subsection).

-s
--secure

Run in secure mode. Queries without a user name are rejected.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Sergey Poznyakoff on December, 6 2008 using texi2html 1.78.