11-20-2008 01:01 PM - edited 03-10-2019 04:12 PM
Is it possible to hide commands for lower privilege levels?
Thanks,
John
11-20-2008 01:39 PM
I figured it out, so I'm going to let everyone know for those that don't.
If you have a user who has priv level 3, then the commands that you want to hide need to be configured for a higher priv level.
Running a '?' at the # prompt came up with a slew of commands to run, but wouldn't because they weren't granted access. I wanted to hide these, and in order to do so I did:
Router(config)# priv exec level 5 telnet
That hides the telnet command for priv level 3.
HTH,
John
11-22-2008 05:48 AM
11-24-2008 12:43 PM
depending on what yo'ure trying to accomplish, sometimes its easier to go the other direction...
assign someone a lower privelege, then lower the privelege of the commands you want them to have.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide