Re: User no boot -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/27/20 12:01 AM, Jon LaBadie wrote:
On Fri, Jun 26, 2020 at 09:51:50PM -0400, Bob Goodwin wrote:
[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.


Note you are succesfully logging in.  You get a message about the
last login and start a shell.  Otherwise /bin/bash would not
be sending error messages.

I'm not convinced. /bin/login prints that "Last login" message. If it was bash giving that error message, it would say what executable was denied. That really looks like the login process failing to execute bash. You can see the same thing by giving the user a non-executable shell and then doing "su - user". It will print the "Last login message and then fail executing the shell. However, I also can't figure out how to reproduce the issue with ssh. Something along the way checks that the shell is valid and executable. That's why I suspect an selinux issue, but I can't figure out how to change the labels on the file to make it not executable, but still be attempted.

This is the message if you try to run something that isn't executable:
# /etc/passwd
-bash: /etc/passwd: Permission denied

There must be something wrong in your start up scripts or environment
that cause your shell to exit before giving a prompt.

You may get more info by logging in as root and using "su" and "su -"
to switch user to bob or bobg.

That should provide more information either way.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux