[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: system clock workaround



> (Maybe allowing someone to type in a date, if it is possible at all, is
> somehow insecure, but I am the only user at the console).
> 
try this in your ntpdate startup script:

if ! ntpdate <timehost(s)>; then
  while :; do
    read -p "ntpdate failed. please enter date by hand: " date
    date -s $date && break
  done
fi
hwclock --systohc

this is only an idea ...

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
If Windows is the answer, I want the problems back!



Reply to: