public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: jens w <jw@lxsbbs.eu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] executing a command as a nologin user
Date: Wed, 13 Jul 2016 12:31:40 +0200	[thread overview]
Message-ID: <20160713123140.00003175@lxsbbs.eu> (raw)
In-Reply-To: <20160713030250.143f9065@hal9000.localdomain>

Am Wed, 13 Jul 2016 03:02:50 +0200
schrieb wabe <wabenbau@gmail.com>:

> 
> Are you sure that the HOME envar is defined for the "nologin-user"?

# getent passwd user
user:x:1018:1018::'/home/user:/sbin/nologin
# su -s /bin/bash user -c echo $HOME


I change $HOME in /home/user, but the script not executed.

> Is there a existing home directory defined in /etc/passwd for this 
> user?

yes, and the mail-delivery to /home/user/.maildir ist ok, also the
access from roundcube is ok.


  reply	other threads:[~2016-07-13 10:31 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-12  1:47 [gentoo-user] executing a command as a nologin user jens w
2016-07-12 14:17 ` wabe
2016-07-12 20:39   ` jens w
2016-07-12 20:54     ` Neil Bothwick
2016-07-12 21:51       ` jens w
2016-07-12 20:59     ` Alan McKinnon
2016-07-12 21:58       ` jens w
2016-07-13  1:02         ` wabe
2016-07-13 10:31           ` jens w [this message]
2016-07-15 13:50             ` Fernando Rodriguez
2016-07-13 11:10 ` Alan McKinnon
2016-07-13 11:29   ` Fernando Rodriguez
2016-07-13 16:42     ` wabe
2016-07-13 16:50       ` Alan McKinnon
2016-07-13 17:05         ` wabe
2016-07-13 20:41           ` Alan McKinnon
2016-07-13 17:41     ` wabe
2016-07-14 21:19       ` Fernando Rodriguez
2016-07-15  1:36         ` [gentoo-user] " Jonathan Callen
2016-07-15 13:45           ` Fernando Rodriguez
2016-07-15 14:20             ` Fernando Rodriguez

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

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

  git send-email \
    --in-reply-to=20160713123140.00003175@lxsbbs.eu \
    --to=jw@lxsbbs.eu \
    --cc=gentoo-user@lists.gentoo.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