看板 FB_security 關於我們 聯絡資訊
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"