How to create encrypted password via command line

Anne Moore diabeticithink at yahoo.com
Wed Sep 12 17:47:52 UTC 2007


Absolutely, I agree. 

I have tried to find documentation on getting nss_ldap to work correctly on
each Red Hat client box, but after various tries, various openldap forums, I
had no luck. In fact, when I posted the question to the OpenLdap forum, none
there had a clue. They told that the passwd command should "just work" once
Openldap is working and authenticating.

If you know of the proper configuration documentation for nss_ldap that
explains how to configure to get the regular passwd feature working I would
love to read it!

Thanks!

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
On Behalf Of Chris St. Pierre
Sent: Wednesday, September 12, 2007 1:25 PM
To: General Red Hat Linux discussion list
Subject: RE: How to create encrypted password via command line

On Wed, 12 Sep 2007, Anne Moore wrote:

> Yes, it's for Openldap. Unfortunately, slappasswd is not installed on 
> any of our Red Hat boxes (60 of them). It's only installed on the one
OpenLdap box.
>
> I wanted them to be able to log into any of the boxes, run the create 
> new password commands, and then copy the encrypted output and send to 
> the administrator so he can change their passwords on Openldap without 
> knowing what their password actually is.
>
> Is there a way that you know of that they can copy and past in their 
> own encrypted password, bypassing having to send them to the 
> administrator to do it?

Why can't you just properly configure nss_ldap so that the passwd command
does the right thing?

Failing that, write a quick Perl script that mimics passwd.  Involving the
administrator at all seems unnecessary here.

Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University

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




More information about the redhat-list mailing list