Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th December 2008, 08:49 PM
AdamK Offline
Registered User
 
Join Date: Dec 2008
Posts: 13
User Homes Disappearing

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

Last edited by AdamK; 5th December 2008 at 08:55 PM.
Reply With Quote
  #2  
Old 5th December 2008, 10:20 PM
sidebrnz's Avatar
sidebrnz Online
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,104
Change the root password. If there's anybody other than you who needs it, let them know by email that it's been changed but not the new one. Tell them that you'll only give it to them in person. I don't know if somebody's been playing games with root, but if so, this is the best way to correct it.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #3  
Old 5th December 2008, 11:10 PM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
if it is not someone " having fun" with a stolen root pass then how about the system backup
dose the # of users $HOME equal the # of students in the sys.
does the backup match the working system?
What AV is installed ,it might be deleting folders like they do in Windows.
have you been keeping track of the userid's of the missing $HOME 's maybe there is a pattern ?
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #4  
Old 5th December 2008, 11:45 PM
AdamK Offline
Registered User
 
Join Date: Dec 2008
Posts: 13
There are only a couple of us that have the root password and knowning the kids at the school I am at, if they knew the root password they would do more than delete a couple random users per day, eitherway I will change it and see what happens.

I will have a look at the userid's on monday, saying that though, 90% of the users that have had these problems are of the same year group, so would of been put on the system at the same time. I will also take a closer look at the backup as I never set that up, but I cant see that being the cause as its only a few accounts being affected, I would expect alot more problems if that was the cause.

Thanx for the help so far.

AdamK
Reply With Quote
  #5  
Old 6th December 2008, 03:41 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
my thinking on the u-id was " maybe " the system db has a bug and loosing uid's 1024,1025,1026 , or just 512,1024 ,2048 -- see the pattern.

but that is a zebra and most likely we are looking for a horse and not a zebra .
and with the back up .Is it possible that there in not enough room on that partition of the disk or the tape drive is to small? or the "dd" command is incorrect?
--------------- edit------------
scratch the above
you said that 905 are from the same group( that is year) and were put in at the same time .
So those students should be on the same drive on the server , or the same partition on that drive .
have you checked for bad sectors ?
It is possible the drive is going bad .
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10

Last edited by JohnVV; 6th December 2008 at 03:54 AM.
Reply With Quote
  #6  
Old 6th December 2008, 09:11 AM
AdamK Offline
Registered User
 
Join Date: Dec 2008
Posts: 13
Yea the majority of the users that it is happening to is of the same year group.

Every single user is on the same drive and partition and there is still about 50GB left of space.

I havent checked the drive for bad sectors. Will add that to the list of things to check on Monday

AdamK
Reply With Quote
Reply

Tags
disappearing, homes, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SMB homes share security problem dazaau Servers & Networking 9 14th September 2007 01:09 PM
Mail and Homes backup arthurhanlon Servers & Networking 6 13th February 2006 08:36 PM


Current GMT-time: 22:43 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat