[Koha-bugs] [Bug 34204] Koha user needs to be able to login

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 17 22:04:07 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34204

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #157279|0                           |1
        is obsolete|                            |

--- Comment #10 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 157288
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157288&action=edit
Bug 34204: Fix koha-shell under debian 12

In Debian 12/Bookworm:
root at kohadevbox:koha$ koha-shell kohadev
This account is currently not available.

This is because /etc/passwd has /usr/sbin/nologin as shell, which is coming
from the --disabled-login param we passed to adduser in koha-create.

Looks like a bug has been fixed in adduser, because we didn't have this
behavior in bullseye.

Context:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625758#72

"""
- change and document (adduser(8)) that --disabled-password will behave
  like --disabled-login and additionally set the shell to
  /usr/sbin/nologin.
"""
https://salsa.debian.org/debian/adduser/-/commit/427ade7d9116af5af7baa9d0c538e14fa86560cf

Test plan:
Confirm the above and that the change makes sense.

Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list