Hi Andrej, I am working on a perl script that will run as a cronjob and modify LDAP entries when necessary. This involves collecting information from nodes and recording them into LDAP at runtime, so passwordless SSH will not do the trick by itself.
Thanks! -Mehmet On Wed, Aug 17, 2011 at 2:39 PM, Andrej <andrej.gro...@gmail.com> wrote: > On 13 August 2011 02:30, Mehmet <mbel...@gmail.com> wrote: > > Is there a way to use methods that require write access (add, delete, > etc) > > without providing a password? I want my script run as a cronjob and I do > not > > want to keep the password in a file or the code itself. In particular, I > > would like to give LDAP-write access to a unix user, say "ldap". I was > > wondering if it is possible to tell ldap server that 'ldap' user is the > > Manager? If not, is there a good way to hide the password in Perl? > > I wonder whether you really need to involve LDAP at all; > you're not very specific about the use-case, but to me it > rings like a classical case of "use passwordless ssh" > to achieve what you're after. > > > > Cheers, > Andrej > -- ========================================= Mehmet Belgin, Ph.D. (mehmet.bel...@oit.gatech.edu) Scientific Computing Consultant | OIT - Academic and Research Technologies Georgia Institute of Technology 258 Fourth Street, Rich Building, Room 326 Atlanta, GA 30332-0700 Office: (404) 385-0665