1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00

Remove stale references to utmp(5) and its corresponding filenames.

I removed utmp and its manpage, but not other manpages referring to it.
This commit is contained in:
Ed Schouten 2010-01-21 17:25:12 +00:00
parent 84bee0d7fb
commit 0806dd9238
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202756
20 changed files with 70 additions and 85 deletions

View File

@ -299,7 +299,7 @@ for more information.
.El
.Sh FILES
.Bl -tag -width /var/log/messages -compact
.It Pa /var/log/wtmp
.It Pa /var/log/utx.log
record of date resets and time changes
.It Pa /var/log/messages
record of the user setting the time
@ -406,9 +406,9 @@ fails.
.Sh SEE ALSO
.Xr locale 1 ,
.Xr gettimeofday 2 ,
.Xr getutxent 3 ,
.Xr strftime 3 ,
.Xr strptime 3 ,
.Xr utmp 5 ,
.Xr timed 8
.Rs
.%T "TSP: The Time Synchronization Protocol for UNIX 4.3BSD"

View File

@ -65,12 +65,7 @@ and terminate
sessions.
The
.Fn pam_sm_open_session
function records the session in the
.Xr utmp 5 ,
.Xr wtmp 5
and
.Xr lastlog 5
databases.
function records the session in the user accounting database.
The
.Fn pam_sm_close_session
function does nothing.
@ -90,10 +85,10 @@ Ignore I/O failures.
.Sh SEE ALSO
.Xr last 1 ,
.Xr w 1 ,
.Xr getutxent 3 ,
.Xr login 3 ,
.Xr logout 3 ,
.Xr pam.conf 5 ,
.Xr utmp 5 ,
.Xr lastlogin 8 ,
.Xr pam 8
.Sh AUTHORS

View File

@ -91,7 +91,7 @@ If
omitted, standard mailbox assumed.
.Sh FILES
.Bl -tag -width ".Pa /var/mail/user" -compact
.It Pa /var/run/utmp
.It Pa /var/run/utx.active
to find out who is logged on and on what terminals
.It Pa /var/mail/user
standard mailbox

View File

@ -219,8 +219,7 @@ This option may be overridden by
A synonym for
.Fl d .
.It Fl W
Do not log FTP sessions to
.Pa /var/log/wtmp .
Do not log FTP sessions to the user accounting database.
.El
.Pp
The file

View File

@ -148,12 +148,9 @@ dies, either because the user logged out
or an abnormal termination occurred (a signal),
the
.Nm
utility wakes up, deletes the user
from the
.Xr utmp 5
file of current users and records the logout in the
.Xr wtmp 5
file.
utility wakes up and records the logout in the the user accounting
database (see
.Xr getutxent 3 ).
The cycle is
then restarted by
.Nm
@ -207,13 +204,6 @@ If a line is commented out or deleted from
.Xr ttys 5 ,
.Nm
will not do anything at all to that line.
However, it will complain that the relationship between lines
in the
.Xr ttys 5
file and records in the
.Xr utmp 5
file is out of sync,
so this practice is not recommended.
.Pp
The
.Nm
@ -316,9 +306,9 @@ system console device
.It Pa /dev/tty*
terminal ports found in
.Xr ttys 5
.It Pa /var/run/utmp
.It Pa /var/run/utx.active
record of current users on the system
.It Pa /var/log/wtmp
.It Pa /var/log/utx.log
record of all logins and logouts
.It Pa /etc/ttys
the terminal initialization information file

View File

@ -61,9 +61,8 @@ a
(and subsequently a
.Dv SIGKILL )
and, respectively, halt or restart the system.
The action is logged, including entering a shutdown record into the
.Xr wtmp 5
file.
The action is logged, including entering a shutdown record into the user
accounting database.
.Pp
The options are as follows:
.Bl -tag -width indent

View File

@ -97,7 +97,7 @@ does not exist in the passwd file.
.It Sy EX_OSFILE Pq 72
Some system file (e.g.,
.Pa /etc/passwd ,
.Pa /var/run/utmp ,
.Pa /var/run/utx.active ,
etc.) does not exist, cannot be opened, or has some sort of error
(e.g., syntax error).
.It Sy EX_CANTCREAT Pq 73

View File

@ -735,10 +735,14 @@ kerberos server databases; see
miscellaneous system log files
.Pp
.Bl -tag -width Fl -compact
.It Pa wtmp
.It Pa utx.lastlogin
last login log;
see
.Xr getutxent 3
.It Pa utx.log
login/logout log;
see
.Xr wtmp 5
.Xr getutxent 3
.El
.Pp
.It Pa mail/
@ -769,10 +773,10 @@ writable by the
.Dq network
group for command connection sockets; see
.Xr ppp 8
.It Pa utmp
.It Pa utx.active
database of current users;
see
.Xr utmp 5
.Xr getutxent 5
.El
.Pp
.It Pa rwho/

View File

@ -25,5 +25,5 @@
(/mnt)?/cdrom(/.*)? lomac/high
(/usr)?/home/(ftp|samba)(/.*)? lomac/high
/var/log/sendmail\.st lomac/low
/var/run/utmp lomac/equal
/var/log/(lastlog|wtmp) lomac/equal
/var/run/utx.active lomac/equal
/var/log/utx.(lastlogin|log) lomac/equal

View File

@ -313,7 +313,7 @@ letter pair is not specified, the value defaults to 0.
directory containing job files
.It Pa _ATSPOOL_DIR
directory containing output spool files
.It Pa /var/run/utmp
.It Pa /var/run/utx.active
login records
.It Pa _PERM_PATH/at.allow
allow permission control
@ -338,7 +338,7 @@ with minor enhancements by
.An Joe Halpin Aq joe.halpin@attbi.com .
.Sh BUGS
If the file
.Pa /var/run/utmp
.Pa /var/run/utx.active
is not available or corrupted, or if the user is not logged on at the
time
.Nm

View File

@ -100,8 +100,7 @@ of the remote host when used in conjunction with the
.Fl h
option.
.It Fl k
Disable all use of
.Xr utmp 5 .
Disable all use of the user accounting database.
.It Fl l
Produce a multi-line format displaying all of the information
described for the
@ -221,10 +220,10 @@ This variable may be set with favored options to
.Nm .
.El
.Sh FILES
.Bl -tag -width /var/log/lastlog -compact
.Bl -tag -width /var/log/utx.lastlogin -compact
.It Pa /etc/finger.conf
alias definition data base
.It Pa /var/log/lastlog
.It Pa /var/log/utx.lastlogin
last login data base
.El
.Sh SEE ALSO

View File

@ -83,7 +83,7 @@ be reported.
This may be used with the
.Fl f
option to derive the results from stored
.Pa wtmp
.Pa utx.log
files.
When this argument is provided, all other options except for
.Fl f
@ -141,7 +141,7 @@ letter pair is not specified, the value defaults to 0.
Read the file
.Ar file
instead of the default,
.Pa /var/log/wtmp .
.Pa /var/log/utx.log .
.It Fl h Ar host
.Ar Host
names may be names or internet numbers.
@ -196,13 +196,13 @@ If interrupted with a quit signal
indicates how
far the search has progressed and then continues.
.Sh FILES
.Bl -tag -width /var/log/wtmp -compact
.It Pa /var/log/wtmp
.Bl -tag -width /var/log/utx.log -compact
.It Pa /var/log/utx.log
login data base
.El
.Sh SEE ALSO
.Xr lastcomm 1 ,
.Xr utmp 5 ,
.Xr getutxent 3 ,
.Xr ac 8
.Sh HISTORY
A
@ -212,7 +212,7 @@ utility appeared in
.Sh BUGS
If a login shell should terminate abnormally for some reason, it is likely
that a logout record will not be written to the
.Pa wtmp
.Pa utx.log
file.
In this case,
.Nm

View File

@ -69,7 +69,7 @@ Displays mounted volumes on a given
.Sh IMPLEMENTATION NOTES
This utility is provided mostly for educational purposes.
.Sh FILES
.Bl -tag -width /var/log/wtmp -compact
.Bl -tag -width /var/log/utx.log -compact
.It Pa ~/.nwfsrc
keeps description for each connection.
See

View File

@ -116,10 +116,10 @@ Permission to talk may be denied or granted by use of the
command.
At the outset talking is allowed.
.Sh FILES
.Bl -tag -width /var/run/utmp -compact
.Bl -tag -width /var/run/utx.active -compact
.It Pa /etc/hosts
to find the recipient's machine
.It Pa /var/run/utmp
.It Pa /var/run/utx.active
to find the recipient's tty
.El
.Sh SEE ALSO

View File

@ -46,14 +46,14 @@ The
utility lists the login names of the users currently on the system,
in sorted order, space separated, on a single line.
.Sh FILES
.Bl -tag -width /var/run/utmp
.It Pa /var/run/utmp
.Bl -tag -width /var/run/utx.active
.It Pa /var/run/utx.active
.El
.Sh SEE ALSO
.Xr finger 1 ,
.Xr last 1 ,
.Xr who 1 ,
.Xr utmp 5
.Xr getutxent 3
.Sh HISTORY
The
.Nm

View File

@ -87,8 +87,8 @@ If one or more
.Ar user
names are specified, the output is restricted to those users.
.Sh FILES
.Bl -tag -width ".Pa /var/run/utmp" -compact
.It Pa /var/run/utmp
.Bl -tag -width ".Pa /var/run/utx.active" -compact
.It Pa /var/run/utx.active
list of users on the system
.El
.Sh COMPATIBILITY

View File

@ -90,36 +90,36 @@ Equivalent to
By default,
.Nm
gathers information from the file
.Pa /var/run/utmp .
.Pa /var/run/utx.active .
An alternate
.Ar file
may be specified which is usually
.Pa /var/log/wtmp
.Pa /var/log/utx.log
(or
.Pa /var/log/wtmp.[0-6]
.Pa /var/log/utx.log.[0-6]
depending on site policy as
.Pa wtmp
.Pa utx.log
can grow quite large and daily versions may or may not
be kept around after compression by
.Xr ac 8 ) .
The
.Pa wtmp
.Pa utx.log
file contains a record of every login, logout,
crash, shutdown and date change
since
.Pa wtmp
.Pa utx.log
was last truncated or
created.
.Pp
If
.Pa /var/log/wtmp
.Pa /var/log/utx.log
is being used as the file, the user name may be empty
or one of the special characters '|', '}' and '~'.
Logouts produce
an output line without any user name.
For more information on the
special characters, see
.Xr utmp 5 .
.Xr getutxent 3 .
.Sh ENVIRONMENT
The
.Ev COLUMNS , LANG , LC_ALL
@ -130,10 +130,10 @@ environment variables affect the execution of
as described in
.Xr environ 7 .
.Sh FILES
.Bl -tag -width /var/log/wtmp.[0-6] -compact
.It Pa /var/run/utmp
.It Pa /var/log/wtmp
.It Pa /var/log/wtmp.[0-6]
.Bl -tag -width /var/log/utx.log.[0-6] -compact
.It Pa /var/run/utx.active
.It Pa /var/log/utx.log
.It Pa /var/log/utx.log.[0-6]
.El
.Sh EXIT STATUS
.Ex -std
@ -141,7 +141,7 @@ as described in
.Xr last 1 ,
.Xr users 1 ,
.Xr w 1 ,
.Xr utmp 5
.Xr getutxent 3
.Sh STANDARDS
The
.Nm

View File

@ -45,7 +45,7 @@
.Op Ar users ...
.Sh DESCRIPTION
If the file
.Pa /var/log/wtmp
.Pa /var/log/utx.log
exists, a record of individual login and logout
times are written to it by
.Xr login 1
@ -86,7 +86,7 @@ flags may be specified.
Read connect time data from
.Ar wtmp
instead of the default file,
.Pa /var/log/wtmp .
.Pa /var/log/utx.log .
.It Ar users ...
Display totals for the given individuals only.
.El
@ -95,20 +95,20 @@ If no arguments are given,
.Nm
displays the total connect time for all
accounts with login sessions recorded in
.Pa wtmp .
.Pa utx.log .
.Pp
The default
.Pa wtmp
.Pa utx.log
file will increase without bound unless it is truncated.
It is normally truncated by the daily scripts run
by
.Xr cron 8 ,
which rename and rotate the
.Pa wtmp
.Pa utx.log
files, keeping a week's worth of data on
hand.
No login or connect time accounting is performed if
.Pa /var/log/wtmp
.Pa /var/log/utx.log
does not exist.
.Pp
For example,
@ -122,15 +122,15 @@ allows times recorded in
to be charged out at a different rate than
.Pa other .
.Sh FILES
.Bl -tag -width /var/log/wtmp -compact
.It Pa /var/log/wtmp
.Bl -tag -width /var/log/utx.log -compact
.It Pa /var/log/utx.log
connect time accounting file
.El
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr login 1 ,
.Xr utmp 5 ,
.Xr getutxent 3 ,
.Xr init 8 ,
.Xr sa 8
.\" .Sh NOTES

View File

@ -64,13 +64,13 @@ utility differs from
in that it only prints information regarding the very last login session.
The last login database is never turned over or deleted in standard usage.
.Sh FILES
.Bl -tag -width /var/log/lastlog -compact
.It Pa /var/log/lastlog
.Bl -tag -width /var/log/utx.lastlogin -compact
.It Pa /var/log/utx.lastlogin
last login database
.El
.Sh SEE ALSO
.Xr last 1 ,
.Xr lastlog 5 ,
.Xr getutxent 3 ,
.Xr ac 8
.Sh AUTHORS
.An John M. Vinopal

View File

@ -188,9 +188,8 @@ system call, with any trailing domain name omitted.
The array at the end of the message contains information about
the users logged in to the sending machine.
This information
includes the contents of the
.Xr utmp 5
entry for each non-idle terminal line and a value indicating the
includes the contents of the entry from the user accounting database
for each non-idle terminal line and a value indicating the
time in seconds since a character was last received on the terminal line.
.Pp
Messages received by the