Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Mar 2015 08:50:45 +0000
From:      Daniel Peyrolon <tuchalia@gmail.com>
To:        =?ISO-8859-1?Q?Ricardo_Mart=EDn?= <fluxwatcher@gmail.com>,  freebsd-questions@freebsd.org
Subject:   Re: Check root password changes done via single user mode
Message-ID:  <CA%2ByaQw_3JJ2tJm32or-UmSpfMFo_jCn_JD1xFw=1E9i9K2reDg@mail.gmail.com>
References:  <54F56A83.3000404@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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=EDn (<
fluxwatcher@gmail.com>) escribi=F3:

>
> 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2ByaQw_3JJ2tJm32or-UmSpfMFo_jCn_JD1xFw=1E9i9K2reDg>