cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
895
Views
5
Helpful
2
Replies

IMP OS Admin password utilizing part of username

mumbles202
Level 5
Level 5

Is there a way to get the password to contain part of the username?  As in username is admin, password is @dm1n123?  I know during install I can do this but keyed in the incorrect credentials and now when i go to reset the password via the CLI I get an error that it's a BAD PASSWORD because it contains part of the username.  I imagine TAC can do this if needed, just didn't want to have to re-install the entire OS if i could avoid it since it's on the IMP Pub. 

2 Replies 2

Mike_Brezicky
Cisco Employee
Cisco Employee
Not likely - there are certain policies in place that will disallow password changes (username, dictionary word, etc.) If these hold true, I dont think TAC would be allowed, even if capable, to set passwords that violate these policies.

Miguel E Castillo Torres
Cisco Employee
Cisco Employee

Hi!

 

As it has been said, it is recommended not to use passwords that resemble words or a sequence of numbers. Which is explained here:

https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/install/11_5_1/cucm_b_installation-guide-cucm-imp-1151/cucm_b_installation-guide-cucm-imp-1151_chapter_010.html#CUCM_RF_PBE44236_00

 

However, it is possible to use that password [@dm1n123] on a different user. The steps to perform that are the following:

  1. On the IM&P's CLI run set account name name
    1. You'll be prompted to set a privilege: 0 or 1, Ordinary or Advanced.
    2. You'll be prompted to set a password, keep in mind that this password will be changed as soon as you log in with the new user, so you can try putting a generic password.
  2. Log in to the CLI with the new user created, the following message will be prompted:
    1. login as: admin
      admin@10.3.85.23's password:
      WARNING: Your password has expired.
      You must change your password now and login again!
      Changing password for user admin.
      Changing password for admin.
      (current) UNIX password:
      new password: here you can write @dm1n123 make sure that this password hasn't been used before.
    2. After setting the new password the session will end and you will need to re log in with the new password.
  3. This procedure was tested in my lab successfully.

Information regarding the set account name command: https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/cli_ref/11_0_1/CUCM_BK_C93262BC_00_cucm-cli-reference-guide-1101/CUCM_BK_C93262BC_00_cucm-cli-reference-guide-11_chapter_0110.html#CUCM_CL_S108E423_00

Regards, Miguel Castillo