summaryrefslogtreecommitdiffstats
path: root/sbin/nologin/nologin.c
blob: 2454df4bf785811e77c30fcc47e4b5175e244fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*-
 * This program is in the public domain.  I couldn't bring myself to
 * declare Copyright on a variant of Hello World.
 */

#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>

#define	MESSAGE	"This account is currently not available.\n"

int
main(int argc, char *argv[])
{

	write(STDOUT_FILENO, MESSAGE, sizeof(MESSAGE));
	_exit(1);
}
OpenPOWER on IntegriCloud