Skip to content
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

Changing shell to anything but /bin/sh and /bin/bash breaks SSH #810

Open
mattfbacon opened this issue Dec 30, 2023 · 1 comment
Open

Changing shell to anything but /bin/sh and /bin/bash breaks SSH #810

mattfbacon opened this issue Dec 30, 2023 · 1 comment
Labels
bug Something isn't working packages Add or improve packages of the repository

Comments

@mattfbacon
Copy link

The fish package doesn't add fish to /etc/shells which causes dropbear to reject new SSH sessions with "permission denied" because User 'root' has invalid shell, rejected. The package should add fish to /etc/shells.

@mattfbacon mattfbacon added bug Something isn't working packages Add or improve packages of the repository labels Dec 30, 2023
@Eeems Eeems changed the title Add fish to /etc/shells Changing shell to anything but /bin/sh and /bin/bash breaks SSH Dec 30, 2023
@Eeems
Copy link
Member

Eeems commented Dec 30, 2023

We'll have to sort out how to add values to /etc/shells automatically for all the different shells in entware. That, or have something on startup that forces the shell for root to be /bin/sh and then makes sure to add code to launch the other shell to the user profile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working packages Add or improve packages of the repository
Projects
None yet
Development

No branches or pull requests

2 participants