Tuesday, June 18, 2013

UNIX/Linux script to set or update the password for multiple users


Example:

Sample users name: dummy1, dummy2, dummy3, dummy4 and dummy5

for counter in {1..5}; do echo "dummy$counter" | passwd dummy$counter --stdin ; done


NOTE: {1..5} syntax will not work in certain shell. But it will work definitely in bash.



6 comments:

oraclehcm said...

Thanks for sharing this informative content which provided me the required information about the latest oracle financials online coaching, We provide low price of fee for on-line coaching. further information visit our site.
Oracle fusion financials training

Tim Nollan said...

Looking for the best writing service online but lost in the number of fake reviews and don’t know who to believe? We at ScamFighter publish only genuine reviews on all writing service from the web. Look at the last review on https://scamfighter.net/review/papersowl.com

Sarah Colins said...

Such a great blog – bright and informative. Thank you for your opinion and helpful articles. https://speedypaper.com/discounts

Molly Miller said...

Thank you for useful information.
If you are looking for an academic writing assistance, check this review
https://www.writingpapersucks.com/extraessay-com-review/ and find out beneficial offers.

shivani said...

A befuddling web diary I visit this blog, it's incredibly grand. Strangely, in this present blog's substance made motivation behind fact and sensible. The substance of information is instructive
Oracle Fusion Financials Online Training
Oracle Fusion HCM Online Training
Oracle Fusion SCM Online Training

shivani said...

A befuddling web diary I visit this blog, it's incredibly grand. Strangely, in this present blog's substance made motivation behind fact and sensible. The substance of information is instructive
Oracle Fusion Financials Online Training
Oracle Fusion HCM Online Training
Oracle Fusion SCM Online Training