summaryrefslogtreecommitdiffstats
path: root/usr/klibc/userdb/root_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/klibc/userdb/root_user.c')
-rw-r--r--usr/klibc/userdb/root_user.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/usr/klibc/userdb/root_user.c b/usr/klibc/userdb/root_user.c
new file mode 100644
index 0000000..ee2e99a
--- /dev/null
+++ b/usr/klibc/userdb/root_user.c
@@ -0,0 +1,17 @@
+/*
+ * root_user.c
+ *
+ */
+
+#include "userdb.h"
+#include <paths.h>
+
+const struct passwd __root_user = {
+ .pw_name = "root",
+ .pw_passwd = "",
+ .pw_uid = 0,
+ .pw_gid = 0,
+ .pw_gecos = "root",
+ .pw_dir = "/",
+ .pw_shell = _PATH_BSHELL
+};