This file is indexed.

/etc/freeradius/3.0/mods-config/sql/counter/postgresql/expire_on_login.conf is in freeradius-config 3.0.16+dfsg-1ubuntu3.

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 EXTRACT(EPOCH FROM (NOW() - acctstarttime)) \
	FROM radacct \
	WHERE UserName='%{${key}}' \
	ORDER BY acctstarttime \
	LIMIT 1;"