I would like to restrict PermitRootLogin in the SSHD config. Therefore I need to create some new users who have access to SSH into some individual ESX 4 boxes. How can I go about accomplishing this? Is it as straight forward as just doing a useradd command from the shell? Thanks!
Yes it is that straightforward - you can also add users through the vSphere client when connected directly to the ESX host -
If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Thanks much. I was just making sure that there wasn't anything else that had to be done.
If you restrict SSH access for root, which you should, then useradd should be fine for new users. To get admin privileges they can can use Sudo or Su - for root access.
Mike
Yeah thats generally best practice for most Linux boxes. When I upgraded from 3.5 to 4.0, it appears like I either left off the option to add new users or I was never prompted. I am in the process of locking down most of these servers right now. This is the newest list item I am working on. Thanks for the input.