File: userlist.1

package info (click to toggle)
cfingerd 1.4.3-8
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 964 kB
  • sloc: ansic: 3,776; perl: 501; makefile: 137; sh: 73
file content (68 lines) | stat: -rw-r--r-- 2,239 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.TH USERLIST 8 "29 August 1999" "cfingerd 1.4.2" "Finger\-type Userlisting"
.SH NAME
userlist \- Userlisting of who's on your system.
.br
.SH SYNOPSIS
.B userlist
.br
.SH DESCRIPTION
This program simply gives you a listing of who is connected to your 
system.  It is used primarily in the sorted listing of
.BR cfingerd ,
which 
utilitizes the same method of display for a more uniform output between 
systems.  (It also made more sense to do it this way instead of having 
jumbled up display listings in sorted finger displays.  Besides, it made 
more sense to do this than use finger.  :)
.PP
This program functions with the same types of things in mind that 
.B cfingerd
does.  If the user has a
.I .nofinger
file, their username will 
not be displayed in the userlisting.
.PP
Example output is shown as:
.sp
 Username Real Name      Idletime TTY Remote console
 username I'm real ...   9d 23:59   0 (remote.site.com)
.PP
where it would display the user's login name, the user's real name, their 
idle time given in the format "dd hh:mm", their TTY, and their remote 
location (or where they're telnetting from).
.PP
If the username is over 8 characters, the program will not search for 
their information in the passwd file, since it may be too long.  Besides, 
it checks getpwnam, anyway.  :)
.br
.SH OPTIONS
.TP
.B "\-c"
Give standard CFINGERD (custom) output.
.TP
.B "\-n"
List only people idle less than one day.
.br
.SH ADDITIONAL
Although userlist is not required to run as suid root, it is a good idea.
The reason is it checks each users' directory for a 
.I .nofinger
file.  If indeed that user has a
.I .nofinger
file in his/her directory, that user will not be shown in the userlisting.
.PP
If you change the program to run as nobody.nobody, you are free to do so.
But you will also show the users if they are online, regardless of whether
or not they have a ".nofinger" file (as long as their directory is
NOT world-readable.)
.br
.SH CONTACTING
If you like this program, have any suggestions on how it could be 
modified, or have bug reports, please write to: khollis@bitgate.com.
.PP
Your continued Public Domain support is appreciated!  Thanks.
.br
.SH "SEE ALSO"
.BR cfingerd.conf (5),
.BR cfingerd (8),
.BR finger (1).