cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2478
Views
3
Helpful
5
Replies

Can I disable some commands to privilege level 2 users?

s.souroutis
Level 1
Level 1

Hello,

I am trying to configure some users with different privileges on a 7505 router.

I'm using the aaa method local on the 7505.

I'm not using a RADIUS or TACACS server.

I did create some users with privilege level 15 and some with privilege level 2 but I want some users to have access only on the show command.

The problem is that if a level 2 user has the level 15 enable password he can have full access. I want to disable the command enable 15 for all privilege level 2 users.

Can I do that?

Thank you

2 Accepted Solutions

Accepted Solutions

didier.wiroth
Level 1
Level 1

Hi,

This works for other commands (I don't have cli to test right now), so this should work:

Move hte enable command to level 3 or any other upper level you want:

privilege exec level 3 enable

View solution in original post

Hi,

Moving the enable command to a different level should work but what you can also do is configure separate enable passwords for the various levels if the users at level 2 require some enable level commands.

enable secret level {0 |5} password-string

View solution in original post

5 Replies 5

didyap
Level 6
Level 6

Guess this can be done. Use the privilege exec command.

didier.wiroth
Level 1
Level 1

Hi,

This works for other commands (I don't have cli to test right now), so this should work:

Move hte enable command to level 3 or any other upper level you want:

privilege exec level 3 enable

Hi,

Moving the enable command to a different level should work but what you can also do is configure separate enable passwords for the various levels if the users at level 2 require some enable level commands.

enable secret level {0 |5} password-string

Thank you all. I used the privilege exec level 3 enable command to move the enable command to level 3. This works fine.

I have a Cisco router running aaa new-model authentication with local usernames. I have a username that I would like to have only access to the exec prompt only with the ability to execute the show run command. I've tried the suggestions in this thread but I seem to be missing something, because when I sign in with the username with privilege level 2 and with a enable secret level 2, I still have to use the default enable secret password eventually giving the username level 15 access.

Can someone suggest the commands I need to restrict a username to only the "show running-configuration" command?

Thanks for any help

Jeff