~alpine/users

3 2

setup ssh no give me access, unknow option UsePAM

PICCORO McKAY Lenz <mckaygerhard@gmail.com>
Details
Message ID
<CALci+FRovcSF7Kgt3vb1W_2-t3jbvCLcPm7s60omz7AQ0DqrVg@mail.gmail.com>
DKIM signature
missing
Download raw message
i setup openssh, created an user and uncomment "UsePAM" to yes in the
sshd_config file (as the only change)

when i try to get access pasword fails always, i created the user with:

apk add tsch

adduser --uid 888 --home /users/daru --shell /bin/csh normaluser

what it happened?

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
Details
Message ID
<3b88b917fa82a4ca23cfec0bb59233cf@dereferenced.org>
In-Reply-To
<CALci+FRovcSF7Kgt3vb1W_2-t3jbvCLcPm7s60omz7AQ0DqrVg@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
Hello,

January 24, 2020 3:00 PM, "PICCORO McKAY Lenz" <mckaygerhard@gmail.com> wrote:

> i setup openssh, created an user and uncomment "UsePAM" to yes in the sshd_config file (as the only
> change)
> 
> when i try to get access pasword fails always, i created the user with:
> 
> apk add tsch
> 
> adduser --uid 888 --home /users/daru --shell /bin/csh normaluser
> what it happened?

Alpine's openssh package does not support PAM.  Also, you must set
a password in order to allow the user to log in remotely.

Ariadne
PICCORO McKAY Lenz <mckaygerhard@gmail.com>
Details
Message ID
<CALci+FRT1i6+9oQkLGMmQsAeVxQcE_SizkSMOU6EZBp_sZ7bHg@mail.gmail.com>
In-Reply-To
<3b88b917fa82a4ca23cfec0bb59233cf@dereferenced.org> (view parent)
DKIM signature
missing
Download raw message
El vie., 24 de ene. de 2020 a la(s) 17:13, Ariadne Conill (
ariadne@dereferenced.org) escribió:

> > apk add tsch
> >
> > adduser --uid 888 --home /users/daru --shell /bin/csh normaluser
> > what it happened?
>
> a password in order to allow the user to log in remotely.
>

seem there's a bug.. the problem are the buggy tsch package or well:

https://pkgs.alpinelinux.org/contents?file=&path=&name=tcsh&branch=v3.11&repo=community&arch=x86

said csh are valid and part of the package as valid shell

but seems does not listed in the /etc/shells file..  ony tcsh

so when a user try to login dropbear or openssh said: "not valid shel" but
do not put into the default as "/bin/sh", only the remote admin can see the
error at the log files..

this are a problem due failt of one package, i'll report as a bug !  du i
used: "adduser --uid 888 --home /users/daru --shell /bin/csh normaluser"
that are a valid command due are csh listed in the package as valid shel


>
> Ariadne
>
PICCORO McKAY Lenz <mckaygerhard@gmail.com>
Details
Message ID
<CALci+FSsBnP9ZGhsL1DauTQtfQnA0L2T7uLq0GY0qiD+-KU0kQ@mail.gmail.com>
In-Reply-To
<CALci+FRT1i6+9oQkLGMmQsAeVxQcE_SizkSMOU6EZBp_sZ7bHg@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
fixed in apports Issue was closed by Milan P_ Stanić via commit
159a17e60debbce446df4ffdc4009355b40c8c27

BUT now why openssh are not build with PAM support?

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com


El vie., 24 de ene. de 2020 a la(s) 17:21, PICCORO McKAY Lenz (
mckaygerhard@gmail.com) escribió:

> El vie., 24 de ene. de 2020 a la(s) 17:13, Ariadne Conill (
> ariadne@dereferenced.org) escribió:
>
>> > apk add tsch
>> >
>> > adduser --uid 888 --home /users/daru --shell /bin/csh normaluser
>> > what it happened?
>>
>> a password in order to allow the user to log in remotely.
>>
>
> seem there's a bug.. the problem are the buggy tsch package or well:
>
>
> https://pkgs.alpinelinux.org/contents?file=&path=&name=tcsh&branch=v3.11&repo=community&arch=x86
>
> said csh are valid and part of the package as valid shell
>
> but seems does not listed in the /etc/shells file..  ony tcsh
>
> so when a user try to login dropbear or openssh said: "not valid shel" but
> do not put into the default as "/bin/sh", only the remote admin can see the
> error at the log files..
>
> this are a problem due failt of one package, i'll report as a bug !  du i
> used: "adduser --uid 888 --home /users/daru --shell /bin/csh normaluser"
> that are a valid command due are csh listed in the package as valid shel
>
>
>>
>> Ariadne
>>
>
Reply to thread Export thread (mbox)