Hi,
I work at a school and we are having a problem where users home directories are randomly disappearing. Here is some background information on what is happening:
Our system is K12 LTSP 4.2 with Fedora 6 and we have roughly 900 users. A few months back our NIS/NFS server died so we setup our backup server to take over. About a month after a few users directories would just disappear. Luckily we have a backup NAS which I use to restore the deleted directories so at the most they lose a days work!
Originally I assumed it was kids being kids and they were deleting each others homes. I assumed that their method to do this would be to find out someone’s password, log on and go to the main home directory, right click that users home folder and change the permissions to 777. Allowing them to access it from any user account and do what ever they wished.
So I wrote a script to check users permissions a couple times a day and I would then change permissions to 700 when needed. However, this didn’t solve the problem, users homes were still disappearing. Then to confuse me even more, I restored a users home directory on a Friday evening and then decided to check it again on Monday morning and it had gone again, no one had been in over the weekend and I'm in before any of the kids get to school.
So now every time I get another deleted home I recreate that kid a new account and then send all their work to the new account and that has seemed to solve the problem for that particular account.
On average I am getting about 4 students a day coming in with this problem and I honestly don’t know where to being to resolve this problem, especially as I have only being using Linux properly for the past 7 months.
I would greatly appreciate it if I could get some help with this. Is there a way I could check to see if a student was doing this? Are there any other reasons why this could be happening?
Thank your in advance and sorry for the essay.
Adamk