]> err.no Git - util-linux/commit
script: optionally compile with libutempter to update utmp
authorKarel Zak <kzak@redhat.com>
Thu, 29 Apr 2010 10:25:06 +0000 (12:25 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 29 Apr 2010 10:25:06 +0000 (12:25 +0200)
commitf0bc3fa0cf45f484ea696ef063a10b65d1a45e13
tree06ef042a01480b64de2c482251388a296f3d740f
parent6a2de3f13134dfd49eb93c7b15552de81b868c8a
script: optionally compile with libutempter to update utmp

Use --with-utempter to enable utempter support. The libutempter calls
/usr/libexec/utempter/utempter suid helper to update utmp and wtmp
files.

Old version:
$ script
Script started, file is typescript

$ who i am

$ exit
Script done, file is typescript

New version:
$ script
Script started, file is typescript

$ who i am
kzak     pts/6        2010-04-29 12:30

$ exit
Script done, file is typescript

Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=477753
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
misc-utils/Makefile.am
misc-utils/script.c