Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
ironshirt
Explorer
Jump to solution

How to figure out if my user has adminRole or monitorRole

Hi Mates

 

I am in the process of seting up authentication for SSH access over RADIUS (ISE) instead of local Gaia users. So far it seems to work and i can login but how can i test when i am logged in, if my user has got the propper rba role (adminRole or monitorRole)?

In bash i can verify it with the "id" command which tells me either that i am a user or admin/root but i could not figure out how to make clish tell me which role i have got when i am logged in?

 

Regards and thanks

Mark

0 Kudos
2 Solutions

Accepted Solutions
PhoneBoy
Admin
Admin

As I don't believe there's a way to display that in clish, hitting the tab button at a prompt is probably the easiest thing to do.
clish only shows you the commands you have access to as the current logged in user.
For a user with monitorRole, it should be something like:

add - Add operation.
clear - clear the screen
commit - End transaction by committing changes.
delete - Delete operation.
exit - Exit from shell.
get - Sorry, no help available here.
help - Global help page.
history - Show command history.
load - Load operation.
lock - Enable exclusive access.
quit - Exit from shell.
rollback - End transaction by discarding changes.
save - Save operation.
set - Set operation.
show - Show operation.
start - Start operation.
unlock - Disable exclusive access.
ver - Display system versions

For an adminRole user, you will see a lot more commands. 

View solution in original post

0 Kudos
_Val_
Admin
Admin

Use "show rba..." command on CLISH

View solution in original post

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

As I don't believe there's a way to display that in clish, hitting the tab button at a prompt is probably the easiest thing to do.
clish only shows you the commands you have access to as the current logged in user.
For a user with monitorRole, it should be something like:

add - Add operation.
clear - clear the screen
commit - End transaction by committing changes.
delete - Delete operation.
exit - Exit from shell.
get - Sorry, no help available here.
help - Global help page.
history - Show command history.
load - Load operation.
lock - Enable exclusive access.
quit - Exit from shell.
rollback - End transaction by discarding changes.
save - Save operation.
set - Set operation.
show - Show operation.
start - Start operation.
unlock - Disable exclusive access.
ver - Display system versions

For an adminRole user, you will see a lot more commands. 

0 Kudos
_Val_
Admin
Admin

Use "show rba..." command on CLISH

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events