1 <samba:parameter name="force user"
3 xmlns:samba="http://samba.org/common">
5 <para>This specifies a UNIX user name that will be
6 assigned as the default user for all users connecting to this service.
7 This is useful for sharing files. You should also use it carefully
8 as using it incorrectly can cause security problems.</para>
10 <para>This user name only gets used once a connection is established.
11 Thus clients still need to connect as a valid user and supply a
12 valid password. Once connected, all file operations will be performed
13 as the "forced user", no matter what username the client connected
14 as. This can be very useful.</para>
16 <para>In Samba 2.0.5 and above this parameter also causes the
17 primary group of the forced user to be used as the primary group
18 for all file activity. Prior to 2.0.5 the primary group was left
19 as the primary group of the connecting user (this was a bug).</para>
21 <para>See also <link linkend="FORCEGROUP"><parameter moreinfo="none">force group</parameter></link></para>
23 <para>Default: <emphasis>no forced user</emphasis></para>
25 <para>Example: <command moreinfo="none">force user = auser</command></para>