Creating a new user
About this task
If you do not have a user as mentioned in the PingIntelligence automated deployment preparation section, complete the following steps on all the provisioned host machines.
If you already have a user as described in Creating a new SSH user and configuring user authentication, start with Copying the PingIntelligence license.
Steps
-
Create an
ec2-user.The
hostsfile in the automation package hasec2-useras the default user.-
Optional: To create your own username, run the
#useradd ec2-usercommand.
-
-
Change the password by running the
#passwd ec2-usercommand.If you’re installing PingIntelligence software as a non-sudo user, skip steps 3-5.
-
Add the user to the wheel group by running the
#usermod -aG wheel ec2-usercommand. -
Configure passwordless
sudoaccess:#visudo %wheel ALL=(ALL) NOPASSWD: ALL
-
Verify the
/etc/ssh/sshd_configfile forPubKeyAuthentication.Troubleshooting:
If it is set to
no, then set it toyesand restartsshdservice by the#systemctl restart sshdcommand.