Default to zsh distro-wide (live user + useradd default)
BOS shipped zsh + a p10k skel .zshrc and Calamares' userShell was already
/bin/zsh, but two paths still defaulted to bash:
- /etc/default/useradd had SHELL=/usr/bin/bash, so any plain `useradd` (and
anything not going through Calamares) created bash users.
- bos-live-setup created the live ISO user with -s /bin/bash, so the live
session ran bash instead of the BOS zsh setup.
Ship /etc/default/useradd with SHELL=/usr/bin/zsh and create liveuser with zsh
so the whole distro — live and installed — defaults to zsh.
This commit is contained in:
parent
adc316fac6
commit
1ab6c7b188
2 changed files with 8 additions and 1 deletions
7
iso/airootfs/etc/default/useradd
Normal file
7
iso/airootfs/etc/default/useradd
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
SHELL=/usr/bin/zsh
|
||||
GROUP=users
|
||||
HOME=/home
|
||||
INACTIVE=-1
|
||||
EXPIRE=
|
||||
SKEL=/etc/skel
|
||||
CREATE_MAIL_SPOOL=no
|
||||
Loading…
Add table
Add a link
Reference in a new issue