Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ifreund/dumb_runtime_dir
Creates an XDG_RUNTIME_DIR on login and never removes it.
https://github.com/ifreund/dumb_runtime_dir
Last synced: 4 days ago
JSON representation
Creates an XDG_RUNTIME_DIR on login and never removes it.
- Host: GitHub
- URL: https://github.com/ifreund/dumb_runtime_dir
- Owner: ifreund
- License: 0bsd
- Created: 2021-12-24T19:56:34.000Z (almost 3 years ago)
- Default Branch: trunk
- Last Pushed: 2022-03-06T18:03:26.000Z (over 2 years ago)
- Last Synced: 2024-10-06T17:05:35.727Z (about 1 month ago)
- Language: C
- Homepage:
- Size: 14.6 KB
- Stars: 39
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dumb_runtime_dir
Creates an `XDG_RUNTIME_DIR` directory on login per the freedesktop.org
base directory spec. Flaunts the spec and never removes it, even after last
logout. This keeps things simple and predictable.The user is responsible for ensuring that the `RUNTIME_DIR_PARENT` directory
(`/run/user` by default) exists and is only writable by root.## PAM configuration
To enable the pam module, add the following recommended configuration to
`/etc/pam.d/system-login`:```
session optional pam_dumb_runtime_dir.so
```See also `pam.conf(5)`.
## Licensing
dumb_runtime_dir is released under the Zero Clause BSD license.