[NTLUG:Discuss] Can Linux help me limit my kids' time on the computer?
Greg Edwards
greg at nas-inet.com
Sun Dec 24 20:11:22 CST 2006
Lance Simmons wrote:
> In any case, even if there's not an effective way to automate such
> restrictions, is there an easy way for me to keep track of total
> number of hours logged by a particular person?
Use a captured login. In the passwd file the initial shell is defined,
usually /bin/bash, but can be any executable. Change to something else
that logs the login time, calls /bin/bash, and logs the logout time on exit.
Merry Christmas to all
--
Greg Edwards
http://INeedMyInfo.com
More information about the Discuss
mailing list