4 lines
87 B
Bash
4 lines
87 B
Bash
#!/bin/bash
|
|
|
|
echo "Setting new password ($2) for user '$1'"
|
|
echo $2 | passwd --stdin $1 |