On Tue, Jul 10, 2012 at 05:00:43AM +0000, Kok, Auke-jan H wrote: > So in short, I'd like to do both: > > - have systemd chdir to $HOME if uid != 1 > > - extend the printf specifier list for user sessions with a specifer > that can be used in various fields to refer to at minimum $HOME ("%h" > ?) and possibly $UID ("%u") and $SHELL ("%s"), since these fields are > part of the struct *passwd, and might be useful at some point. > > Comments? I'll post a patch gladly to implement this. >
I think that's useful as well, and used it for a while. Also see http://lists.freedesktop.org/archives/systemd-devel/2011-December/004076.html Ran _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel