configure /etc/pam.d/crond to use pam_mount

Thorsten Kukuk kukuk at suse.de
Sun Oct 9 05:03:21 UTC 2016


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 decrypted
> how can I make cron see the disk? I'm not interested in having cron running
> 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örffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)




More information about the Pam-list mailing list