How can I set a password from STDIN?
Bill Campbell
freebsd at celestial.com
Thu Nov 20 21:27:01 PST 2003
On Fri, Nov 21, 2003, Lefteris Tsintjelis wrote:
>Hi,
>
>Would anyone know how can I set or change a password from STDIN? Neither
>passwd or pw seem to accept STDIN.
The ``expect'' program is designed to handle this problem.
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/
``One of the common failings among honorable people is a failure to
appreciate how thoroughly dishonorable some other people can be, and how
dangerous it is to trust them.''
- Thomas Sowell
More information about the freebsd-questions
mailing list