typecd_ec: Add typecd_ec user and group

This is used by the debugd EC Type C tool to run ectool commands (typecd
calls these through D-Bus).

BUG=b:171725237
TEST=display-accts.py --lint

Cq-Depend: chromium:2587517
Change-Id: I8ff21813a723cba62d0a14ca5d5844df6f412a09
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/eclass-overlay/+/2585851
Tested-by: Prashant Malani <pmalani@chromium.org>
Commit-Queue: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
diff --git a/profiles/base/accounts/group/cros_ec-access b/profiles/base/accounts/group/cros_ec-access
index e4809fb..53dadb0 100644
--- a/profiles/base/accounts/group/cros_ec-access
+++ b/profiles/base/accounts/group/cros_ec-access
@@ -1,6 +1,6 @@
 group:cros_ec-access
 gid:416
 # This group is to grant rw access of /dev/cros_ec to runtime_probe, healthd_ec,
-# and power because the binaries they run need access for probing information
-# w/o being root.
-users:runtime_probe,healthd_ec,power
+# typecd_ec and power because the binaries they run need access for probing
+# information w/o being root.
+users:runtime_probe,healthd_ec,power,typecd_ec
diff --git a/profiles/base/accounts/group/typecd_ec b/profiles/base/accounts/group/typecd_ec
new file mode 100644
index 0000000..c59ed86
--- /dev/null
+++ b/profiles/base/accounts/group/typecd_ec
@@ -0,0 +1,3 @@
+group:typecd_ec
+gid:20168
+users:typecd_ec
diff --git a/profiles/base/accounts/user/typecd_ec b/profiles/base/accounts/user/typecd_ec
new file mode 100644
index 0000000..84b36df
--- /dev/null
+++ b/profiles/base/accounts/user/typecd_ec
@@ -0,0 +1,6 @@
+user:typecd_ec
+uid:20168
+gid:20168
+gecos:User for accessing ectool within debugd for USB Type C functionality.
+home:/dev/null
+shell:/bin/false