Hi.
Strange situation. This instance runs DA on Amazon EC2.
Amazon only allows ssh access as 'centos' user. (System runs centOS)
But, in the sshd_config the 'Allowed users' section looks like this:
AllowUsers root
AllowUsers admin
AllowUsers XX
AllowUsers centosAllowUsers XXX
Instead of this:
AllowUsers root
AllowUsers admin
AllowUsers XX
AllowUsers centos
AllowUsers XXX
And to be able to edit this file via the DA interface we need the 'root' password, but we only have the Admin password as we access root privileges by 'sudo su'. So we can't edit this file without root pass.
Any ideas? What are our options?
Thanks!
Strange situation. This instance runs DA on Amazon EC2.
Amazon only allows ssh access as 'centos' user. (System runs centOS)
But, in the sshd_config the 'Allowed users' section looks like this:
AllowUsers root
AllowUsers admin
AllowUsers XX
AllowUsers centosAllowUsers XXX
Instead of this:
AllowUsers root
AllowUsers admin
AllowUsers XX
AllowUsers centos
AllowUsers XXX
And to be able to edit this file via the DA interface we need the 'root' password, but we only have the Admin password as we access root privileges by 'sudo su'. So we can't edit this file without root pass.
Any ideas? What are our options?
Thanks!