summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorHugo Osvaldo Barrera <hugo@whynothugo.nl>2025-10-15 01:39:09 +0200
committerKenny Levinsen <kl@kl.wtf>2025-10-15 11:02:24 +0200
commiteaaffd96a4b3c1e6217f926cedc2feb69a073b4e (patch)
tree00cc157f734a8ab032566938f81da3932357dace /meson.build
parent56c5025e9584c673031519a9a6109cff0056b827 (diff)
Clarify setup instructions without PAM
- Mention that using a TCB-like setup doesn't require SUID. - Recommend using SGID instead of SUID.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index b4f9031..17d7d1a 100644
--- a/meson.build
+++ b/meson.build
@@ -110,8 +110,9 @@ if libpam.found()
sources += ['pam.c']
dependencies += [libpam]
else
- warning('The swaylock binary must be setuid when compiled without libpam')
+ warning('The swaylock binary often needs to be setuid when compiled without libpam')
warning('You must do this manually post-install: chmod a+s /path/to/swaylock')
+ warning('See the "Without PAM" section of the README for details.')
sources += ['shadow.c']
dependencies += [crypt]
endif