role_option
Package: WA2L/edrc 1.5.57
Section: General Commands (1)
Updated: 16 November 2020
Index
Return to Main Contents
NAME
role_option - resolve user role option
SYNOPSIS
edrc/bin/role_option
[
-h
]
role_option
[
-c cfg
]
-e environment
-r
role[,{role}]
-o option
role_option
[
-c cfg
]
-A
[
-e environment
] [
-r
role[,{role}]
] [
-o
option[,{option}]
]
role_option
[
-c cfg
]
-R
-e environment
AVAILABILITY
WA2L/edrc
DESCRIPTION
return the value of a certain option related to a role in an
environment.
This function is used to support a role based user
creation model based on role templates which can be defined in
the relating configuration file
role_option.cfg(4).
OPTIONS
- -h
-
usage message.
- -e environment
-
server environment name.
- -c configfile
-
configuration file
(default=/opt/edrc-DVLP/edrc/etc/role_option.cfg).
- -r role
-
list of roles separated by comma.
- -o option
-
option name.
- -R
-
list all defined roles.
- -A
-
list all defined options.
ENVIRONMENT
-
EXIT STATUS
- 2
-
operating system not supported.
- 4
-
usage printed.
- 6
-
config file
cfg
(default=edrc/etc/role_option.cfg)
not found.
FILES
- edrc/etc/role_option.cfg
-
role definition file.
EXAMPLES
-
SEE ALSO
edrcintro(1),
role_option.cfg(4),
NOTES
-
BUGS
-
AUTHOR
role_option was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2020
by Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:54:15 GMT, August 28, 2024