Re: configure /etc/pam.d/crond to use pam_mount
Thorsten Kukuk <[email protected]> Sun, 9 Oct 2016 07:03:21 +0200
| Newsgroups | gmane.linux.pam |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Oct 08, Simone Gaiarin wrote: > pam_mount decrypt the disk using the password the user input in the login > screen of the OS. Now in the moment I'm logged in and the disk is decrypt= ed > how can I make cron see the disk? I'm not interested in having cron runni= ng > jobs when I'm not logged in (and so the disk is encrypted). At the moment, where your user is logged in, everybody can see = the disk, even cron. No pam_mount is needed there for cron. Maybe you should explain at first what your problem exactly is and not start with a solution first? Thorsten -- = Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imend=F6rffer, Jane Smithard, Graham Norton, HRB 21284 (AG N=FCrn= berg)