UNIX Scripts that check every minute, who logs in and logs out?

can someone tell me how I can check every minute and report who is logging in and who is logging out?

+3
source share
2 answers

To get started, send here:

Using who -sgives you login time for users who are currently logged in. The link above uses a 5 minute threshold to filter the list, but you can change it to 1 minute.

script, , 60 while , , cron, ( script ).

, script.

, , script, .

+1

"", . / script ?

+1

Source: https://habr.com/ru/post/1775346/


All Articles