
with a different effective group. If the -g option is specified without -u the command will be run as the current user (only the group will change). the -g and -u options may be used together. TODO: implement runas group for ldap improve runas group documentation add testsudoers support
41 lines
894 B
C
41 lines
894 B
C
#define COMMAND 257
|
|
#define ALIAS 258
|
|
#define DEFVAR 259
|
|
#define NTWKADDR 260
|
|
#define NETGROUP 261
|
|
#define USERGROUP 262
|
|
#define WORD 263
|
|
#define DEFAULTS 264
|
|
#define DEFAULTS_HOST 265
|
|
#define DEFAULTS_USER 266
|
|
#define DEFAULTS_RUNAS 267
|
|
#define DEFAULTS_CMND 268
|
|
#define NOPASSWD 269
|
|
#define PASSWD 270
|
|
#define NOEXEC 271
|
|
#define EXEC 272
|
|
#define SETENV 273
|
|
#define NOSETENV 274
|
|
#define ALL 275
|
|
#define COMMENT 276
|
|
#define HOSTALIAS 277
|
|
#define CMNDALIAS 278
|
|
#define USERALIAS 279
|
|
#define RUNASALIAS 280
|
|
#define ERROR 281
|
|
#ifndef YYSTYPE_DEFINED
|
|
#define YYSTYPE_DEFINED
|
|
typedef union {
|
|
struct cmndspec *cmndspec;
|
|
struct defaults *defaults;
|
|
struct member *member;
|
|
struct runascontainer *runas;
|
|
struct privilege *privilege;
|
|
struct sudo_command command;
|
|
struct cmndtag tag;
|
|
char *string;
|
|
int tok;
|
|
} YYSTYPE;
|
|
#endif /* YYSTYPE_DEFINED */
|
|
extern YYSTYPE yylval;
|