2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-13 09:50:19 +00:00

Format some of the wording in the configure password documentation

This commit is contained in:
Victor Hu
2017-05-09 15:58:38 -04:00
parent 60eb9287bf
commit 831c2824a1

View File

@ -3,46 +3,41 @@ Configure passwords
#. Configure the system password for the ``root`` user on the compute nodes.
* Set using the :doc:`chtab </guides/admin-guides/references/man8/chtab.8>` command: (**Recommended**) ::
* Set using the :doc:`chtab </guides/admin-guides/references/man8/chtab.8>` command: ::
chtab key=system passwd.username=root passwd.password=abc123
chtab key=system passwd.username=root passwd.password=abc123
To encrypt the password using ``openssl``, use the following command: ::
To encrypt the password using ``openssl``, use the following command: ::
chtab key=system passwd.username=root passwd.password=`openssl passwd -1 abc123`
* Directly edit the passwd table using the :doc:`tabedit </guides/admin-guides/references/man8/tabedit.8>` command.
chtab key=system passwd.username=root passwd.password=`openssl passwd -1 abc123`
#. Configure the passwords for Management modules of the compute nodes.
* For IPMI/BMC managed systems: ::
chtab key=ipmi passwd.username=USERID passwd.password=PASSW0RD
chtab key=ipmi passwd.username=ADMIN passwd.password=admin
* For HMC managed systems: ::
chtab key=hmc passwd.username=hscroot passwd.password=abc123
The username and password for the HMC can be assigned directly to the HMC node object definition in xCAT. This is needed when the HMC username/password is different for each HMC. ::
mkdef -t node -o hmc1 groups=hmc,all nodetype=ppc hwtype=hmc mgt=hmc \
username=hscroot password=hmcPassw0rd
If the username/password is different for multiple HMCs, set the ``username`` and ``password`` attribute for each HMC node object in xCAT
* For Blade managed systems: ::
chtab key=blade passwd.username=USERID passwd.password=PASSW0RD
* For FSP/BPA (Flexible Service Processor/Bulk Power Assembly), if the passwords are set to the factory defaults, you must change them before running and commands to them. ::
* For FSP/BPA (Flexible Service Processor/Bulk Power Assembly) the factory default passwords must be changed before running commands against them. ::
rspconfig frame general_passwd=general,<newpassword>
rspconfig frame admin_passwd=admin,<newpassword>
rspconfig frame HMC_passwd=,<newpassword>
#. If the REST API is being used configure a user and set a policy rule in xCAT.
#. If using the xCAT REST API
#. Create a non root user that will be used to make the REST API calls. ::
#. Create a non-root user that will be used to make the REST API calls. ::
useradd xcatws
passwd xcatws # set the password
@ -56,4 +51,4 @@ Configure passwords
mkdef -t policy 6 name=xcatws rule=allow
When making calls to the xCAT REST API, pass in the credentials using the following attributes: ``userName`` and ``userPW``
When making calls to the xCAT REST API, pass in the credentials using the following attributes: ``userName`` and ``userPW``