From eaaffd96a4b3c1e6217f926cedc2feb69a073b4e Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Wed, 15 Oct 2025 01:39:09 +0200 Subject: Clarify setup instructions without PAM - Mention that using a TCB-like setup doesn't require SUID. - Recommend using SGID instead of SUID. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meson.build') 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 -- cgit v1.2.3