On Sat, 24 Apr 2004, Louis LeBlanc wrote: > Hey everyone. I'm trying to recreate a password script that sets > passwords (as root on the local system only). The trick is that it > must change the password non-interactively. I had this working, but > when the system was trashed, the script was lost. > > Can someone refresh my memory on the command format?
echo "$password" | pw usermod "$user" -h0 Might do the trick. $.02, /Mikko _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"