[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Scripting and passwords



At 10:55 PM 8/18/2003, Dave Horsfall wrote:
>What do people do when they want to invoke "ldapmodify" etc from a script?
>Putting the password on the command line is silly, because it can be seen
>by "ps".  Do they use "-W" and cobble up a Tcl/Expect script (and if so,
>could they share it)?

% man ldapmodify
...
   -y passwdfile
      Use complete contents of passwdfile as the password for simple
      authentication.
...