On Mon, 24 Apr 2017 21:30:28 -0500, Paul Gilmartin <paulgboul...@aim.com> wrote:

>... so I tried:
>
>548 $ sudo cat ~wombat/.ssh/rc
>/bin/id
>/bin/uname
>/bin/date
>
>... I see no evidence that the commands in ~wombat/.ssh/rc were executed.
>I can't tell exactly what happened.  Nor does the man page tell what processor
>executes the commands in ~/.ssh/.rc "before the user's shell is started."  It
>seems a contradiction to expect the user's shell to execute a script before it
>is started.

You could try adding a command that will leave evidence when it runs. For 
example, perhaps a "touch" command for a file that doesn't already exist.

-- 
Walt

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to