non-interactive password
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? Thanks. Lou -- First Law of Bicycling: No matter which way you ride, it's uphill and against the wind. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: non-interactive password
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]