Not an expert, but you can use the --stdin option with passwd to accept piped 
input and it will not prompt for confirmation, but it will handle encryption, 
etc. as usual.  Try something like the following at the command line for a 
test:

 echo "<password>" | passwd --stdin <userid>

Steve

> > > At 5:17 PM +0530 1/11/00, Kiran Kumar M wrote:
> > > >Hi,
> > > >
> > > >How can I change the password at the command line itself,
> > > >for ex.: passwd <userid> <password>
> > > >I want to eliminate the confirmation.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to