[systemd-devel] %s specifier

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Feb 7 07:13:29 PST 2013


On Wed, Feb 06, 2013 at 04:30:40PM -0800, Kok, Auke-jan H wrote:
> 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.
I think that this make sense. I'll update the documentation and tests to
reflect this.

Zbyszek


More information about the systemd-devel mailing list