Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

No option to select "No Login" in SSH settings

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
misterpat
Posts: 16
Joined: Wed Jun 15, 2016 12:25 am

Os: CentOS 6x
Web: apache
No option to select "No Login" in SSH settings
  • Quote

Post by misterpat » Wed Dec 12, 2018 1:19 am

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?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: No option to select "No Login" in SSH settings
  • Quote

Post by imperio » Wed Dec 12, 2018 10:06 am

Hi,
can you provide access to your server, we will check what happened.
Top

misterpat
Posts: 16
Joined: Wed Jun 15, 2016 12:25 am

Os: CentOS 6x
Web: apache
Re: No option to select "No Login" in SSH settings
  • Quote

Post by misterpat » Wed Dec 12, 2018 8:54 pm

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:

Code: Select all

/sbin/nologin
at the bottom of the file and now I see "No Login" as an option.

Is this a proper fix?

Thanks again!
Top

abst
Posts: 92
Joined: Mon Feb 15, 2016 6:48 am
Contact:
Contact abst
Website

Os: CentOS 6x
Web: nginx + php-fpm
Re: No option to select "No Login" in SSH settings
  • Quote

Post by abst » Mon Dec 17, 2018 6:24 pm

Same problem. Centos 7, new install
Top

Lordbl4
Posts: 29
Joined: Fri May 20, 2016 7:09 am

Re: No option to select "No Login" in SSH settings
  • Quote

Post by Lordbl4 » Fri Jan 18, 2019 9:40 am

same problem, centos 7, today fresh install
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password