By using "crypt" and a bit shell script will do the changing. But it is
very low encryption policy, but one want to use different encryption
policy that support in linux, then one has to find other than crypt
Kiran
On Wed, 1 Nov 2000, Mike Burger wrote:
> That doesn't answer the question...Kiran appears to want to be able to
> change a password (I'm assuming another user, and doing it as root)
> without being asked to confirm the password a second time.
>
> On that note, I'll start out by saying that, if it is possible to do,
> it's dangerous. If you, as the administrator, change a password, and
> mistype it, you risk the user not being able to access the account, and
> you'll have to repeat the process.
>
> That having been said, I did a man passwd when this question first came
> through, and I did not see any sort of command combination/option to
> allow bypassing the password confirmation.
>
> Unless someone more knowledgeable than I (and believe me, I know that
> there are) knows of a way to do this using just the passwd command, I'd
> like to know (even if it had to do with entering the password 2x on the
> command line).
>
> Another method would be to write a quick shell script to do exactly what
> you want.
>
> On Wed, 1 Nov 2000, Dan Horth wrote:
>
> > if you're changing your own password then just do:
> >
> > passwd
> >
> > if you're logged in as root to change someone else's password do:
> >
> > passwd username
> >
> > and... well... that's about it! :)
> >
> > man passwd
> >
> > may help you too!
> >
> > - dan.
> >
> > 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
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list