xref: /OK3568_Linux_fs/buildroot/docs/manual/customize-users-tables.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun// -*- mode:doc; -*-
2*4882a593Smuzhiyun// vim: set syntax=asciidoc:
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun[[customize-users]]
5*4882a593Smuzhiyun=== Adding custom user accounts
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunSometimes it is needed to add specific users in the target system.
8*4882a593SmuzhiyunTo cover this requirement, Buildroot provides support for so-called
9*4882a593Smuzhiyun_users tables_. To use this feature, set config option
10*4882a593Smuzhiyun+BR2_ROOTFS_USERS_TABLES+ to a space-separated list of users tables,
11*4882a593Smuzhiyunregular text files following the xref:makeuser-syntax[makeusers syntax].
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunAs shown in xref:customize-dir-structure[], the recommended location for
14*4882a593Smuzhiyunsuch files is +board/<company>/<boardname>/+.
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunIt should be noted that if the custom users are related to a specific
17*4882a593Smuzhiyunapplication, you should set variable +FOO_USERS+ in the package's +.mk+
18*4882a593Smuzhiyunfile instead (see xref:generic-package-reference[]).
19