summaryrefslogtreecommitdiff
path: root/util-linux/nologin.c
blob: 5a8b047a531799b6601a028a9bb9b7868435dd39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//config:config NOLOGIN
//config:	bool "nologin"
//config:	default y
//config:	depends on FEATURE_SH_EMBEDDED_SCRIPTS
//config:	help
//config:	Politely refuse a login
//config:
//config:config NOLOGIN_DEPENDENCIES
//config:	bool "Enable dependencies for nologin"
//config:	default n  # Y default makes it harder to select single-applet test
//config:	depends on NOLOGIN
//config:	select CAT
//config:	select ECHO
//config:	select SLEEP
//config:	help
//config:	nologin is implemented as a shell script. It requires the
//config:	following in the runtime environment:
//config:		cat echo sleep
//config:	If you know these will be available externally you can
//config:	disable this option.

//applet:IF_NOLOGIN(APPLET_SCRIPTED(nologin, scripted, BB_DIR_USR_SBIN, BB_SUID_DROP, nologin))

//usage:#define nologin_trivial_usage
//usage:	""
//usage:#define nologin_full_usage "\n\n"
//usage:	"Politely refuse a login"