16 sep 2013 kl. 11:38 skrev Wiesław Kielas <wieslaw.kie...@bluemedia.pl>:

> Dear misc@,
> 
> Is there any way to get information about last commands executed on a
> OpenBSD machine? I'm interested in getting the command name along with
> arguments passed to it.
> 
> From what I gathered so far, lastcomm can't show command arguments - is
> there any way/other tool which can do that?

history 

Might do the trick? But maybe you want  a system-wide audit log / recording? 
There are (super-expensive) things like Cyber-Ark that does ssh session 
recording, maybe it could be made to work with local log-in as well. 

> 
> -- 
> regards, 
> 
> Wiesław Kielas

Reply via email to