[elbe-devel] [PATCH v1 12/16] schema: dbsfed.xsd: adduser
Viraj Shah
viraj.shah at linutronix.de
Thu Aug 25 15:49:35 CEST 2022
* Update documentation for the finetuning action "adduser".
Signed-off-by: Viraj Shah <viraj.shah at linutronix.de>
---
schema/dbsfed.xsd | 101 ++++++++++++++++++++++++++++++----------------
1 file changed, 67 insertions(+), 34 deletions(-)
diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index 5d7b8047d..02f9fb7a8 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -2616,44 +2616,77 @@
<complexType name="adduser">
<annotation>
<documentation>
- describes an additional user account, the following parameters are
- available:
- 'shell' - the login shell for the user.
- 'passwd_hashed' - the (optional) hashed password for the user.
- 'groups' - a comma separated list of groups the user is member of.
- 'uid' - (optional) user of the user.
- 'gid' - (optional) primary group, may be numeric or a name.
- 'home' - home directory.
- 'system="True"' - system user.
- 'create_home="False"' - do not create the home directory.
- 'create_group = "False"' - Do not create the primary group.
- The value of the tag describes the login name for the account.
+ Adds an additional user account for the rfs.
+ It creates a new user or updates default new user information.
</documentation>
</annotation>
<simpleContent>
<extension base="rfs:string">
- <attribute name="shell" type="string" use="required" />
- <attribute name="passwd_hashed" type="string" use="optional" />
- <attribute name="groups" type="string" use="optional" />
- <attribute name="uid" type="string" use="optional" />
- <attribute name="gid" type="string" use="optional" />
- <attribute name="home" type="string" use="optional" />
- <attribute name="system" type="boolean" use="optional" />
- <attribute name="create_home" type="boolean" use="optional" />
- <attribute name="create_group" type="boolean" use="optional" />
- </extension>
- </simpleContent>
- </complexType>
-
- <complexType name="cpmv">
- <annotation>
- <documentation>
- describes a copy or move of an element in the rootfilesystem
- </documentation>
- </annotation>
- <simpleContent>
- <extension base="rfs:string">
- <attribute name="path" type="string" use="required" />
+ <attribute name="shell" type="string" use="required">
+ <annotation>
+ <documentation>
+ 'shell' - the login shell for the user.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="passwd_hashed" type="string" use="optional">
+ <annotation>
+ <documentation>
+ 'passwd_hashed' - the (optional) hashed password for the user.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="groups" type="string" use="optional">
+ <annotation>
+ <documentation>
+ 'groups' - a comma separated list of groups the user is member of.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="uid" type="string" use="optional">
+ <annotation>
+ <documentation>
+ 'uid' - give user id for the required user.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="gid" type="string" use="optional">
+ <annotation>
+ <documentation>
+ 'gid' - (optional) primary group, may be numeric or a name.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="home" type="string" use="optional">
+ <annotation>
+ <documentation>
+ 'home' - The new user will be created using this value as a home directory.
+ This can be used as user's login directory.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="system" type="boolean" use="optional">
+ <annotation>
+ <documentation>
+ "system" needs to be True by default to create a new system account.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="create_home" type="boolean" use="optional">
+ <annotation>
+ <documentation>
+ 'create_home' needs to be False to not create a home directory.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="create_group" type="boolean" use="optional">
+ <annotation>
+ <documentation>
+ 'create_group' needs to be "False" to not create a group with same
+ name as the user.
+ </documentation>
+ </annotation>
+ </attribute>
</extension>
</simpleContent>
</complexType>
--
2.30.2
More information about the elbe-devel
mailing list