If I do (in rhel5):
useradd -m -e 2009-07-03 -c "Temp Account" tempuser
Will this account expire at the end of 2009-07-03 or at the beginning?
What if the user is still logged in? Is it kicked out?
Thanx for the great site!
UPD: You can set TMOUT variable in ~/.bash_profile:
This will logout user if he is idle for an hour.