- show system audit
- <root-only>
- show system audit
- <all-lcc | lcc number | scc>
- <root-only>
Command introduced before JUNOS Release 7.4.
Display the state and checksum values for file systems.
none — Display the state and checksum values for all file systems.
all-lcc — (Routing matrix only) (Optional) Display file system MD5 hash and permissions information for all T640 routing nodes (or line-card chassis) connected to a TX Matrix platform.
lcc number — (Routing matrix only) (Optional) Display file system MD5 hash and permissions information for a specific T640 routing node (or line-card chassis) that is connected to a TX Matrix platform. Replace number with a value from 0 through 3.
scc — (Routing matrix only) (Optional) Display file system MD5 hash and permissions information for the TX Matrix platform (or switch-card chassis).
root-only — (Optional) Check only the root (/) file system.
To redirect the output to a file, issue the following command:
-
ssh router-name 'show system audit root-only' > output-file
If you save the output of the show system audit root-only command to a file, you can compare it to subsequent output from the command to determine whether anything has changed.
By default, when you issue the show system audit command on a TX Matrix master Routing Engine, the command is broadcast to all the T640 master Routing Engines connected to it. If you issue the command on the TX Matrix backup Routing Engine, the command is broadcast to all the T640 backup Routing Engines that are connected to it.
admin
Output field descriptions to be provided.
user@host> show system audit root-only
# user: root
# machine: my-host
# tree: /
date: Fri Feb 11 21:21:46 2000
# .
/set type=file uid=0 gid=0 mode=0755 nlink=1
. type=dir nlink=23 size=1024 time=950252640.0
.cshrc uid=3 gid=7 mode=0644 size=177 time=939182975.0 \
md5digest=f414e06fea6bd646244b98e13d6e6226
.kernel.jkernel.backup \
mode=0744 size=1934552 time=944688902.0 \
md5digest=2c343cf0bd9fea8f04f78604feed7aa4
.profile uid=3 gid=7 mode=0644 nlink=2 size=173 time=939182975.0 \
md5digest=55a1e3c6c67789c9d3a1cce1ea39f670
COPYRIGHT uid=3 gid=7 mode=0444 size=3425 time=939182975.0 \
md5digest=7df8bc77dcee71382ea73eb0ec6a9243
boot.config mode=0644 size=3 time=945902618.0 \
md5digest=93d722493ed38477338a1405d7dcbb40
boot.help uid=3 gid=7 mode=0444 size=411 time=939182876.0 \
md5digest=9b7126385734bcae753f4179ab59d8e5
compat type=link mode=0777 size=11 time=915149058.0 \
link=/usr/compat
kernel mode=0444 size=1947607 time=950230892.0 \
md5digest=1a2a8aff2fec678a918ba0d6bf063980
kernel.avr uid=1112 size=1947642 time=950252597.0 \
md5digest=82e1637682d58ec28964dfee7fccb62e
kernel.config \
mode=0644 size=0 time=915149058.0 \
md5digest=d41d8cd98f00b204e9800998ecf8427e
sys type=link mode=0777 size=11 time=915149029.0 \
link=usr/src/sys
user@host> show system audit lcc 2
lcc2-re0:
--------------------------------------------------------------------------
# user: root
# machine: rodin-lcc2
# tree: /
# date: Mon Sep 13 11:55:33 2004
# .
/set type=file uid=0 gid=0 mode=0555 nlink=1 flags=none
. type=dir nlink=20 size=512 time=1094982121.0
COPYRIGHT mode=0644 size=4735 time=986012708.0 \
md5digest=78396df1404ad742e6eb1be28f0cd63b
kernel type=link mode=0700 size=17 time=1090266262.0 \
link=/packages/jkernel
# ./altconfig
altconfig type=dir nlink=2 size=512 time=1089801320.0
# ./altconfig
..
# ./altroot
altroot type=dir nlink=2 size=512 time=1089801320.0
# ./altroot
..
# ./b
b type=dir mode=0755 nlink=2 size=512 time=1093961429.0
# ./b
..
# ./bin
/set type=file uid=0 gid=0 mode=0700 nlink=1 flags=none
bin type=dir mode=0755 nlink=2 size=512 time=1089843059.0
[ type=link size=28 time=1090266270.0 \
link=/packages/mnt/jbase/bin/test
cat type=link size=27 time=1090266270.0 \
link=/packages/mnt/jbase/bin/cat
chmod type=link size=29 time=1090266270.0 \
link=/packages/mnt/jbase/bin/chmod
cp type=link size=26 time=1090266270.0 \
link=/packages/mnt/jbase/bin/cp
csh type=link size=27 time=1090266270.0 \
link=/packages/mnt/jbase/bin/csh
date type=link size=28 time=1090266270.0 \
link=/packages/mnt/jbase/bin/date
dd type=link size=26 time=1090266270.0 \
link=/packages/mnt/jbase/bin/dd
df type=link size=26 time=1090266270.0 \
link=/packages/mnt/jbase/bin/df
echo type=link size=28 time=1090266270.0 \
link=/packages/mnt/jbase/bin/echo
ed type=link size=26 time=1090266270.0 \
link=/packages/mnt/jbase/bin/ed
expr type=link size=28 time=1090266270.0 \
link=/packages/mnt/jbase/bin/expr
hostname type=link size=32 time=1090266270.0 \
link=/packages/mnt/jbase/bin/hostname
kill type=link size=28 time=1090266270.0 \
link=/packages/mnt/jbase/bin/kill
ln type=link size=26 time=1090266270.0 \
link=/packages/mnt/jbase/bin/ln
ls type=link size=26 time=1090266270.0 \
link=/packages/mnt/jbase/bin/ls
mkdir type=link size=29 time=1090266270.0 \
link=/packages/mnt/jbase/bin/mkdir
mv type=link size=26 time=1090266270.0 \
link=/packages/mnt/jbase/bin/mv
ps type=link size=26 time=1090266270.0 \
link=/packages/mnt/jbase/bin/ps
pwd type=link size=27 time=1090266270.0 \
link=/packages/mnt/jbase/bin/pwd
rcp type=link size=27 time=1090266270.0 \
link=/packages/mnt/jbase/bin/rcp
red type=link size=26 time=1090266270.0 \
link=/packages/mnt/jbase/bin/ed
rm type=link size=26 time=1090266270.0 \
link=/packages/mnt/jbase/bin/rm
rmdir type=link size=29 time=1090266270.0 \
link=/packages/mnt/jbase/bin/rmdir
sh type=link size=26 time=1090266270.0 \
link=/packages/mnt/jbase/bin/sh
sleep type=link size=29 time=1090266270.0 \
link=/packages/mnt/jbase/bin/sleep
stty type=link size=28 time=1090266270.0 \
link=/packages/mnt/jbase/bin/stty
sync type=link size=28 time=1090266270.0 \
link=/packages/mnt/jbase/bin/sync
tcsh type=link size=27 time=1090266270.0 \
link=/packages/mnt/jbase/bin/csh
test type=link size=28 time=1090266270.0 \
link=/packages/mnt/jbase/bin/test
# ./bin
..
# ./boot
/set type=file uid=0 gid=0 mode=0444 nlink=1 flags=none
boot type=dir mode=0555 nlink=3 size=512 time=1095069935.0
boot0 size=512 time=1094978286.0 \
md5digest=6f780822dd4ae482a20462b66e542cca
boot1 mode=0555 size=512 time=1094978294.0 \
md5digest=8d112b09df342cd0b60fdb9bdcde8e07
boot2 mode=0555 size=7680 time=1094978294.0 \
md5digest=28eb58c4068c6b85717e1484f9e028e4
cdboot mode=0555 size=165888 time=1094978298.0 \
md5digest=1474c6b800dfc82ba552d7c36116d07d
kgzldr.o size=5996 time=1094982121.0 \
md5digest=c53dc948eb07e2ea4eb0413e4c4634a3
loader mode=0555 size=163840 time=1094978298.0 \
md5digest=82d9dc2d31033476bfb61bb7264c4fed
loader.4th size=9237 time=986013631.0 \
md5digest=43144391465ad50267d31e0a320be1de
...