ref: 91fdb62ad0c4597f645c3357ea942cadfea188ab
parent: d16c7bdb0913c625ba2aea8c77d492c9f6dff530
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Dec 14 13:06:17 EST 2022
netaudit: check none attach too
--- a/rc/bin/netaudit
+++ b/rc/bin/netaudit
@@ -169,6 +169,10 @@
echo $fs
if(srv $fs netaudit.$pid >[2] /dev/null || srvtls $fs netaudit.$pid >[2] /dev/null){
+ if(mount -N /srv/netaudit.$pid /n/netaudit >/dev/null >[2=1])
+ echo ' file server allows none attach'
+ if not
+ echo ' file server does not allow none attach'
if(mount -n /srv/netaudit.$pid /n/netaudit >/dev/null >[2=1])
echo ' file server does not require auth for user '^$user
if not
--
⑨