Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
UTXRM(8)		  BSD System Manager's Manual		      UTXRM(8)

NAME
     utxrm -- remove sessions from the user accounting database

SYNOPSIS
     utxrm identifier ...

DESCRIPTION
     The utxrm utility can be used to remove stale sessions from the user ac-
     counting database,	by referring to	their identifier.  Stale sessions can
     occur if a	login service exits prematurely	or fails to remove the session
     from the accounting database.

     Utilities such as w(1) will not display the identifier corresponding with
     a login session, since its	value is typically only	of use by the process
     managing the record.  The following command can be	used to	obtain all
     records from the user accounting database's active	session	table, includ-
     ing its identifiers:

	   getent utmpx	active

     Identifiers can either be supplied	in hexadecimal form as displayed by
     getent(1),	or as a	string if the identifier allows	such a representation.

     Because this utility requires write-access	to the user accounting data-
     base, its use is limited to the super-user.

SEE ALSO
     getent(1),	w(1), pututxline(3)

HISTORY
     The utxrm utility appeared	in FreeBSD 9.0.

AUTHORS
     Ed	Schouten <ed@FreeBSD.org>

BSD			       February	19, 2011			   BSD

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | HISTORY | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=utxrm&sektion=8&manpath=FreeBSD+9.1-RELEASE>

home | help