Never mind. I should have looked harder. I
think I can do it with mkpasswd and moduser. If that doesn't work I'll try
using expect. -----Original Message----- Is there a way to automate the
passwd command in a similar fashion as allowed by Red Hat's version of passwd? The Red Hat version has a --stdin
flag which lets me pipe a password to the passwd command so that I can automate
it. On Red Hat I have a custom made
script for creating large numbers of accounts by using adduser and passwd. I
want to be able to do the same thing on Debian. If anybody has a suggestion for a
good account automation program or can tell me how to automate passwd, I would
greatly appreciate it. --Jacob |
- Automating the passwd command Hoehn, Jacob
- Re: Automating the passwd command Mark Roach
- Hoehn, Jacob