auto enter password for `passwd ` from script? The 2019 Stack Overflow Developer Survey...

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Is this wall load bearing? Blueprints and photos attached

Make it rain characters

Single author papers against my advisor's will?

The variadic template constructor of my class cannot modify my class members, why is that so?

Are my PIs rude or am I just being too sensitive?

Can withdrawing asylum be illegal?

Problems with Ubuntu mount /tmp

Road tyres vs "Street" tyres for charity ride on MTB Tandem

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

Does Parliament need to approve the new Brexit delay to 31 October 2019?

Typeface like Times New Roman but with "tied" percent sign

Didn't get enough time to take a Coding Test - what to do now?

Can smartphones with the same camera sensor have different image quality?

High Q peak in frequency response means what in time domain?

"... to apply for a visa" or "... and applied for a visa"?

Why did all the guest students take carriages to the Yule Ball?

Is there a writing software that you can sort scenes like slides in PowerPoint?

ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?

Can the DM override racial traits?

Working through the single responsibility principle (SRP) in Python when calls are expensive

I could not break this equation. Please help me

Why can't wing-mounted spoilers be used to steepen approaches?

Can a novice safely splice in wire to lengthen 5V charging cable?



auto enter password for `passwd ` from script?



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election ResultsChanging user password through GUI appInputting user input automatically through bash script?Switch user in a shell script without entering the passwordReplace mysql user shell in /etc/passwdpasswd -S gives “Alternate authentication scheme in use.” and password in /etc/shadow not encryptedUnlock user without giving a password for key usageUser can't change password using passwd (pam config)Why the “ passwd ” command give the root shell without password?Why passwd prohibits me from setting “simple” password?Is it safe to set password in /etc/passwd to * on Linux to prevent password login?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















if the script was useradd ...............<new_user>; passwd <new_user>;. is there a way to put the new password in a script?










share|improve this question























  • See How to automatically add user account AND password with a Bash script?

    – Freddy
    15 mins ago




















0















if the script was useradd ...............<new_user>; passwd <new_user>;. is there a way to put the new password in a script?










share|improve this question























  • See How to automatically add user account AND password with a Bash script?

    – Freddy
    15 mins ago
















0












0








0








if the script was useradd ...............<new_user>; passwd <new_user>;. is there a way to put the new password in a script?










share|improve this question














if the script was useradd ...............<new_user>; passwd <new_user>;. is there a way to put the new password in a script?







scripting passwd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 37 mins ago









dbrucehdbruceh

182




182













  • See How to automatically add user account AND password with a Bash script?

    – Freddy
    15 mins ago





















  • See How to automatically add user account AND password with a Bash script?

    – Freddy
    15 mins ago



















See How to automatically add user account AND password with a Bash script?

– Freddy
15 mins ago







See How to automatically add user account AND password with a Bash script?

– Freddy
15 mins ago












0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f512352%2fauto-enter-password-for-passwd-new-user-from-script%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f512352%2fauto-enter-password-for-passwd-new-user-from-script%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...