Scripts :
User_log.sh :
This script takes two parameters:
-p : read passwd file
-n : read from NIS
The script will find all users on local system. Then it will use the commands last and finger to check when they logged in. It will also check what kind of shell the users use. Armed with this knowledge it will check when the $HOME/.
Please note that i am not a programmer and that the program may not be as good or pretty as could be.
So please do not bother to complain , unless your critisim is constructive.(That is, do it better yourself)
This code worked for me, it may not work as intended for you. I will not and can not warrant this script. It may cause harm. It may wreak havoc. You, that download this script or use it, must test it beforehand, possibly fix it.
It is a work in progress. If you make changes that make it safer or better and want to share your doings with me - i would be happy to hear from you. Please note that my time is limited. I might not be able to respond as fast as you hope.
I have read, understood and accepted