diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-11-27 09:13:30 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-03 12:54:20 +0000 |
commit | 6032dcdb32b99b5144cd9a8afdd801b6c4f3f873 (patch) | |
tree | fae14bcc3377527e6f92493200a096b418317cee /documentation/ref-manual/ref-variables.xml | |
parent | affd9bf773a2cfde20be2e836aca20b4c15dbfc8 (diff) | |
download | poky-6032dcdb32b99b5144cd9a8afdd801b6c4f3f873.tar.gz |
ref-manual: Added extrausers class and EXTRA_USERS_PARAMS variable.
(From yocto-docs rev: e339505941f620ff74cd1bdd5f652c341baf2aad)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 22a0505523..70d510887a 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -1788,6 +1788,40 @@ | |||
1788 | </glossdef> | 1788 | </glossdef> |
1789 | </glossentry> | 1789 | </glossentry> |
1790 | 1790 | ||
1791 | <glossentry id='var-EXTRA_USERS_PARAMS'><glossterm>EXTRA_USERS_PARAMS</glossterm> | ||
1792 | <glossdef> | ||
1793 | <para> | ||
1794 | When a recipe inherits the | ||
1795 | <link linkend='ref-classes-extrausers'><filename>extrausers</filename></link> | ||
1796 | class, this variable provides image level user and group | ||
1797 | operations. | ||
1798 | This is a more global method of providing user and group | ||
1799 | configuration as compared to using the | ||
1800 | <link linkend='ref-classes-useradd'><filename>useradd</filename></link> | ||
1801 | class, which ties user and group configurations to a | ||
1802 | specific recipe. | ||
1803 | </para> | ||
1804 | |||
1805 | <para> | ||
1806 | The set list of commands you can configure using the | ||
1807 | <filename>EXTRA_USERS_PARAMS</filename> is shown in the | ||
1808 | <filename>extrausers</filename> class. | ||
1809 | These commands map to the normal Unix commands of the same | ||
1810 | names: | ||
1811 | <literallayout class='monospaced'> | ||
1812 | # EXTRA_USERS_PARAMS = "\ | ||
1813 | # useradd -p '' tester; \ | ||
1814 | # groupadd developers; \ | ||
1815 | # userdel nobody; \ | ||
1816 | # groupdel -g video; \ | ||
1817 | # groupmod -g 1020 developers; \ | ||
1818 | # usermod -s /bin/sh tester; \ | ||
1819 | # " | ||
1820 | </literallayout> | ||
1821 | </para> | ||
1822 | </glossdef> | ||
1823 | </glossentry> | ||
1824 | |||
1791 | </glossdiv> | 1825 | </glossdiv> |
1792 | 1826 | ||
1793 | <glossdiv id='var-glossary-f'><title>F</title> | 1827 | <glossdiv id='var-glossary-f'><title>F</title> |