Root shell set to '/usr/bin/' after install
Closed this issue · 1 comments
muhgrill commented
After install I was unable to sudo su -
with my user, even though sudo otherwise seems to be working properly.
$ sudo su -
su: failed to execute /usr/bin/: Permission denied
This appears to be because root's shell is set to '/usr/bin/'.
root:x:0:0::/root:/usr/bin/
Changing the default shell to /bin/bash resolves all issue.
I'm guessing the issue is with this line.
Line 560 in b566c7b
Checking to see if $shell is set or setting a default might help to resolve.
spookykidmm commented
Think I fixed it. Thanks for pointing that out!