]> granicus.if.org Git - shadow/blob - lib/exitcodes.h
updated to 360t71f. Thanks to Leandro Azevedo <leorock182@gmail.com>.
[shadow] / lib / exitcodes.h
1 /* $Id$ */
2
3 /*
4  * Exit codes used by shadow programs
5  */
6 #define E_SUCCESS               0       /* success */
7 #define E_NOPERM                1       /* permission denied */
8 #define E_USAGE                 2       /* invalid command syntax */
9 #define E_BAD_ARG               3       /* invalid argument to option */
10 #define E_PASSWD_NOTFOUND       14      /* not found password file */
11 #define E_SHADOW_NOTFOUND       15      /* not found shadow password file */
12 #define E_GROUP_NOTFOUND        16      /* not found group file */
13 #define E_GSHADOW_NOTFOUND      17      /* not found shadow group file */
14 #define E_CMD_NOEXEC            126     /* can't run command/shell */
15 #define E_CMD_NOTFOUND          127     /* can't find command/shell to run */