Welcome to the Linux Foundation Forum!

Set password for several users from list

Hello Linux community,
I have a question, is it possible for a number of users, that I have maintained in a list, to load the passwords? What would such a bash script look like?
I want to set follow password: Summer2022

User.txt
Mike
Lisa
Clark
Peter

Thank you for your help :-)

Categories

Upcoming Training