Re: timezone for 100.chksetuid

看板FB_current作者時間11年前 (2014/05/17 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
--Sig_/YwL7oYckIk1tS9lGbY9SNup Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 16 May 2014 16:09:37 +0100 Tom Evans <tevans.uk@googlemail.com> wro= te: >=20 > Do you mean you are changing /etc/localtime whenever you move to > another timezone? >=20 Yes, precisely. > I would suggest stopping doing that! Instead just set TZ in your user > environment to whatever TZ you want. That way, your programs will all > be localised correctly, and scripts which run as root will remain > consistent. >=20 Good suggestion, but that would cause those scripts run as root to be run at the wrong time of day, cron jobs for example, or to reflect the wrong time and timezone, e.g., sendmail timestamps, syslog messages, etc. No big deal for short trips, but it's not what you want on longer, extended trips. -jr --Sig_/YwL7oYckIk1tS9lGbY9SNup Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlN2LP8ACgkQls33urr0k4kv3QCZAVRB8ZenQNeocJ+a3ImOOAr1 rE8An3x7KBySDxaTO8fqL2/rssgCuPjN =RJAO -----END PGP SIGNATURE----- --Sig_/YwL7oYckIk1tS9lGbY9SNup--
文章代碼(AID): #1JTbcY5v (FB_current)
文章代碼(AID): #1JTbcY5v (FB_current)