chiark / gitweb /
@@ -1,3 +1,9 @@
[userv-utils.git] / finger / config.in
diff --git a/finger/config.in b/finger/config.in
new file mode 100644 (file)
index 0000000..db21cd3
--- /dev/null
@@ -0,0 +1,40 @@
+# This configuration file controls the userv finger daemon
+# The possible directives in it are:
+#  default-pref <logged-on-list-preference> <search-preference>
+#  hostname <hostname>
+#  prefs-file <per-user-preferences-file>
+#  services-file <extended-services-file>
+# Blank lines and #-comments are allowed.
+#
+# The per-user prefs file has a list of
+#  <username> <logged-on-list-preference> <search-preference>
+# and may NOT contain blank lines or comments.  It is supposed
+# to be edited only by the finger-pref userv service.
+#
+# The logged-on-list preference controls how, if at all, a user
+# appears in the list of logged on users.  It may be is either `-', or
+# `+' followed by a possibly-empty list of fields to show.  `-' means
+# that the user will not appear, whether they are logged on or not.
+# `+' means that they will appear.  It may be followed by one or more
+# of the following letters:
+#  i   Show the idle time
+#  m   Show whether the session is accepting messages (`mesg')
+#  t   Show why tty the session is on
+#  l   Show when the session started (ie, when the user logged on)
+#  f   Show where the user is logged on from
+#  n   Show the user's name (from the passwd file GCOS field)
+#
+# The search-preference controls how, if at all, a user's details will
+# be used and their information returned, in response to a search request.
+#  n   The user will never be returned for a search request
+#  u   Only matches against their username will count, and only their
+#      username will be displayed.
+#  y   Matching is performed against username or full name and both
+#      are displayed.
+#
+# The extended services file is usually the file `services' in
+# this directory.
+
+default-pref +m y
+services-file @etcfinger@/services
+prefs-file @varfinger@/prefs