I am thinking of switching my network servers over to LDAP
authentication, it looks to be very straight forward. My issue is that a
lot of scripts I have written to automate things do so by doing simple
parsing of the /etc/passwd & shadow files and this will break them. So I
am trying to find other ways to extract information about a user, finger
gets most of it but I also need some way to get a users encrypted
password. I have a script that temporarily replaces a users password by
getting the encrypted password, changes the users password then replaces
it with the original encrypted one. How can I do this with LDAP?

I have not installed LDAP yet. What command line tools are available to
do direct manipulation of the data from inside scripts?

I was looking at the WebMin source to edit user accounts and it looks
like this also gets the users encrypted password by grepping
the /etc/shadow file. Does switching to LDAP break features in WebMin? 
 

Royce Souther
www.SiliconTao.com
Let Open Source help your business move beyond.

For security this message is digitally authenticated by GnuPG.



Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to