On Jun 26, 2020, at 21:52, Bob Goodwin <bobgood...@fastmail.us> wrote:
> So I tried the following:
> 
> Logout root via ssh:
> [root@box48 ~]# logout
> Connection to 192.168.50.148 closed.
> 
> Log in bobg:
> [bobg@WS1 ~]$ ssh bobg@192.168.50.148
> bobg@192.168.50.148's password:
> Last login: Tue May 26 15:16:50 2020 from 192.168.50.57
> /bin/bash: Permission denied
> Connection to 192.168.50.148 closed.
> 
> Login bob:
> 
> [bobg@WS1 ~]$ ssh bob@192.168.50.148
> bob@192.168.50.148's password:
> Last login: Tue May 26 15:20:58 2020 from 192.168.50.57
> /bin/bash: Permission denied
> Connection to 192.168.50.148 closed.
> 
> Both are refused. Maybe user/group settings? Tomorrow will be soon enough.
> None of this really matters since a reinstall will replace the existing 
> system.

You are successfully logging in as those other users, but the login process is 
launching the users’ login shell, and when /bin/bash is executed, the login 
session returns:
 “/bin/bash: Permission denied”.  Then the login session exits and you log out

My first guess is that either /bin/bash’s permissions are broken, and root 
either uses a different shell or the permissions only allows root. 

The output of “rpm -V bash” should tell you what is wrong with the package.


Now, personally, I see a long out of date system with ssh access and broken 
bash, and I immediately think “compromised system”. So I’d suggest caution.

--
Jonathan Billings <billi...@negate.org>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to