2 Fixed a few bugs found by Coverity.
5 Portability fixes for SunOS, recent NetBSD, OpenBSD and others.
11 New homepage at http://userinfo.sourceforge.net/.
13 utmp[x] portability fixes for FreeBSD 9.0. Thanks to Eygene Ryabinkin
16 Safer strncat(). Thanks to Eygene Ryabinkin for reporting.
18 Fixed including dead logins in utmpx login.so output.
20 No longer print the error string as the login.so hostname output even if
21 there is no hostname. Rather, print the None string.
23 Added public module function safe_strncat().
26 userinfo 2.2 released March 17, 2007
27 The compile farm at sourceforge.net is no longer available so I don't have
28 access to OS's other than FreeBSD (4.1) and Linux (2.6) for build testing.
29 If you have a machine other than the above and would like to test
30 compilation on, please let me know of build failures so we can fix them.
32 Updated my email address.
34 Changed the follow symbolic links option -l to -L.
36 The users idle time (login.so) is shown in seconds rather than minutes.
38 Added contrib/fexists.c.
41 userinfo 2.1 released July 30, 2005
42 This release includes some major fixes and code cleanups. Module writers
43 should have another look at doc/README.modules as all of the function
44 names have changed (ui_module_exec() not passwd_exec()). Details follow:
46 The command line options -x and -X behave like -O in that they take a
47 module name to load. No need to specify both.
49 Verbosity (-v) is reset for each module unless specified twice.
51 The strings UNKNOWN, NONE, ON and OFF are more hardcoded and are not
52 configurable in config.h. The ui_module_exec() function has changed to
53 drop these strings and module writers should look at the 'Output Key' from
54 'ui -h' as a guideline for static strings. It's kinda pointless but there
55 are less arguments to this function to worry about.
57 A modules help and dup warning is only shown once.
59 Fixed a memory leak in the login.so module.
61 Fixed module chaining of more than two modules.
63 Bugfix for modules which take no options.
65 Bugfix for the -d option when used with other modules.
68 userinfo 2.0 released December 05, 2004
69 It's been awhile since the last release, but hopefully worth the wait. The
70 program has been split up into modules which will need to be loaded either
71 from the command-line or from a configuration file. See doc/uirc for an
72 example configuration file and doc/README.modules for how to write your
73 own modules. Here's some details about the changes:
75 Added option -m to specify a deliminator for multi-value fields. The old
76 hardcoded character, and new default, was/is a comma.
78 Added option -O, -d and -c to load modules. Read the manual page or look
79 at doc/uirc for configuration file syntax.
81 Added option -d to load the default modules (passwd.so, mail.so, and
82 login.so). By default, no modules are loaded. This option may be used
83 anywhere in the module list.
85 Added option -x to chain the output of a loaded module to the input of the
86 next loaded module. This will only work if the next loaded module is
89 Added option -X to prevent the chained module from outputting it's info.
90 This will just pass the strings which would be outputted to the next
93 Changed the main executable options a bit:
94 Changed option -F to -l (symbolic links)
95 Changed option -j to -t (time format)
96 Changed option -d to -F (field separator)
98 The default time format has changed to "%s" (seconds since epoch). The old
99 format contained a ":" which is the default field separator. Use -t to
100 change it to whatever you want. If your running Solaris please read
103 Changed the options for the modules a bit. To see the options for the
104 modules, load the module with -O, or -c if using a configuration
105 file, or both, when using the -h help switch.
107 The login module now supports multiple logins of the same username. For
108 example, if a user is logged in more than once and the -y module option is
109 specified the output might be: tty2,tty3.
111 Added an example module and shell script to contrib/ in the archive.
113 When a user has logged in via console and the hostname option in the login
114 module is requested, either from the lastlog or from utmp, display the
115 "none" string rather than the "unknown" string.
117 Port to NetBSD. May compile on OpenBSD too, but it hasn't been tested.
119 Removed the Darwin port. It's just not worth the hassle.
121 Automake has been updated. This means DESTDIR support is included in the
124 Fixed ouput of empty password fields from getpwnam().
126 Don't try an convert passwd.so options -c and -e to a time stamp, just
127 dump the passwd structure strings. The exception is if the user is not
128 root, then the unknown string is used. Different OS's use different
129 methods when displaying these values. See getspnam(3) or getpwent(3).
131 We now use getutxent() on systems that support and utilize utmpx. Login
132 process id's are gotten from this utmpx structure rather than KVM or the
133 /proc filesystem. Much more efficient and less error-prone.
135 When requesting the mail folder size and the size is zero, display zero
136 and not the "none" string.