Date: Fri, 02 Nov 2001 09:36:22 +1100 From: BSD Freak <bsd-freak@mbox.com.au> To: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Changing a user password non-interactively Message-ID: <3e4c9c3e90fd.3e90fd3e4c9c@mbox.com.au>
next in thread | raw e-mail | index | archive | help
Hi again everyone, Does anyone know of a way to change a user password non-interactively (as root of course!)? I am writing my own user management scripts and need someway of passing a shell variable to a program which will change a user password. For example I need: passwd $USER $NEWPASSWORD $PASSWORD_CONFIRMATION to change $USER's password without prompting me at all but simply changing the user password or returning an error message... Warm Regards.... and many thanks in advance.... --------------------------------------------------------------------- Your own fax service 24x7, no extra line or fax machine required http://www.mbox.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3e4c9c3e90fd.3e90fd3e4c9c>