On 2022-05-25 15:54:02 +0200, Michael Biebl wrote: > Am 25.05.2022 um 15:52 schrieb Vincent Lefevre: > > On 2022-05-25 15:13:58 +0200, Michael Biebl wrote: > > > It doesn't pass the LESS environment variable that's defined in the user > > > session to the pager but runs that program in a defined, fixed and tested > > > environment. > > > > Since the user controls that program, e.g. by writing a script > > called "pager" under his $PATH (e.g. in $HOME/bin), thus may > > change the environment there, I'm wondering what you mean by > > "fixed and tested environment". > > It's not you/the user calling less, but systemd. Maybe that's your > misconception.
My point is the end user chooses what this pager is. For instance, in the ps output, as a child of journalctl: vlefevre 112315 112314 0 16:03 pts/15 00:00:00 /bin/sh /home/vlefevre/bin/pager The fact that the user doesn't run it himself doesn't matter. So there is no such thing of "fixed and tested environment": the user has the full control of what is run. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)