autolog error message
Hello,
I am running autolog (up-to-date potato), but I get the following
errors:
---------------------------------------
From: Cron Daemon <root@cabtep4>
Subject: Cron <root@cabtep4> test -x /usr/sbin/autolog && /usr/sbin/autolog
autologout: Can't get status of user's terminal (No such file or directory)
---------------------------------------
What does this mean?
my /etc/autolog.conf is:
---------------------------------------
name=root line=tty[1-7] idle=15 grace=100 clear
line=ttyS[1-2] idle=15 grace=50 clear
line=tty[1-7] idle=20 grace=50 clear
line=pts/.* idle=90 grace=50 nomail
# line=ptyp.* idle=30 grace=50 nomail nolog
idle=20 grace=50
---------------------------------------
A second question: I would like to have autolog close idle
console logins (/dev/tty's, that works ok), idle telnets into that
machine and idle X_sessions (:0 for instance) but _not_ xterms inside :0
Both telnet sessions and xterms have /dev/pts/# as device... how could I
treat them differently?
I searched the docs and the debian mailing lists but couldn't find that.
Anyway, I would like to know if autolog is the
default/preferred/recommended way of closing idle open
sessions in debian potato?
Please CC to me as I am not subscribed to this list, thanks!
Rgds, Ariel
Reply to: