useradd --password `perl -e 'print(crypt("mypassword", "ab"))'` myuser
mkpasswdをyum install expectして使う記事を見かけるがうまくいかなかった
(can't use non-numeric string as operand of "+"
になったりusageが表示されたり)
Go to list of users who liked
More than 5 years have passed since last update.
useradd --password `perl -e 'print(crypt("mypassword", "ab"))'` myuser
mkpasswdをyum install expectして使う記事を見かけるがうまくいかなかった
(can't use non-numeric string as operand of "+"
になったりusageが表示されたり)
Register as a new user and use Qiita more conveniently
Go to list of users who liked