Quantcast
Viewing latest article 2
Browse Latest Browse All 2

Pass password to adduser command

Just wondering if it's possible to pass the password I want to use to the adduser command in ubuntu, so that it can be automated.

I want to do something like this

echo "password" | adduser test

This would eliminate the need to fill out the form needed for the adduser command and set the password, "password", for the "test" user.


Viewing latest article 2
Browse Latest Browse All 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>