xref: /freebsd/usr.bin/revoke/revoke.1 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
17c7cef72SEd Schouten.\" Copyright (c) 2009 Ed Schouten <ed@FreeBSD.org>
27c7cef72SEd Schouten.\" All rights reserved.
37c7cef72SEd Schouten.\"
47c7cef72SEd Schouten.\" Redistribution and use in source and binary forms, with or without
57c7cef72SEd Schouten.\" modification, are permitted provided that the following conditions
67c7cef72SEd Schouten.\" are met:
77c7cef72SEd Schouten.\" 1. Redistributions of source code must retain the above copyright
87c7cef72SEd Schouten.\"    notice, this list of conditions and the following disclaimer.
97c7cef72SEd Schouten.\" 2. Redistributions in binary form must reproduce the above copyright
107c7cef72SEd Schouten.\"    notice, this list of conditions and the following disclaimer in the
117c7cef72SEd Schouten.\"    documentation and/or other materials provided with the distribution.
127c7cef72SEd Schouten.\"
137c7cef72SEd Schouten.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
147c7cef72SEd Schouten.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
157c7cef72SEd Schouten.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
167c7cef72SEd Schouten.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
177c7cef72SEd Schouten.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
187c7cef72SEd Schouten.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
197c7cef72SEd Schouten.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
207c7cef72SEd Schouten.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
217c7cef72SEd Schouten.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
227c7cef72SEd Schouten.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
237c7cef72SEd Schouten.\" SUCH DAMAGE.
247c7cef72SEd Schouten.\"
257c7cef72SEd Schouten.Dd June 15, 2009
267c7cef72SEd Schouten.Dt REVOKE 1
277c7cef72SEd Schouten.Os
287c7cef72SEd Schouten.Sh NAME
297c7cef72SEd Schouten.Nm revoke
307c7cef72SEd Schouten.Nd "revoke a character device"
317c7cef72SEd Schouten.Sh SYNOPSIS
327c7cef72SEd Schouten.Nm
337c7cef72SEd Schouten.Ar
347c7cef72SEd Schouten.Sh DESCRIPTION
357c7cef72SEd SchoutenThe
367c7cef72SEd Schouten.Nm
377c7cef72SEd Schoutenprogram revokes the character devices using
387c7cef72SEd Schouten.Xr revoke 2 .
397c7cef72SEd SchoutenWhen used on a TTY, calls like
407c7cef72SEd Schouten.Xr read 2 ,
417c7cef72SEd Schouten.Xr write 2
427c7cef72SEd Schoutenand
437c7cef72SEd Schouten.Xr ioctl 2 ,
447c7cef72SEd Schoutenwill be aborted immediately, effectively causing login sessions to be
457c7cef72SEd Schoutenterminated.
467c7cef72SEd Schouten.Sh SEE ALSO
477c7cef72SEd Schouten.Xr revoke 2
487c7cef72SEd Schouten.Sh HISTORY
497c7cef72SEd SchoutenThe
507c7cef72SEd Schouten.Nm
517c7cef72SEd Schoutenprogram first appeared in
527c7cef72SEd Schouten.Fx 8.0 .
537c7cef72SEd Schouten.Sh AUTHORS
54*de5d5e99SBaptiste Daroussin.An \&Ed Schouten Aq Mt ed@FreeBSD.org
55