Check root password changes done via single user mode

Daniel Peyrolon tuchalia at gmail.com
Tue Mar 3 08:50:48 UTC 2015


What I would do is storing a copy of root's password hash somewhere, and
compare it with the recent one.
The hash can be read at master.passwd (check passwd(5)).

El mar., 3 de marzo de 2015 a las 9:02, Ricardo Martín (<
fluxwatcher at gmail.com>) escribió:

>
> hi all,
>
> wondering which would be the best approach to script check if the root
> password has been changed via single user mode.
>
> tia
>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list