This file is indexed.

/etc/freeradius/3.0/mods-config/sql/counter/sqlite/expire_on_login.conf is in freeradius-config 3.0.12+dfsg-5+deb9u1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
query = "\
	SELECT GREATEST(strftime('%%s', NOW()) - strftime('%%s', acctstarttime), 0) AS expires \
	FROM radacct \
	WHERE username = '%{${key}}' \
	ORDER BY acctstarttime \
	LIMIT 1;"