userspace: Add nologin "shell"
This commit is contained in:
parent
755d41ca4e
commit
e473118ec8
|
@ -23,6 +23,7 @@ set(USERSPACE_PROGRAMS
|
|||
ls
|
||||
meminfo
|
||||
mkdir
|
||||
nologin
|
||||
nslookup
|
||||
poweroff
|
||||
ProgramLauncher
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
||||
add_executable(nologin ${SOURCES})
|
||||
banan_link_library(nologin ban)
|
||||
banan_link_library(nologin libc)
|
||||
|
||||
install(TARGETS nologin OPTIONAL)
|
|
@ -0,0 +1,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("This account is currently not available.\n");
|
||||
return 1;
|
||||
}
|
Loading…
Reference in New Issue