Error shown when using chsh to change shells
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shadow (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I wanted to change my shell to zsh so I installed the zsh package and then used the chsh command as so:
chsh -s $(which zsh)
After running the command I am shown the errors:
(2021-11-02 12:54:47:928739): [sss_cache] [confdb_
(2021-11-02 12:54:47:928885): [sss_cache] [init_domains] (0x0020): Could not initialize domains
(2021-11-02 12:54:47:949846): [sss_cache] [confdb_
(2021-11-02 12:54:47:949987): [sss_cache] [init_domains] (0x0020): Could not initialize domains
I also receive this error when just running chsh without any parameters.
The change is successful, even though the error might lead you to believe otherwise. After logging out and back in, zsh was my default shell.
From what I can tell from a quick search, the error has to do with SSSD and Active Directory support so I assume there is something happening around that but honestly don't know enough about it to know if that's correct.
Please let me know if there's any additional information needed and thanks for all you do to create and support Ubuntu.
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: passwd 1:4.8.1-1ubuntu9
ProcVersionSign
Uname: Linux 5.13.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Tue Nov 2 13:09:46 2021
InstallationDate: Installed on 2020-12-24 (312 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200907)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: shadow
UpgradeStatus: Upgraded to impish on 2021-10-17 (15 days ago)