OpenDoas icon indicating copy to clipboard operation
OpenDoas copied to clipboard

wrong shell

Open youngunix opened this issue 1 year ago • 10 comments

Hello,

When invoking the command doas -s and entering the user's password, the root login drops into the wrong shell (not bash). Using su produces the desired effect. This started happening after I switched to zsh for the wheel user not root. I already checked /etc/passwd and confirmed that both users have the correct shells assigned.

What's strange is once I'm root, I run echo $SHELL and the output is /bin/bash. However, if I run bash I get the desired effect (custom colors and configs). Are there any config files or troubleshooting steps I need to look into?

doas version: 6.8.2 Gentoo 17.1 -STABLE kernel 6.1.19

youngunix avatar Mar 26 '23 01:03 youngunix