0

I want to run several commands as root after my eCryptfs is mounted on my login. Can I somehow set a hook for that? Can I do it with systemd?

What I want to achieve is to mount automatically on login a disk image that lays in the encrypted home directory.

nun4ak
  • 1

1 Answers1

0

An already encrypted home? Then you can use the regular "run at login" methods but using sudo, like:

Xen2050
  • 8,943