Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2007 12:49:41 +0200
From:      "George Vanev" <george.vanev@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Execute script every time a specified user logs in (FreeBSD 6.1)
Message-ID:  <6f4f57f60701170249w39a5976bu24b42bd93c150165@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Every time user X (for example) logs in the system
I want to be executed some script.
The user must not have the permission to
change this behavior.
Also the script must be run as root.
Something like crontab, but depending on logins, not time

Any ideas?!

-- 
George Vanev



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6f4f57f60701170249w39a5976bu24b42bd93c150165>