Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

Possible to hide commands?

Is it possible to hide commands for lower privilege levels?

Thanks,

John

HTH, John *** Please rate all useful posts ***
3 REPLIES

Re: Possible to hide commands?

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

HTH, John *** Please rate all useful posts ***

Re: Possible to hide commands?

Gold

Re: Possible to hide commands?

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.

121
Views
0
Helpful
3
Replies