passwd –stdin没有这个参数(debian)

在RHEL/CentOS中,我们批量创建用户时一般都会用到passwd –stdin参数,但是在debian/ubuntu下没有这个参数:

man passwd
 -a, --all
 This option can be used only with -S and causes show status for all users.
-d, --delete
 Delete a user's password (make it empty). This is a quick way to disable a password for an account. It will set the named account passwordless.
-e, --expire
 Immediately expire an account's password. This in effect can force a user to change his/her password at the user's next login.
-h, --help
 Display help message and exit.
-i, --inactive INACTIVE
 This option is used to disable an account after the password has been expired for a number of days. After a user account has had an expired password
 for INACTIVE days, the user may no longer sign on to the accoun