0

My system is Ubuntu Server 16.04 LTS

I choose "encrypt home folder" when installing system.

user name is "cm" for example, and I have a program located in /home/cm/Server.

I write "/home/cm/Server &" to /etc/rc.local, but when the system boot "Server" not start.

Can "/etc/rc.local" access a file in some user's encrypted home folder in boot time?

thanks a lot!

1
  • 1
    AFAIK you can't, that's what encryption aught to do! And instead of using rc.local use systemd so that after opening with key it should run... Apr 9, 2017 at 11:48

1 Answer 1

0

No. The whole idea of encrypted home directories is to have the directory be unavailable, unless the user is logged in.

1
  • thanks. I make a experiment , result shows that you are right.
    – jinger
    Apr 13, 2017 at 1:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .