Unix/Linux Go Back    


SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

Passwd without prompt

SCO


Reply    
 
Thread Tools Search this Thread Display Modes
    #8  
Old Unix and Linux 08-19-2017
Arnaudh78 Arnaudh78 is offline
Registered User
 
Join Date: Sep 2016
Last Activity: 19 October 2017, 8:07 PM EDT
Posts: 74
Thanks: 36
Thanked 3 Times in 3 Posts
Hello jochen,

Maybe try:

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

Regards,

Arnaud
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unable to move from rsc prompt to ok prompt manoj.solaris Solaris 9 05-26-2014 11:43 AM
How to Change the % prompt to - prompt in UNIX? manjiri sawant UNIX for Dummies Questions & Answers 2 07-18-2013 11:51 AM
When did AIX start using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? Anne Neville AIX 1 03-09-2012 08:05 PM
passwd cmd reenables passwd aging in shadow entry BG_JrAdmin Solaris 3 01-04-2011 03:28 PM
passwd vtran4270 UNIX for Advanced & Expert Users 3 09-04-2002 02:47 PM



All times are GMT -4. The time now is 04:28 AM.