No option to select "No Login" in SSH settings
No option to select "No Login" in SSH settings
Hello all,
Just reinstalled VestaCp on my VPS running Centos 7. After configuring everything, I wanted to switch my users SSH access to "No Login" but all I see is SH and Bash.
Any pointers?
Just reinstalled VestaCp on my VPS running Centos 7. After configuring everything, I wanted to switch my users SSH access to "No Login" but all I see is SH and Bash.
Any pointers?
Re: No option to select "No Login" in SSH settings
Hi,
can you provide access to your server, we will check what happened.
can you provide access to your server, we will check what happened.
Re: No option to select "No Login" in SSH settings
Imperio,
I think I figured it out. For some reason my providers Centos 7 image was missing the "No Login" option.
The original file(etc/shells) had this:
I simply added:
at the bottom of the file and now I see "No Login" as an option.
Is this a proper fix?
Thanks again!
I think I figured it out. For some reason my providers Centos 7 image was missing the "No Login" option.
The original file(etc/shells) had this:
Code: Select all
/bin/sh
/bin/bash
/usr/bin/sh
/usr/bin/bash
Code: Select all
/sbin/nologin
Is this a proper fix?
Thanks again!
Re: No option to select "No Login" in SSH settings
Same problem. Centos 7, new install
Re: No option to select "No Login" in SSH settings
same problem, centos 7, today fresh install