accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher <>
Subject Re: how do I list user permissions per table
Date Fri, 23 Sep 2016 21:39:17 GMT
Currently, there's no single command to run to list permissions for a
particular table.
However, you can iterate through the users, and get the list of table
permissions per user.

I did something like:

for x in $(bin/accumulo shell -u root -p "$PASS" -e users | grep -v
"^$(date +%Y)"; do
  output=$(bin/accumulo shell -u root -p "$PASS" -e "userpermissions -u $x"
| fgrep "($TABLENAME)")
  if [[ $? -eq 0 ]]; then
    echo "$x has $output"

The "grep -v" was to filter out the timestamped log4j messages. That may or
may not be necessary for you, depending on your client's log4j

Hope that helps.

On Fri, Sep 23, 2016 at 2:33 PM Jeff Kubina <> wrote:

> From the accumulo shell how do I list all the users who have access to a
> specific table?

View raw message