1 <samba:parameter name="force user"
5 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
7 <para>This specifies a UNIX user name that will be
8 assigned as the default user for all users connecting to this service.
9 This is useful for sharing files. You should also use it carefully
10 as using it incorrectly can cause security problems.</para>
12 <para>This user name only gets used once a connection is established.
13 Thus clients still need to connect as a valid user and supply a
14 valid password. Once connected, all file operations will be performed
15 as the "forced user", no matter what username the client connected
16 as. This can be very useful.</para>
18 <para>In Samba 2.0.5 and above this parameter also causes the
19 primary group of the forced user to be used as the primary group
20 for all file activity. Prior to 2.0.5 the primary group was left
21 as the primary group of the connecting user (this was a bug).</para>
25 <related>force group</related>
26 <value type="default"/>
27 <value type="example">auser</value>