01-22-2020, 01:58 PM
(01-22-2020, 10:58 AM)FeMike Wrote:(01-22-2020, 08:46 AM)martinayotte Wrote: Actually, the /etc/passwd backups are a bit useless since the real passwords are stored in /etc/shadow ...
So would you edit both files? I'm at work now so I can't see what the shadow file looks like to I get back to my pb64. Or is the shadow one encrypted and you can't modify it easily?
Both /etc/shadow and /etc/passwd are plain text, except that that /etc/passwd doesn't actually has any passwords in the file, while /etc/shadow has the encrypted passwd along with creation date, maximum age, warning expiratory period, etc.
For more details, simply do "man shadow" ...