Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta Web Interface
  • Search

[Possible bug] Changing SSH shell via Packages

Questions regarding the Web Interface
GUI
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
Somebodysh
Posts: 2
Joined: Mon Jun 05, 2017 11:35 pm

[Possible bug] Changing SSH shell via Packages
  • Quote

Post by Somebodysh » Mon Jun 05, 2017 11:44 pm

Reposted to the bug trackerShow
Hello! Seems I found a bug in VestaCP 0.9.8/17 (running on CentOS 7.3.1611).

So what did I notice: if you change somebody's SSH shell via Users, changes do appear in /etc/passwd correctly.
But if you change SSH shell in the setting of any Package, it will update all Users using this Package incorrectly - seems like wrong shell parameter is passing when Package changes are triggering Users update.

So, my steps to reproduce this are:
1) Open any package from Packages
2) Change the SSH Access to any new value (I tried to choose "nologin" shell)
3) Save changes and check how Users using this package are updated:
3.1) In the web interface it seems nicely done, showing correct shells
3.2) If you check /etc/passwd file, you will get wrong one there (I've got "sh" shell there)
4) If you do same with single user, you will get right values on both of 3.1 and 3.2 steps
Go here to continue
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Interface”



  • 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