Page 1 of 1
No option to select "No Login" in SSH settings
Posted: Wed Dec 12, 2018 1:19 am
by misterpat
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?
Re: No option to select "No Login" in SSH settings
Posted: Wed Dec 12, 2018 10:06 am
by imperio
Hi,
can you provide access to your server, we will check what happened.
Re: No option to select "No Login" in SSH settings
Posted: Wed Dec 12, 2018 8:54 pm
by misterpat
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:
Code: Select all
/bin/sh
/bin/bash
/usr/bin/sh
/usr/bin/bash
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!
Re: No option to select "No Login" in SSH settings
Posted: Mon Dec 17, 2018 6:24 pm
by abst
Same problem. Centos 7, new install
Re: No option to select "No Login" in SSH settings
Posted: Fri Jan 18, 2019 9:40 am
by Lordbl4
same problem, centos 7, today fresh install