[elbe-devel] [PATCH v1 05/15] dbsfed.xsd: adduser: add hashed password attribute

Holger Dengler holger at hdengler.de
Wed Jun 8 22:39:48 CEST 2022


Add an attribute to adduser for a hashed user password.

Signed-off-by: Holger Dengler <holger at hdengler.de>
---
 schema/dbsfed.xsd | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index e3c6f7fa6..dd9e246d4 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -2530,7 +2530,8 @@
         describes an additional user account, the following parameters are
 	available:
 	'shell' - the login shell for the user.
-	'passwd' - the (optional) password for the user.
+	'passwd' - the plain-text password for the user (optional).
+	'passwd_hashed' - the hashed password for the user (optional).
 	'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.
@@ -2545,6 +2546,7 @@
       <extension base="rfs:string">
         <attribute name="shell" type="string" use="required" />
         <attribute name="passwd" type="string" use="optional" />
+        <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" />
-- 
2.36.1



More information about the elbe-devel mailing list