man > expect_passmass(1)

PASSMASS(1)   General Commands Manual   PASSMASS(1)

đŸˇī¸ NAME

passmass - change password on multiple machines

🚀 Quick Reference

Use CaseCommandDescription
Change password on multiple hostspassmass host1 host2 host3 ...Change password on listed hosts using rlogin (default)
Change password for a different userpassmass -user jane host1 host2Change password for user 'jane' on host1 and host2
Use SSH instead of rloginpassmass -ssh host1Connect via SSH for password change
Use a different passwd programpassmass -program yppasswd host1Use yppasswd instead of passwd
Change root password via supassmass -su 1 host1Login as user, then su to root and change root's password

📋 SYNOPSIS

passmass [ host1 host2 host3 ... ]

â„šī¸ INTRODUCTION

Passmass changes a password on multiple machines. If you have accounts on several machines that do not share password databases, Passmass can help you keep them all in sync. This, in turn, will make it easier to change them more frequently.

When Passmass runs, it asks you for the old and new passwords. (If you are changing root passwords and have equivalencing, the old password is not used and may be omitted.)

Passmass understands the "usual" conventions. Additional arguments may be used for tuning. They affect all hosts which follow until another argument overrides it. For example, if you are known as "libes" on host1 and host2, but "don" on host3, you would say:

passmass host1 host2 -user don host3

Arguments are:

đŸ› ī¸ HOW TO USE

The best way to run Passmass is to put the command in a one-line shell script or alias. Whenever you get a new account on a new machine, add the appropriate arguments to the command. Then run it whenever you want to change your passwords on all the hosts.

âš ī¸ CAVEATS

Using the same password on multiple hosts carries risks. In particular, if the password can be stolen, then all of your accounts are at risk. Thus, you should not use Passmass in situations where your password is visible, such as across a network which hackers are known to eavesdrop.

On the other hand, if you have enough accounts with different passwords, you may end up writing them down somewhere - and that can be a security problem. Funny story: my college roommate had an 11"x13" piece of paper on which he had listed accounts and passwords all across the Internet. This was several years worth of careful work and he carried it with him everywhere he went. Well one day, he forgot to remove it from his jeans, and we found a perfectly blank sheet of paper when we took out the wash the following day!

📚 SEE ALSO

"Exploring Expect: A Tcl-Based Toolkit for Automating Interactive Programs" by Don Libes, O'Reilly and Associates, January 1995.

👤 AUTHOR

Don Libes, National Institute of Standards and Technology


7 October 1993
expect_passmass(1)
đŸˇī¸ NAME 🚀 Quick Reference 📋 SYNOPSIS â„šī¸ INTRODUCTION đŸ› ī¸ HOW TO USE âš ī¸ CAVEATS 📚 SEE ALSO 👤 AUTHOR

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-04 13:23 @216.73.216.128
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!

^_top_^