[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

Changing Passwords for Other Users on Cisco Routers

I have a strange situation. I login under user A in a cisco router, run the "password" and "enable secret" command, and yet my User A credentials remain the same. Can someone help?
0
JesusFreak42
Asked:
JesusFreak42
  • 2
1 Solution
 
AkinsdNetwork AdministratorCommented:
The password command or enable secret command only affects the default admin (Cisco) account

To edit your user accounts, use the following command
Username userA password password

You can also use other options
R4(config)#username UserA ?
  aaa                              AAA directive
  access-class               Restrict access by access-class
  autocommand          Automatically issue a command after the user logs in
  callback-dialstring    Callback dialstring
  callback-line              Associate a specific line with this callback
  callback-rotary         Associate a rotary group with this callback
  dnis                            Do not require password when obtained via DNIS
  nocallback-verify     Do not require authentication after callback
  noescape                  Prevent the user from using an escape character
  nohangup                 Do not disconnect after an automatic command
  nopassword             No password is required for the user to log in
  password                Specify the password for the user
  privilege                   Set user privilege level
  secret                      Specify the secret for the user
  user-maxlinks        Limit the user's number of inbound links
  view                         Set view name
  <cr>

Example

R4(config)#username UserA privilege 15 secret 0 password
0
 
JesusFreak42Author Commented:
Thanks!
0
 
JesusFreak42Author Commented:
Thanks for a very complete answer with other syntax hints.
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now