[Samba] Samba User Is Immediately Logged Out (SSH)

Rob Campbell robcampbell08105 at gmail.com
Wed Dec 27 20:03:55 UTC 2023


I did not.  I set template homedir but not template shell. I set it and
that resolved the issue.  Thanks.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In all things, Be Intentional.


On Wed, Dec 27, 2023 at 2:37 PM Rowland Penny via samba <
samba at lists.samba.org> wrote:

> On Wed, 27 Dec 2023 13:30:43 -0500
> Rob Campbell via samba <samba at lists.samba.org> wrote:
>
> > When I ssh into my computer with the samba user, it logs in and is
> > immediately logged out.  If the user doesn't exist, the homedir is
> > created at login but I immediately get a connection closed message.
>
> Have you set the 'template shell' parameter in smb.conf ?
> If not the user is getting /bin/false
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list