#! /bin/bash assert-login-db-exists (( $# == 1 )) || \ report-usage < Gives a password hint for the given username, and (if run as root) prompts for a new password. You may ^C out at the new password prompt. EOF password-hint() { local user=$1 sqlite3 "$LOGIN_DB" <