Operating System - HP-UX
1832964 Members
2511 Online
110048 Solutions
New Discussion

Re: ssh with trust system auditing

 
hailerer
Advisor

ssh with trust system auditing

we are using HP-UX Secure Shell(A.03.61.002) on HPUX 11i OS,we have are having problems
that auditing did not record any system call
when user logined via ssh.
So does anyone have experience to use ssh with trusted system auditing?
5 REPLIES 5
Joseph Loo
Honored Contributor

Re: ssh with trust system auditing

I am using this version of ssh but do not experience your problem.

Please check whether audit is turn on for any user:
# audusr

or you could use SAM-> Auditing and Security.
what you do not see does not mean you should not believe
hailerer
Advisor

Re: ssh with trust system auditing

the auditing can record log rightly when I rm a file via telnet,but record nothing when I did same thing via ssh,I use the same userã
hailerer
Advisor

Re: ssh with trust system auditing

when I set UseLogin=yes in sshd_config and restart sshd,the problem seems to be resolved.
Andrew Cowan
Honored Contributor

Re: ssh with trust system auditing

This behaviour is correct. SSHD spawns its own child processes and handles login directly, thus you don't get any auditing information. This happenned to me on AIX 5.1, whereby those connecting via SSH did not show up in who or last. The problem was fixed by recompling the code against the latest libraries.

When you say use_login, it does just that, and the normall auditing functions come into force.

Joseph Loo
Honored Contributor

Re: ssh with trust system auditing

I simulated this auditing problem with both ssh and telnet session and indeed gather the same result as you.

Support has informed me that this would be fix in future release, but if setting UseLogin to "yes" works, you may want to continue doing so but watch out for the next release.
what you do not see does not mean you should not believe