diff options
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> |