Skip to content

Commit fdff1ac

Browse files
committed
shell: Remove section, move relevant content to users-and-groups.
1 parent 2f1a682 commit fdff1ac

File tree

2 files changed

+12
-48
lines changed

2 files changed

+12
-48
lines changed

src/config/shell.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

src/config/users-and-groups.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ delete and modify groups respectively. The
1414
[groups(1)](https://man.voidlinux.org/groups.1) command lists all groups a user
1515
belongs to.
1616

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+
1729
## sudo
1830

1931
> Note: [sudo(8)](https://man.voidlinux.org/sudo.8) is installed by default but

0 commit comments

Comments
 (0)