rolelst(8)

ROLELST(8) ROLELST(8)

NAME

rolelst - Print list of roles and priviledge

SYNOPSIS

rolelst [-n] [-V] [-f FILE.role | -S [ROLE]] [ROLE...]

DESCRIPTION

rolelst is utility prints current list of roles and privileges. The data is read from /etc/role file and starting from 0.5.0 version it is also /etc/role.d directory supported to allow installing separate role configurations, see role(5).

If ROLEs are given, only these roles are printed.

OPTIONS

-h [ --help ]
produce help message
-n [ --numeric ]
print GIDs instead of group names
-f [ --file=FILE.role ]
print roles from additional file /etc/role.d/FILE.role only
-S [ --system[=ROLE] ]
print system roles, i.e. roles described in /etc/role.d/ROLE.role files, or only the system role ROLE
-v [ --version ]
print the version of rolelst being used
-V [ --verbose ]
print data read from only /etc/role and after merge with /etc/role.d separately.

FILES

/etc/role, /etc/role.d/*.role

SEE ALSO

role(5), roleadd(8), roledel(8)

October 2026 libnss-role