How to create encrypted password via command line

Jim Canfield jcanfield at tshmail.com
Wed Sep 12 14:16:32 UTC 2007


Anne Moore wrote:
> Hi All
>  
> Does anyone know of a quick/painless way to create an encrypted {crypt}
> password via the command like on Red Hat? I need my users to do this and I
> don't want them to have to write much syntax, etc., as that will be too much
> for them. I was hoping there was some built-in (or other) method that allows
> creating an encrypted password, depending on what the user types in for the
> password.
>  
> Thank you!
>  
> Anne
>   
'htpasswd' would be a good tool to look at.

I'm curious, this isn't a classroom assignment is it?

-jim




More information about the redhat-list mailing list