Re: getting the running patch level

看板FB_security作者時間13年前 (2012/08/14 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串15/28 (看更多)
On 13/08/2012 22:27, Dag-Erling Sm繪rgrav wrote: > Jason Hellenthal<jhellenthal@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 One could also set the environment variable UNAME_r to the correct value (either in system wide e.g. /etc/profile or to a specific user dot files). Only problem of course it would have to be updated to the correct value manually. Or, since the correct value is always in newvers.sh, if src is present in the system a periodic script could update it automatically. The manual updating will cause more confusion in the long run - people tend to forget these things... _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #1GALp-Q0 (FB_security)
討論串 (同標題文章)
文章代碼(AID): #1GALp-Q0 (FB_security)