Tag Info

New answers tagged

0

A good starting point is the mount.ecryptfs_private(1) man page and the ecryptfs-mount-private(1) interactive command. Beware, I have never used this; on my ubuntu 14.04 I opted for encrypted home dirs and I now have a per-user directory /home/.ecryptfs/user/.ecryptfs/ with encryption info in several files, and /home/.ecryptfs/user/.Private/ with the ...


1

Home partition is not required for system to be operational. However, many programs store configuration files in home directory. This might be the problem you are encountering. In this case, the simplest solution would be to use backup(which each user should have). If you don't have backup for some reason, you can resort to reconstructing crucial files(it ...


0

I've got vsftpd running and it works fine for FTP, and when I log on as the user via SSH it defaults to their home directory but they can then just "cd /" and go where they want. Yes. SSH is shortcut of Secure Shell. After authentication you have the same access as if you were sitting next to the computer and were typing into the terminal. I realize ...


0

This depends on what autofs is mounting. Is it NFS? What security model? If it's AUTH_SYS (IP-based) security, this should work. But if it's krb5, then the SSH server on the host doesn't have a kerberos ticket to mount the directory with.


0

You could change AuthorizedKeysFile to something outside the home directory, for example /etc/ssh/keys/%u/authorized_keys. Then the keys would be available before /home/%u is mounted. From the man page of sshd_config: AuthorizedKeysFile Specifies the file that contains the public keys that can be used for user authentication. The format ...


0

After trying a lot of things, I found the solution: If I want to mount /home/user on a USB drive and keep all the files there after ejecting it, I have to first mount the USB drive like: mount -o uid=user /dev/sdb1 /hometemp Then, I have to mount the directory /hometemp on home/user like this: mount --bind /hometemp /home/user It works for me



Top 50 recent answers are included