getting the running patch level

Dag-Erling Smørgrav des at des.no
Mon Aug 13 19:28:07 UTC 2012


Jason Hellenthal <jhellenthal at dataix.net> writes:
> Could I suggest... the same way that /etc/motd is already updated ?

You could, but it wouldn't be very helpful, since /etc/rc.d/motd uses
uname(1), which returns the kernel version.  On the contrary, once
/etc/issue is in place, we should use that instead of uname(1) to update
/etc/motd.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-security mailing list