On bootup of my work laptop, I have to log in on the console, then start the network (basicallty a “sudo ifup wlan0=some-id” or “sudo ifup eth0”, depending), then step the clocktime with rdate, then run another command with sudo. Unfortunately, the stepping of the time-of-day often invalidates the timestamp, and I have to enter the password again, which is annoying. (It seems to have a tolerance for values below 60s or so, the laptop generally loses about a minute between boots.) I get why stepping backwards will require the password again (though I set a higher than normal timestamp_timeout), but forwards should not, at least not by small amounts (less than six hours or so)
Control: tags -1 upstrean Control: severity -1 minor That sounds like a workflow that noone else uses. Setting severity appopriately. I find that reasonable. Maybe for security reasons. I'd like to know how sudo detects that between invocations. Six hours is well beyond the password timeout. Debian is surely not going to patch this part of sudo's behavior. May I ask you to take this upstream yourself, maybe to the upstream mailing list? This is much more efficient than me forwarding messages. Greetings Marc
Marc Haber dixit: Perhaps. It’s annoying, though, for such small jumps. Probably with utmp/wtmp/… or something like that. Fair. Meanwhile… turns out installing util-linux-extra brings back hwclock, and then the laptop’s clocktime, after a full power cycle, is only about two seconds off, which reduces that problem (for if others have the same problem). bye, //mirabilos