RE: How to create encrypted password via command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Outstanding. Thanks again!

Anne 

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]
On Behalf Of Bill Tangren
Sent: Wednesday, September 12, 2007 10:33 AM
To: General Red Hat Linux discussion list
Subject: Re: How to create encrypted password via command line

Anne Moore wrote:
> This worked perfectly! Thank you.
> 
> Now I just have to figure out how to automate it in a script to 
> provide a prompt (some of these kids are new users! So I'm trying to 
> make it as easy as possible for them...)
> 
> Thanks! 
> 

remove the b from the options, and it will prompt.


> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx 
> [mailto:redhat-list-bounces@xxxxxxxxxx]
> On Behalf Of Bill Tangren
> Sent: Wednesday, September 12, 2007 9:54 AM
> To: General Red Hat Linux discussion list
> Subject: Re: How to create encrypted password via command line
> 
> 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
> 
> Do you mean something like what htpasswd does?
> 
> 
> $ htpasswd -cb jones.passwd jones Pwd4Steve $ cat jones.passwd $ cat 
> jones.passwd jones:P9D.NILQAK/KM
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux