LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-17-2014, 10:18 AM   #1
the_penguinator
Member
 
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233

Rep: Reputation: 25
user somehow deleted /home/user and /home/user2


this is bizarre...one of my students somehow managed to delete all user directories in /home on her slack14 laptop

/home still exists but all of her files and mine are gone...

I can still ssh into the machine
She doesn't have root access to the machine
She said she was doing ctrl-alt-del to lock her machine and her finger slipped and she did ctrl-alt-del-ins. She then reported the desktop dropped to a shell and she crashed the machine with the power button. On reboot, /home/user and /home/user2 were gone...

Never _ever_ seen this before
Speculations?
 
Old 06-17-2014, 10:35 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If the user switched of the machine "hard" using the power-button I would suspect this to be a filesystem problem, not some kind of the user deleting files she doesn't have access to.
Assuming that you have made a backup already, have you tried to fsck the filesystem /home is on?
 
1 members found this post helpful.
Old 06-17-2014, 10:46 AM   #3
the_penguinator
Member
 
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by TobiSGD View Post
If the user switched of the machine "hard" using the power-button I would suspect this to be a filesystem problem, not some kind of the user deleting files she doesn't have access to.
Assuming that you have made a backup already, have you tried to fsck the filesystem /home is on?
yeah everything was backed up to the webserver, but this was bizarre and fsck did fix a number of errors on the filesystem
vielen dank!
 
Old 06-17-2014, 08:17 PM   #4
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Mounted Filesystem

Was /home a mounted filesystem separate from / (root)?

Perhaps the filesystem simply wasn't mounted so all you see is just the /home mount point.

If you didn't build the system you may check /etc/fstab to see if /home had normally been a separately mounted filesystem.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] why chown user:group wildcard in path /home/user/.*/* will modify all /home owner cociugcristina Linux - Server 11 05-07-2013 04:16 AM
User does int getting home directory in root home in ubuntu 10.04 lucid lynx sunrised24 Linux - Server 2 03-07-2012 09:21 AM
Deleted User Lost Home Folder need recoverd Ubuntu wizard210 Linux - Desktop 3 02-06-2011 03:43 PM
Deleting home directory of deleted user Nemesissparadise Linux - Newbie 3 04-16-2009 11:06 AM
Deleted user's home folder f0r3nzIc Linux - General 5 07-18-2008 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration