login user get default privilege

Answered Question

Hello,


I have played a bit with assigning different privilege level to a user, but seems not working because always get the default level assigned to the particular line.

Config:

username dummy privilege 7 password dummy

aaa authentication login enhanced local

!

line vty 1

login authentication enhanced


after login into the router through line 1 with the dummy user I get privilege level 1.


Line User Host(s) Idle Location

2 vty 0 idle 00:00:50

* 3 vty 1 dummy idle 00:00:00


router>s priv

Current privilege level is 1


Is it a bug or i have missed something?


Thanks,

Krisztian









Correct Answer by Edison Ortiz about 10 years 6 hours ago

You are missing the authorization piece of the AAA.


aaa authorization exec enhanced local if-authenticated



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Edison Ortiz Mon, 07/23/2007 - 07:22
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

You are missing the authorization piece of the AAA.


aaa authorization exec enhanced local if-authenticated



Jagdeep Gambhir Mon, 07/23/2007 - 10:35
User Badges:
  • Red, 2250 points or more

Hi ,

Since you are using named method list, that is why you had to add it in particular line.



Regards,

~JG



Pavel Bykov Mon, 07/23/2007 - 12:38
User Badges:
  • Silver, 250 points or more

Yes, if you would use method that is named "default", you wouldn't have to configure it under the line, only in global.

Actions

This Discussion