sudoreplay with agrument command not working?

<[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <E00C9EF99AD4AF4E92287EB3B5F81F68A6589C45@SB00112A.adb.intra.admin.ch>
Hi


Running the following sudoreplay I see that user isc-zas has used the less command. That is ok.

# sudoreplay -m 1 isc-zas/00/00/05
(..)
# less /etc/ssh/sshd_config
(..)

However, running sudoreplay with argument <command> does not show the less command.
I exspect sudoreplay to list TSIDs where the less command has been used. Am I wrong ?

# sudoreplay -l user isc-zas command /usr/bin/less
#
# sudoreplay -l user isc-zas command less
#

# sudoreplay -l user isc-zas
Jul  5 10:27:33 2018 : isc-zas : TTY=/dev/pts/0 ; CWD=/usr/shared/home/isc-zas ; USER=root ; TSID=isc-zas/00/00/02 ; COMMAND=/usr/bin/su -
Jul  5 10:56:24 2018 : isc-zas : TTY=/dev/pts/2 ; CWD=/usr/shared/home/isc-zas ; USER=root ; TSID=isc-zas/00/00/03 ; COMMAND=/usr/bin/su -
Jul  5 11:02:01 2018 : isc-zas : TTY=/dev/pts/2 ; CWD=/usr/shared/home/isc-zas ; USER=root ; TSID=isc-zas/00/00/04 ; COMMAND=/usr/bin/su -
Jul  5 11:57:32 2018 : isc-zas : TTY=/dev/pts/0 ; CWD=/usr/shared/home/isc-zas ; USER=root ; TSID=isc-zas/00/00/05 ; COMMAND=/usr/bin/su -
Jul  5 14:26:09 2018 : isc-zas : TTY=/dev/pts/5 ; CWD=/usr/shared/home/isc-zas ; USER=root ; TSID=isc-zas/00/00/06 ; COMMAND=/usr/bin/su -
Jul  5 15:07:14 2018 : isc-zas : TTY=/dev/pts/5 ; CWD=/usr/shared/home/isc-zas ; USER=root ; TSID=isc-zas/00/00/07 ; COMMAND=/usr/bin/su -
Jul  5 16:03:48 2018 : isc-zas : TTY=/dev/pts/0 ; CWD=/usr/shared/home/isc-zas ; USER=root ; TSID=isc-zas/00/00/08 ; COMMAND=/usr/bin/su -


# sudoreplay -V
sudoreplay version 1.8.20p2    (SLES 12 SP3)



Freundliche Grüsse
Stefan Schmid
Stv. Bereichsleiter Unix Plattformen

Eidgenössisches Justiz- und Polizeidepartement EJPD
Informatik Service Center ISC-EJPD
Betrieb und Support (B&S)

Fellerstrasse 15, 3003 Bern
Tel.: +41 (0)58 464 72 67
mailto:[email protected]<mailto:[email protected]>
www.isc-ejpd.admin.ch<http://www.isc-ejpd.admin.ch>



____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.