unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Jone <yeger9@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: Customize PAM configuration
Date: Fri, 9 Aug 2019 17:58:07 +0000	[thread overview]
Message-ID: <CAH6o9V-GNPMvxR5tU1M9aW=90t_VWkR8oS966awd1NXGF5dhcg@mail.gmail.com> (raw)

Hello! I want enter user/root password only once per session. To do this,
it will probably be convenient to export the password to shell variable.
For example, adding this to PAM configuration file:

   auth sufficient pam_exec.so expose_authtok /path/to/script.sh

But how to write it in system-config.scm? Sorry, I couldn't find any examples.

             reply	other threads:[~2019-08-09 14:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-09 17:58 Jone [this message]
2019-08-10 14:44 ` Customize PAM configuration Timothy Sample
2019-08-10 18:55   ` Jone
2019-08-10 16:14     ` Ricardo Wurmus
2019-08-10 19:52       ` Jone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH6o9V-GNPMvxR5tU1M9aW=90t_VWkR8oS966awd1NXGF5dhcg@mail.gmail.com' \
    --to=yeger9@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).