You are not logged in.

#1 2021-01-22 15:19:26

KeyPercentage9
Member
Registered: 2019-03-24
Posts: 13

How to upgrade /etc/shadow file?

I see a new file `/etc/shadow.pacnew` file with just one entry for root. I am assuming this is the new format going forward. How do I safely transition to having a simplified shadow file? My current shadow file has all the users and their hashed passwords.

Offline

#2 2021-01-22 15:29:03

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 717

Re: How to upgrade /etc/shadow file?

Do not overwrite /etc/shadow with that pacnew, you'll lose all user passwords! Delete the pacnew file as instructed by the warning in https://wiki.archlinux.org/index.php/Us … r_database .

Offline

#3 2021-01-22 15:39:25

Archlin
Member
Registered: 2018-05-09
Posts: 67

Re: How to upgrade /etc/shadow file?

Aslong

sudo pwck -r /etc/passwd /etc/shadow

does not give an output and Pacman does not tell you to take action no action is needed. And in that case you can/need to disregard/remove the pacnew file.

Offline

#4 2021-01-22 17:36:30

KeyPercentage9
Member
Registered: 2019-03-24
Posts: 13

Re: How to upgrade /etc/shadow file?

Thank you @nl6720 @Archlin !

Offline

Board footer

Powered by FluxBB