We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
users-and-groups
1 parent 2f1a682 commit fdff1acCopy full SHA for fdff1ac
src/config/shell.md
src/config/users-and-groups.md
@@ -14,6 +14,18 @@ delete and modify groups respectively. The
14
[groups(1)](https://man.voidlinux.org/groups.1) command lists all groups a user
15
belongs to.
16
17
+## Default shell
18
+
19
+The default shell for a user can be changed with
20
+[chsh(1)](https://man.voidlinux.org/chsh.1):
21
22
+```
23
+$ chsh -s <shell> <user_name>
24
25
26
+`<shell>` must be the path to the shell as specified by `/etc/shells` or the
27
+output of `chsh -l`, which provides a list of installed shells.
28
29
## sudo
30
31
> Note: [sudo(8)](https://man.voidlinux.org/sudo.8) is installed by default but
0 commit comments