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
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
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>
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>>>