diff options
author | Andrey V.Kosteltsev <AKosteltsev@IBS.RU> | 2022-09-24 21:18:00 +0300 |
---|---|---|
committer | Andrey V.Kosteltsev <AKosteltsev@IBS.RU> | 2022-09-24 21:18:00 +0300 |
commit | 4d4bd1f1c468a0c580ec2c2bff0dbd9b00fd106d (patch) | |
tree | 32aabdbd72ded46c44bbfd20db54f67e501f71c1 /src/commands.c | |
parent | ba5b49fecccc020d243ac64c6c99d54aa7044a66 (diff) | |
download | sila-shell-4d4bd1f1c468a0c580ec2c2bff0dbd9b00fd106d.tar.xz |
UI create only users which can be added into admin, operator,user groups
Diffstat (limited to 'src/commands.c')
-rw-r--r-- | src/commands.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands.c b/src/commands.c index 18d94aa..db26130 100644 --- a/src/commands.c +++ b/src/commands.c @@ -211,6 +211,7 @@ int com_ping( char *arg ) int com_useradd( char *arg ) { + /* temporary STUB. Should use busctl or REST */ if( !valid_argument( "useradd", arg ) ) return( 1 ); @@ -220,6 +221,7 @@ int com_useradd( char *arg ) int com_userdel( char *arg ) { + /* temporary STUB. Should use busctl or REST */ if( !valid_argument( "userdel", arg ) ) return( 1 ); @@ -229,6 +231,7 @@ int com_userdel( char *arg ) int com_userlist( char *arg ) { + /* temporary STUB. Should use busctl or REST */ if( !arg ) arg = ""; sprintf (syscom, "cat /etc/passwd | cut -f1 -d':' %s", arg); |