title: How to make gpg prompt for passphrase on CLI
body: <p>The encryption tool of gnuPG package gpg prompts for passphrase using a GUI dialog box when invoked by a regular user, however when invoked by root it prompts on CLI. How to make it use the CLI even when invoked by a regular user.
   version:GnuPG 1.4.12 </p>