[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Advice sought re HDD --> SSD migration



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Jun 05, 2016 at 01:13:18PM +0000, Mark Fletcher wrote:
> On Sun, Jun 5, 2016 at 9:31 PM Felix Miata <mrmazda@earthlink.net> wrote:
> 
> 
> > Before you start, print /etc/passwd and /etc/group. :-)

[...]

> /etc/passwd and /etc/group are still the last word in identities in these
> latter days of password shadowing and gawd alone knows what else?
> 
> (My own research suggests the answer is YES for what users are on the
> system and NO for passwords. I'm not doing anything funky like using LDAP
> or anything for passwords, just what comes out of the box when you install
> Debian)

Yes, usually the encrypted passwords are in /etc/shadow (and in its dark
sister /etc/shadow-. Typically, if the password field in passwd is 'x',
the real thing is in shadow.

The gory details in 'man 5 shadow'

regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAldUK/IACgkQBcgs9XrR2kYvvQCfQ0xK99STqUu2IXG07Ywvlmy0
un4An2dAkEN1dKbdRxt4skYG/pph4Y72
=XuLf
-----END PGP SIGNATURE-----


Reply to: