16e69612dSEmmanuel Vadot.\" * SPDX-License-Identifier: BSD-2-Clause 26e69612dSEmmanuel Vadot.\" 36e69612dSEmmanuel Vadot.\" Copyright (c) 2024 Beckhoff Automation GmbH & Co. KG 46e69612dSEmmanuel Vadot.\" 56e69612dSEmmanuel Vadot.\" * Redistribution and use in source and binary forms, with or without 66e69612dSEmmanuel Vadot.\" * modification, are permitted provided that the following conditions 76e69612dSEmmanuel Vadot.\" * are met: 86e69612dSEmmanuel Vadot.\" * 1. Redistributions of source code must retain the above copyright 96e69612dSEmmanuel Vadot.\" * notice, this list of conditions and the following disclaimer. 106e69612dSEmmanuel Vadot.\" * 2. Redistributions in binary form must reproduce the above copyright 116e69612dSEmmanuel Vadot.\" * notice, this list of conditions and the following disclaimer in the 126e69612dSEmmanuel Vadot.\" * documentation and/or other materials provided with the distribution. 136e69612dSEmmanuel Vadot.\" * 146e69612dSEmmanuel Vadot.\" * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 156e69612dSEmmanuel Vadot.\" * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 166e69612dSEmmanuel Vadot.\" * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 176e69612dSEmmanuel Vadot.\" * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 186e69612dSEmmanuel Vadot.\" * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 196e69612dSEmmanuel Vadot.\" * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 206e69612dSEmmanuel Vadot.\" * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 216e69612dSEmmanuel Vadot.\" * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 226e69612dSEmmanuel Vadot.\" * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 236e69612dSEmmanuel Vadot.\" * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 246e69612dSEmmanuel Vadot.\" * SUCH DAMAGE. 25*6aee1dc4SMaxim Konovalov.Dd August 22, 2024 266e69612dSEmmanuel Vadot.Dt PAM_XDG 8 276e69612dSEmmanuel Vadot.Os 286e69612dSEmmanuel Vadot.Sh NAME 296e69612dSEmmanuel Vadot.Nm pam_xdg 306e69612dSEmmanuel Vadot.Nd XDG PAM module 316e69612dSEmmanuel Vadot.Sh SYNOPSIS 326e69612dSEmmanuel Vadot.Op Ar service-name 336e69612dSEmmanuel Vadot.Ar module-type 346e69612dSEmmanuel Vadot.Ar control-flag 356e69612dSEmmanuel Vadot.Pa pam_xdg 366e69612dSEmmanuel Vadot.Op Ar arguments 376e69612dSEmmanuel Vadot.Sh DESCRIPTION 386e69612dSEmmanuel VadotThe xdg service module for PAM sets up the runtime directory according 396e69612dSEmmanuel Vadotto the XDG specifications. 406e69612dSEmmanuel Vadot.Pp 416e69612dSEmmanuel VadotBy default the directory is created under 426e69612dSEmmanuel Vadot.Pa /var/run/xdg/<username> . 436e69612dSEmmanuel Vadot.Pp 446e69612dSEmmanuel VadotThe following option may be passed to the authentication module: 45*6aee1dc4SMaxim Konovalov.Bl -tag -width ".Cm runtime_dir_prefix" 46*6aee1dc4SMaxim Konovalov.It Cm runtime_dir_prefix Ns = Ns Ar directory 476e69612dSEmmanuel VadotUse an alternate base directory 486e69612dSEmmanuel Vadot.El 496e69612dSEmmanuel Vadot.Sh SEE ALSO 506e69612dSEmmanuel Vadot.Xr pam 3 , 516e69612dSEmmanuel Vadot.Xr pam.conf 5 526e69612dSEmmanuel Vadot.Sh AUTHORS 536e69612dSEmmanuel VadotThe 546e69612dSEmmanuel Vadot.Nm 556e69612dSEmmanuel Vadotmodule and this manual page were written by 566e69612dSEmmanuel Vadot.An Emmanuel Vadot Aq Mt manu@FreeBSD.org . 57