Whamcloud - gitweb
LU-6698 kernel: kernel update RHEL 6.6 [2.6.32-504.23.4.el6]
[fs/lustre-release.git] / lustre / doc / lctl-nodemap-modify.8
1 .TH lctl-nodemap-modify 8 "2015 Jan 20" Lustre "configuration utilities"
2 .SH NAME
3 lctl-nodemap-modify \- Modify a nodemap property.
4
5 .SH SYNOPSIS
6 .br
7 .B lctl nodemap_modify <--name nodemap_name> <--property property_name>
8 <--value value>
9 .br
10 .SH DESCRIPTION
11 .B nodemap_modify
12 modifies a property of the given nodemap.
13
14 .SH OPTIONS
15 .I nodemap_name
16 is the name of the nodemap to modify
17
18
19 .I property_name
20 is one of the following properties:
21 .PP
22 admin
23 .RS 4
24 Defaults to off. If set to on, then root will NOT be squashed. By default,
25 the root user is mapped to the value of squash_uid.
26 .RE
27 .PP
28 trusted
29 .RS 4
30 Defaults to off. If set to on, then user mapping will be disabled for all
31 non-root users. This means that the identities provided by the client will be
32 trusted to match the identities of the file system. By default, the client user
33 identities are mapped to the file system identities based on the nodemap rules.
34 .RE
35 .PP
36 squash_uid
37 .RS 4
38 Defaults to 99. The user ID that unknown users (if not trusted) and root (if not admin) should be mapped to.
39 .RE
40 .PP
41 squash_gid
42 .RS 4
43 Defaults to 99. The group ID that unknown groups (if not trusted) and root (if not admin) should be mapped to.
44 .RE
45
46 .I value
47 is the value to set for the property. Should be 0 or 1 for admin and trusted.
48
49 .SH EXAMPLES
50 .nf
51 # lctl nodemap_modify --name remotesite --property trusted --value 1
52 # lctl nodemap_modify --name remotesite --property admin --value 1
53 # lctl nodemap_modify --name otherremotesite --property squash_uid --value 101
54 .fi
55
56 .SH AVAILABILITY
57 .B lctl
58 is part of the
59 .BR Lustre (7)
60 filesystem package.
61 .SH SEE ALSO
62 .BR lustre (7),
63 .BR lctl-nodemap-activate (8),
64 .BR lctl-nodemap-add (8),
65 .BR lctl-nodemap-del (8),
66 .BR lctl-nodemap-add-range (8),
67 .BR lctl-nodemap-del-range (8),
68 .BR lctl-nodemap-add-idmap (8),
69 .BR lctl-nodemap-del-idmap (8),