[vdr] update-xxv: [PATCH] Ask for password only once

Matthias Wächter matthias at waechter.wiz.at
Thu Apr 1 16:14:00 CEST 2010

On 01.04.2010 16:09, Matthias Wächter wrote:
> I found the three available options for specifying a password in the course of running update-xxv a
> little bit cumbersome, so I want to share the following patch with you.
> In addition to the default (no password), -a for being asked for it with _each_ database access
> (wtf) and specifying it on the command line in clear text using -p, I add a new option -A that asks
> for a password only once and supplies it to mysql as if it was given with -p.
> This by itself will not raise overall system security as the password is still given to each mysql
> call on the command line (and thus can be seen in the process table), however, it’s better to not
> have it in .bash_history.

Sorry, incomplete patch. Here is the right one (doesn’t give -a twice on the help screen).

– Matthias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: update-xxv-A.patch
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20100401/de44dad0/attachment.asc>

More information about the vdr mailing list