diff options
author | jpaetzel <jpaetzel@FreeBSD.org> | 2016-01-07 05:34:39 +0000 |
---|---|---|
committer | jpaetzel <jpaetzel@FreeBSD.org> | 2016-01-07 05:34:39 +0000 |
commit | 57f950f66144ba13aa49313465c1a278e1268cbc (patch) | |
tree | d02b78d23d4cc6ff5acb62d5e897483a50d59408 /usr.sbin/mountd/exports.5 | |
parent | cbad85009dc5a9ad56a8247e468426907bb9e600 (diff) | |
download | FreeBSD-src-57f950f66144ba13aa49313465c1a278e1268cbc.zip FreeBSD-src-57f950f66144ba13aa49313465c1a278e1268cbc.tar.gz |
Allow /etc/exports to contain usernames/groups with spaces in them.
If you are getting your users/groups from a directory service such
as LDAP or AD it's possible for those usernames or groupnames to
contain spaces.
Submitted by: Sean E. Fagan
Reviewed by: rmacklem
MFC after: 1 week
Sponsored by: iXsystems
Diffstat (limited to 'usr.sbin/mountd/exports.5')
-rw-r--r-- | usr.sbin/mountd/exports.5 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/mountd/exports.5 b/usr.sbin/mountd/exports.5 index 88e2219..018a865 100644 --- a/usr.sbin/mountd/exports.5 +++ b/usr.sbin/mountd/exports.5 @@ -131,6 +131,7 @@ The credential includes all the groups to which the user is a member on the local machine (see .Xr id 1 ) . The user may be specified by name or number. +The user string may be quoted, or use backslash escaping. .Pp .Sm off .Fl maproot Li = Sy user:group1:group2:... @@ -140,6 +141,7 @@ to be used for remote access by root. The elements of the list may be either names or numbers. Note that user: should be used to distinguish a credential containing no groups from a complete credential for that user. +The group names may be quoted, or use backslash escaping. .Pp .Sm off .Fl mapall Li = Sy user |