-
-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Default shell not setting #3669
Comments
v-change-user-shell user bash or use : SHELL='bash' |
Just checked: root@dev:/usr/local/hestia/data/packages# cat test.pkg |
Use single quotes around bash. I think because we source |
It looks like we need to
|
Was able replicate the issue in some random cases but: Should fix the issue until then use single quotes ... |
Describe the bug
I have an automated install of Hestia using the CLI API, after installation I create a new package and new user:
I initially set SHELL=bash to no avail. A peek at /etc/passwd reveals:
No shell set.
Workaround is to do a
chsh -s /bin/bash pws
but I'm wondering if it should/how-to set it properly.Tell us how to replicate the bug
pws
user, default shell is sh not bash. /etc/passwd shows to shell set.Which components are affected by this bug?
Control Panel Command Line Interface
Hestia Control Panel Version
1.7.7
Operating system
Debian 11
Log capture
The text was updated successfully, but these errors were encountered: