Check dmesg i think that will have the boot time / date in it
On Thursday, 15 April 2021, Ales Tepina <[email protected]> wrote: > Hi! > > I have a really old machine (it has DIN keyboard connector) with OpenBSD > installed on it that was used as a router and its been sitting > in the basement for quite a few years. I would like to find out the date > when the machine was last shutdown. > > What would be the best way to go about looking for that info? > > I have two options as far as i can see but have not tried any of them to > avoid messing up the date of last boot/shutdown: > 1. Boot the machine and check the log files in /var/log > 2. Attach the disk drive to another machine and mount the partition and > also check the info on some files > > Also, one important caveat. There is a good chance i won't be able to > guess the password anymore. I think i know what it is, but i'm not sure > since it was so long ago. > Therefore booting into single user mode is probably the only choice for > option 1. > > Thank you for your suggestions. > > Br, Ales > > -- Kindest regards, Tom Smyth.

