]> andersk Git - nss_nonlocal.git/blame - README
Document nss-nonlocal-users and nss-local-users
[nss_nonlocal.git] / README
CommitLineData
f6903667
AK
1This is nss_nonlocal, an nsswitch module that acts as a proxy for other
2nsswitch modules like hesiod, but prevents non-local users from
3potentially gaining local privileges by spoofing local UIDs and GIDs.
4
5To use it, configure /etc/nsswitch.conf as follows:
6
7passwd: compat nonlocal
8passwd_nonlocal: hesiod
9group: compat nonlocal
10group_nonlocal: hesiod
96a1ee0f 11
6ca16423
AK
12The module also assigns special properties to two local groups, if
13they exist:
14
15• If the local group ‘nss-nonlocal-users’ exists, then nonlocal users
16 will be automatically added to it.
17
18• If the local group ‘nss-local-users’ exists, then local users will
19 be automatically added to it.
20
96a1ee0f
AK
21Copyright © 2007–2010 Anders Kaseorg <andersk@mit.edu> and Tim Abbott
22<tabbott@mit.edu>
23
24nss_nonlocal is free software; you can redistribute it and/or modify
25it under the terms of the GNU Lesser General Public License as
26published by the Free Software Foundation; either version 2.1 of the
27License, or (at your option) any later version.
28
29nss_nonlocal is distributed in the hope that it will be useful, but
30WITHOUT ANY WARRANTY; without even the implied warranty of
31MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
32Lesser General Public License for more details.
33
34You should have received a copy of the GNU Lesser General Public
35License along with nss_nonlocal; if not, write to the Free Software
36Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
3702110-1301 USA
This page took 0.691607 seconds and 5 git commands to generate.