Bug#1107157: Local user accounts get created with /bin/sh since trixie
Mike Gabriel <[email protected]> Mon, 02 Jun 2025 15:06:03 +0200
| Newsgroups | gmane.linux.skolelinux.devel |
|---|---|
| Message-ID | <174886956372.389170.7505671014578880655.reportbug__22263.2586768427$1748869769$gmane$org@sunobo> |
Source: libpam-mklocaluser Version: 0.19 Severity: important Since Debian trixie, in Debian Edu on roaming workstations, local users end up with /bin/sh as shell in /etc/passwd (instead of /bin/bash). Both approaches are wrong, the newer one is just more annoying for bash users. The right solution is to take the shell from the LDAP account and use that in /etc/passwd when creating the local user at login. -- System Information: Debian Release: 13.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.12.27-amd64 (SMP w/12 CPU threads; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled