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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09.10.16 08:02, Simone Gaiarin wrote:
Short version: Cron jobs cannot access the content of the encrypted disk
even when I'm logged in. I can access the content of the disk from bash or
graphical file explorer.

Longer version:
I've first seen problem because I'm using backintime to perform automatic
backup of my disk. When I run the backup manually everything is fine, while
when the backup is performed automatically with cron the resulting backup
is always empty.

Adding the follwing command to crontab (using crontab -e), in order to list
the content of the drive (/media/dataHD), show me that the ls of the drive
doesn't produce any result.

*/1 * * * * ls -la /media /media/dataHD /media/dataHD/work > /tmp/filelist

could you show us the results when run from cron and manually?

--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Saving Private Ryan...
Private Ryan exists. Overwrite? (Y/N)

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list



[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux