ssh by user amandabackup [SOLVED]

Gordon Messmer yinyang at eburg.com
Tue Jan 4 09:08:17 UTC 2011


On 01/02/2011 06:45 AM, Matthew Saltzman wrote:
> Aha! In /var/log/messages, on the other hand, this happens:
>
>          Jan  2 09:40:36 yankee setroubleshoot: SELinux is preventing /usr/sbin/sshd from search access on the directory /var/lib/amanda. For complete SELinux messages. run sealert -l d477003b-6568-4441-95d8-60bda5a6c0e5
>          Jan  2 09:40:36 yankee setroubleshoot: SELinux is preventing /usr/sbin/sshd from search access on the directory /var/lib/amanda. For complete SELinux messages. run sealert -l d477003b-6568-4441-95d8-60bda5a6c0e5
...
> So I will file the bug.

I believe you'll need to fix that like so:

# semanage fcontext -a -t user_home_dir_t /var/lib/amanda
# semanage fcontext -a -t user_home_t "/var/lib/amanda/.*"
# restorecon -r /var/lib/amanda


More information about the users mailing list