[OpenIndiana-discuss] remote root login failing .. even after edits to sshd_config
hput
hput3 at fastmail.fm
Fri Nov 22 20:33:56 UTC 2024
"Goetz T. Fischer via openindiana-discuss"
<openindiana-discuss at openindiana.org> writes:
> On Wed, 20 Nov 2024 18:32:48 -0500, Harry Putnam wrote:
>> Further, if it was related to the setting shown in user_attr above,
>> My user would not be able to
>> login to root like:
>> ssh root at localhost either. And user can do that.
>
> if you wanna rule that out simply run:
>
> rolemod -K type=normal root
>
> on the target box.
Yes and I did that before posting.
Also confirmed the necessity of doing that when I reinstalled oi.
I did the edit to /etc/sshd_config; restarted ssh
But did not do "rolemod -K type=normal root".
I tried to login as root and could not until I did the rolemod edit to
etc/user_attr.
At least all is well now.
More information about the openindiana-discuss
mailing list