[systemd-devel] %s specifier

Kok, Auke-jan H auke-jan.h.kok at intel.com
Wed Feb 6 16:30:40 PST 2013


On Wed, Feb 6, 2013 at 4:21 PM, Zbigniew Jędrzejewski-Szmek
<zbyszek at in.waw.pl> wrote:
> current docs specify that %s means the shell of the user configured
> with User= or the user running systemd. However, it actually often
> returns /bin/sh. What is the intended behaviour?

it should reflect the passwd entry, which by default is "/bin/sh" if
unset. It may also return that if using some other form of credential
backend - glibc provides the data.

Auke


More information about the systemd-devel mailing list