Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Read about PAM. There, it seems, you can do a reaction to the user login and logout event.
alternatively
last -n 20 | mail -s last [email protected]
this line in cron
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question