use DSHELL #2

Closed
opened 2026-09-02 17:58:11 +00:00 by dym · 0 comments
Member

chsh -s /bin/zsh "$name"

This line could be replaced by editing /etc/default/useradd, or, if you install adduser and run that instead of useradd, editing /etc/adduser.conf:

# The login shell to be used for all new users.
# Default: DSHELL=/bin/bash
#DSHELL=/bin/bash
https://git.hackportland.club/hackportland/scripts/src/commit/1c3edef1a43c201dba40ff81d5b5b7d89618b341/hp-create-user#L16 This line could be replaced by editing `/etc/default/useradd`, or, if you install `adduser` and run that instead of `useradd`, editing `/etc/adduser.conf`: ``` # The login shell to be used for all new users. # Default: DSHELL=/bin/bash #DSHELL=/bin/bash ```
jacob closed this issue 2026-09-07 18:53:57 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hackportland/scripts#2
No description provided.