Trust, but always verify. You are not immune.

  • Scrath@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    5
    ·
    11 个月前

    If you shouldn’t use sensitive information as command line arguments and also avoid environment variables for passwords, how should you pass such data to programs short of setting up a configuration file?

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      4
      ·
      11 个月前

      For the command line, do what OpenSSH does, take passwords on terminals.

      For environment variables, the issue is passing them to all programs; you don’t want to put credentials in a .bashenv or similar.