Passwd without prompt


Login or Register to Reply

 
Thread Tools Search this Thread
# 8  
Old 08-19-2017
Hello jochen,

Maybe try:
Code:
echo -e "$password\n$password" | passwd "$user"

Regards,

Arnaud
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Unable to move from rsc prompt to ok prompt manoj.solaris Solaris 9 05-26-2014 12:43 PM
How to Change the % prompt to - prompt in UNIX? manjiri sawant UNIX for Dummies Questions & Answers 2 07-18-2013 12:51 PM
When did AIX start using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? Anne Neville AIX 1 03-09-2012 09:05 PM
etc/passwd help strawhatluffy UNIX for Dummies Questions & Answers 9 01-16-2012 07:27 PM
passwd kkalyan UNIX for Dummies Questions & Answers 4 11-07-2011 12:57 PM
passwd cmd reenables passwd aging in shadow entry BG_JrAdmin Solaris 3 01-04-2011 04:28 PM
etc/passwd daveisme AIX 5 12-06-2009 04:32 PM
/etc/passwd supercops Shell Programming and Scripting 4 06-06-2009 02:10 AM
passwd jestinabel HP-UX 6 03-04-2007 02:30 AM
no /etc/passwd cyno UNIX for Advanced & Expert Users 3 11-03-2003 04:19 PM
etc/passwd nguda UNIX for Dummies Questions & Answers 2 07-03-2003 10:38 AM
passwd geoquest UNIX for Dummies Questions & Answers 2 01-13-2003 02:40 PM
passwd Erwin Stocker UNIX for Advanced & Expert Users 5 10-09-2002 07:33 AM
passwd vtran4270 UNIX for Advanced & Expert Users 3 09-04-2002 03:47 PM
etc/passwd jyotipg UNIX for Advanced & Expert Users 2 10-29-2001 11:39 AM