I have a project in which I'm creating users with random passwords for a class of students, and I want to give this list to the teacher so he can distribute the user:pass to each student. What is the best way to do this outside of just saving it in plain text to a .txt file?
Right now it will likely be random alpha-numeric passwords and students cannot login to the shell, and are jailed to their home directory, so the accounts are pretty secure (I think). The accounts will only be used to SFTP web pages to a server.