apk add libuser
(1/6) Installing gdbm (1.22-r0)
(2/6) Installing mpdecimal (2.5.1-r1)
(3/6) Installing readline (8.1.1-r0)
(4/6) Installing python3 (3.9.7-r4)
(5/6) Installing popt (1.18-r0)
(6/6) Installing libuser (0.63-r0)
Executing busybox-1.34.1-r3.trigger
mkdir /etc/default
touch /etc/default/useradd
touch /etc/login.defs
If you want to change the current user's shell: lchsh
If you want to change a different user's shell: lchsh USERNAME
example
sudo lchsh root
Changing shell for kai.
Password:
New Shell [/bin/ash]: /bin/bash
Shell changed.
src:https://wiki.alpinelinux.org/wiki/Change_default_shell
Comments
Post a Comment