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   -   Original Discussion by jochen
Arnaudh78 Arnaudh78 is offline
Registered User
 
Join Date: Sep 2016
Last Activity: 23 November 2017, 5:32 PM EST
Posts: 76
Thanks: 40
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 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
passwd cmd reenables passwd aging in shadow entry BG_JrAdmin Solaris 3 01-04-2011 04:28 PM
passwd vtran4270 UNIX for Advanced & Expert Users 3 09-04-2002 03:47 PM



All times are GMT -4. The time now is 11:41 PM.