New answers tagged home
Since you didn't specify the distro, I will describe the method for Ubuntu (and maybe its derivatives) Try looking for folders $HOME/.Private and $HOME/.ecryptfs. Any one or both should be present. or try ls -A /home this should give an output mentioning either one or both the two folders. Source: EncryptedHome - Ubuntu Help Wiki
To remove a directory, you need write permission over its parent. Which means that as long as user can't write to /home, he won't be able to remove his own directory. $ chown root:root /home $ chmod 0755 /home $ chown user:user /home/user $ chmod 0750 /home/user With these permissions, root is the only user who can manipulate directories immediately ...
When you create a zone, home directory will be /export/home, so you can use ZFS to protect user's data.
You can use - if you can get the initial right to do so granted to you - the linux kernel's User namespaces. In a user namespace a user can be apportioned a piece of a disk and run a full-fledged container within as a super-user without otherwise affecting the parent environment. You will need a 3.8 or later kernel, some linux-savvy, and the initial setup ...
I know this doesn't answer your question but if the user was missing from /etc/passwd then someone with sudo/root access at some time deleted the user. Being that the user's home directory was also missing gives me the impression that someone ran a not only did a userdel they did a rm -rf /home/user. That implies that there was intent to delete. You can ...
Top 50 recent answers are included