On Fri, 14 Apr 2017 12:07:03 -0400
Jean-Louis Martineau <[email protected]> wrote:

> According to 
> https://unix.stackexchange.com/questions/184031/can-a-command-be-executed-over-ssh-with-a-nologin-user,
> the nologin shell should not be a problem.
> But you can set it to valid shell if you want to connect to the client
> 
> Try to ssh the client from the server to accept the server keys 
> (known_hosts),a valid might be required here, I'm not sure.

My experience has been, yes, you must ssh into the machine manually the
first time you make a connection. Amanda will choke if you don't. So
you have to give the user a suitable shell such as bash.

I have not experimented with setting the shell back to nologin
afterwards.

> Then run amcheck.



-- 

The right of the people to be secure in their persons, houses, papers,
and effects, against unreasonable searches and seizures, shall not be
violated, and no Warrants shall issue, but upon probable cause,
supported by Oath or affirmation, and particularly describing the
place to be searched, and the persons or things to be seized.
-- U.S. Const. Amendment IV

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Reply via email to