Earlier quoted context omitted.
> Changing back 01/01/1970 via Date & Time preferences doesn't need authentication This is not true but it can be confusing if you've authenticated at all recently due to a grace period like sudo's.
I've never unlocked that panel, and I've rebooted recently, and still didn't need authentication. Are you sure that's as right?
Run sudo -k, set your clock to 01.01.1970, run sudo su and boom you're root
71–74 of 74 posts
Re: Run sudo -k, set your clock to 01.01.1970, run sudo su and boom you're root
#72From the FreeBSD man for date Only the superuser may set the date, and if the system securelevel (see securelevel(7)) is greater than 1, the time may not be changed by more than 1 second. EDIT: so you need to be root anyway or have root access to change the date.
Users on MacOS can change the time without root access.
Re: Run sudo -k, set your clock to 01.01.1970, run sudo su and boom you're root
#73From the FreeBSD man for date Only the superuser may set the date, and if the system securelevel (see securelevel(7)) is greater than 1, the time may not be changed by more than 1 second. EDIT: so you need to be root anyway or have root access to change the date.
Users on MacOS can change the time without root access.
`date` still behaves as one expects.
Re: Run sudo -k, set your clock to 01.01.1970, run sudo su and boom you're root
#74Earlier quoted context omitted.
> Changing back 01/01/1970 via Date & Time preferences doesn't need authentication This is not true but it can be confusing if you've authenticated at all recently due to a grace period like sudo's.
I've never unlocked that panel, and I've rebooted recently, and still didn't need authentication. Are you sure that's as right?