cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fkengun
Fanfold Paper
Posts: 4
Registered: ‎06-27-2018
Location: US
Views: 5,067
Message 1 of 16

XCC username reset

I know the default username and password of the XCC web interface is USERID and PASSWORD with O replaced by number 0.

I firstly changed the password. Then I tried to changed the username. Probably because of a typo in username, I cannot log into the XCC anymore with the username I thought I set.

Is there a way to reset the username and password of the web interface?

fkengun
Fanfold Paper
Posts: 4
Registered: ‎06-27-2018
Location: US
Views: 5,030
Message 2 of 16

Re: XCC username reset

Will resetting BMC work?
Lenovo Employee naoym
Lenovo Employee
Posts: 127
Registered: ‎04-22-2015
Location: JP
Views: 4,989
Message 3 of 16

Re: XCC username reset

Hello.

If you can't login XCC due to fogot USERID/PASSWORD, you can restore XCC configuration to default from F1 setup menu.

 

Power-on system, and enter F1 setup menu during ThinkSystem Logo is appeared. After press F1, "Lenovo XClarity Provisioning Manager" menu will be appeared.

From left menu, select "uEFI Setup" => "BMC Settings" => "Reset Factory Defaults Setting" then enter to restore default.

 

After that all changed setting backed to default so you can login to XCC by using defaut USERID/PASSW0RD (0 is zero). 

  *if you are using static IP, also this setting have gone so check valid IP address after restore default) .

 

Thank you.

 

fkengun
Fanfold Paper
Posts: 4
Registered: ‎06-27-2018
Location: US
Views: 4,946
Message 4 of 16

Re: XCC username reset

What are the typical settings I will lose after the reset? Is there a list of available settings in BMC? I'm worrying about whether I can restore other settings the Lenovo technician did before. If the list is too long to restore for me, I would perfer to give up XCC.

Lenovo Employee naoym
Lenovo Employee
Posts: 127
Registered: ‎04-22-2015
Location: JP
Views: 4,927
Message 5 of 16

Re: XCC username reset

Hello.

 

For my understanding, typical XCC setting example are below. But these are quite depends on user's environment. 

like SMTP/SNMP, several user configure alert notification setting but not sure these are typical.  other security setting (LDAP, SSH certification key, etc) may be not typical.

 

If you have XCC config backup file collected from XCC before ,  you can restore config from backup file after restore default action.

 

USERID /Password

IP Address / subnet mask/ default gateway / DNS server /host name

Server Location info

Date and time  / NTP server

SNMP setting

SMTP setting

Alert notification setting

Power redundant policy (if changed)

 

 

One thing, if you are able to use OneCLI tool on your local OS, try to get defined user ID info by using OneCLI command.

 

Download OneCLI tool from below URL (select your appropriate OS one)

 

https://datacentersupport.lenovo.com/us/en/solutions/HT116433

 

Download/extact OneCLI package and move to extracted directly. then run following command.

Output may show existed USERID name on XCC.  At here, My system have "USERID1" and "SR530SNMP".

 

* Following are example under windows env.

 

***************************************************

C:\lnvgy_utl_lxce_onecli01p-2.3.0_winsrv_x86-64>OneCli.exe config show authentication


Lenovo XClarity Essentials OneCLI lxce_onecli01p-2.3.0
Licensed Materials - Property of Lenovo
(C) Copyright Lenovo Corp. 2013-2018 All Rights Reserved
If the parameters you input includes password, please Note that:
* The password must consist of a sequence of characters from `0-9a-zA-Z_-+.$%@!^&*()=` set
* Use "" to quote when password parameters include special characters
* Do not use reserved characters in path name when parameter contains path
Invoking SHOW command ...
Connected to the node(1) by KCS
IMM.LoginId.1=USERID1
IMM.LoginId.10=
IMM.LoginId.11=
IMM.LoginId.12=
IMM.LoginId.2=SR530SNMP
IMM.LoginId.3=
IMM.LoginId.4=
IMM.LoginId.5=
IMM.LoginId.6=
IMM.LoginId.7=
IMM.LoginId.8=
IMM.LoginId.9=
IMM.AuthorityLevel.1=Supervisor
IMM.AuthorityLevel.2=Supervisor
IMM.UserAccountManagementPriv.1=No
IMM.UserAccountManagementPriv.2=No
IMM.RemoteConsolePriv.1=No
IMM.RemoteConsolePriv.2=No
IMM.RemoteConsoleDiskPriv.1=No
IMM.RemoteConsoleDiskPriv.2=No
IMM.RemotePowerPriv.1=No
IMM.RemotePowerPriv.2=No
IMM.ClearEventLogPriv.1=No
IMM.ClearEventLogPriv.2=No
IMM.BasicAdapterConfigPriv.1=No
IMM.BasicAdapterConfigPriv.2=No
IMM.AdapterConfigNetworkSecurityPriv.1=No
IMM.AdapterConfigNetworkSecurityPriv.2=No
IMM.AdvancedAdapterConfigPriv.1=No
IMM.AdvancedAdapterConfigPriv.2=No
Success.

 

***************************************************

 

I hope it would be helpful for your situation. Thank you.

 

fkengun
Fanfold Paper
Posts: 4
Registered: ‎06-27-2018
Location: US
Views: 4,903
Message 6 of 16

Re: XCC username reset

Thank you for leading me to OneCLI. I got the username I thought I forgot. But it is the one I remember. I think I need to reset the password now. Is there a way to do it with OneCLI?

Lenovo Employee naoym
Lenovo Employee
Posts: 127
Registered: ‎04-22-2015
Location: JP
Views: 4,888
Message 7 of 16

Re: XCC username reset

Hello,

We can not touch password of user due to security policy. can't read, and can't set.

 

When you need to restore XCC configuration to default, one possible action is save current typical configuration to file by using OneCLI.

 

Run Following command on your local OS and save config to file.

 *not the all config are saved like USER ID, SSH cert info etc.

 

***********************************

C:\lnvgy_utl_lxce_onecli01p-2.3.0_winsrv_x86-64>onecli config save --file c:\configoutput.txt


Lenovo XClarity Essentials OneCLI lxce_onecli01p-2.3.0
Licensed Materials - Property of Lenovo
(C) Copyright Lenovo Corp. 2013-2018 All Rights Reserved
If the parameters you input includes password, please Note that:
* The password must consist of a sequence of characters from `0-9a-zA-Z_-+.$%@!^&*()=` set
* Use "" to quote when password parameters include special characters
* Do not use reserved characters in path name when parameter contains path
Invoking SAVE command ...
Connected to the node(1) by KCS
Succeed in saving settings to c:\configoutput.txt.
Success.

 

***********************************

    *file name "configoutput.txt" ise set as you like.

 

After that restore XCC config to detault.

Wait sevral minutes. all config(include IP address ) are back to default. so run following command and restore config to XCC.

 

***********************************

 C:\lnvgy_utl_lxce_onecli01p-2.3.0_winsrv_x86-64>onecli config restore --file c:\testconfig.txt


Lenovo XClarity Essentials OneCLI lxce_onecli01p-2.3.0
Licensed Materials - Property of Lenovo
(C) Copyright Lenovo Corp. 2013-2018 All Rights Reserved
If the parameters you input includes password, please Note that:
* The password must consist of a sequence of characters from `0-9a-zA-Z_-+.$%@!^&*()=` set
* Use "" to quote when password parameters include special characters
* Do not use reserved characters in path name when parameter contains path
Invoking RESTORE command ...
Connected to the node(1) by KCS
The detail information is saved to C:\lnvgy_utl_lxce_onecli01p-2.3.0_winsrv_x86-64\logs\OneCli-2428-20180709-132558\OneCli-config-restore-replicate-results20180709132618.txt.
Summary: 346 setting(s) succeed replicating
0 setting(s) fails to restore
You could refer to the result file to check the whole results
Success.

***********************************

 

Tnen, I think you can access to XCC by your defiled IP address. USERID/PASSW0RD are back to default.

After login, you restart XCC once (because configuration is restored).

 Not a all config but I think most typical configuration may back by saved config.

 

Thank you.

bx3m
Paper Tape
Posts: 8
Registered: ‎05-14-2018
Location: RO
Views: 1,452
Message 8 of 16

Re: XCC username reset

Hi, first of all, thank you for the extensive info regarding this matter. I am too in the same situation, when I forgot the USERID password that I've used, so I need to reset it to default.

I understand how to do it locally, but my greatest fear is to have some of the drivers installed reset to factory default, or some of the higher level settings also set to default. I don't care about IP or time zone, this is nothing, but I fear that it will reset also RAID configuration, drivers installed, etc., something that could affect the OS installed on the server and it's functionality. THis machine is used as a HyperV host (one of the 2 I have), and it is very important that I have it back up and running as soon as possible, since the 2 servers are running production in our lab.

Thanks!

Lenovo Employee ccchen
Lenovo Employee
Posts: 222
Registered: ‎09-03-2018
Location: US
Views: 1,401
Message 9 of 16

Re: XCC username reset

Hi bx3m,

 

The onecli config command listed in the threads only used to save the current BMC configuration, edited the password within the saved file, and then restore it to take the configuration effect to the BMC-based system.

It won't impact on the RAID configuration and the OS installed on the server.

bx3m
Paper Tape
Posts: 8
Registered: ‎05-14-2018
Location: RO
Views: 1,387
Message 10 of 16

Re: XCC username reset

Hi ccchen, thank you for your answer. I've used this command to get the config file:

C:\lnvgy_utl_lxce_onecli01p-2.3.0_winsrv_x86-64>onecli config save --file c:\configoutput.txt

However, I don't see any password section, or even the username. How can I edit this file, put some default password and then upload it to the server?

Thanks!

Check out current deals!


Shop current deals