From 06476556a78fa9ed81948fcacdc07c808db39661 Mon Sep 17 00:00:00 2001 From: "Andrey V.Kosteltsev" Date: Sat, 24 Sep 2022 17:36:37 +0300 Subject: Add id command --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index c950f40..885883a 100644 --- a/src/main.c +++ b/src/main.c @@ -61,6 +61,7 @@ COMMAND shell_admin_list[] = { { "delete", com_delete, "Delete FILE" }, { "list", com_ls, "List files in DIR" }, { "ls", com_ls, "Synonym for `list'" }, + { "id", com_id, "Print user identity" }, { "ping", com_ping, "Ping some host" }, { "pwd", com_pwd, "Print the current working directory" }, { "rename", com_rename, "Rename FILE to NEWNAME" }, @@ -79,6 +80,7 @@ COMMAND shell_operator_list[] = { { "delete", com_delete, "Delete FILE" }, { "list", com_ls, "List files in DIR" }, { "ls", com_ls, "Synonym for `list'" }, + { "id", com_id, "Print user identity" }, { "ping", com_ping, "Ping some host" }, { "pwd", com_pwd, "Print the current working directory" }, { "rename", com_rename, "Rename FILE to NEWNAME" }, @@ -97,6 +99,7 @@ COMMAND shell_user_list[] = { { "delete", com_delete, "Delete FILE" }, { "list", com_ls, "List files in DIR" }, { "ls", com_ls, "Synonym for `list'" }, + { "id", com_id, "Print user identity" }, { "ping", com_ping, "Ping some host" }, { "pwd", com_pwd, "Print the current working directory" }, { "rename", com_rename, "Rename FILE to NEWNAME" }, -- cgit v1.2.3