From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jone Subject: Customize PAM configuration Date: Fri, 9 Aug 2019 17:58:07 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43641) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw6I7-00017u-3T for help-guix@gnu.org; Fri, 09 Aug 2019 10:54:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hw6I5-0002Dk-Ur for help-guix@gnu.org; Fri, 09 Aug 2019 10:54:50 -0400 Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:40014) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hw6I5-0002Bn-Pu for help-guix@gnu.org; Fri, 09 Aug 2019 10:54:49 -0400 Received: by mail-ot1-x336.google.com with SMTP id l15so76397872oth.7 for ; Fri, 09 Aug 2019 07:54:48 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix 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.