Re: getting the running patch level

看板FB_security作者時間13年前 (2012/08/14 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串16/28 (看更多)
Manolis Kiagias <sonic2000gr@gmail.com> writes: > 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). If your goal is to have uname(1) return the correct value, yes, except it won't always work. For instance, sudo(1) (and probably also su(1), but I never use it) will strip it from the environment and will *not* run /etc/profile before the requested command. > Or, since the correct value is always in newvers.sh, if src is present > in the system a periodic script could update it automatically. We can't assume that src is present. > The manual updating will cause more confusion in the long run - > people tend to forget these things... Nobody suggested manually updating anything. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no _______________________________________________ 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): #1GAMH2TE (FB_security)
討論串 (同標題文章)
文章代碼(AID): #1GAMH2TE (FB_security)