On Tue, Oct 13, 2020 at 05:15:45PM +0200, Stanislav Brabec wrote: > Karel Zak wrote: > > On Thu, Oct 08, 2020 at 08:50:39AM +0200, Stanislav Brabec wrote: > >> Fix su -s <tab> that reports invalid chsh -l. > > > > "cat /etc/shells" and "chsh -l" get the same output on my system, why > > "chsh -l" is invalid? > > > > chsh -l uses getusershell() glibc function. > > > > Karel > > > Oops. SUSE uses chsh from shadow package, which is not fully compatible with util-linux one. > > So the patch is unappropriate for the upstream util-linux. So, now you have motivation to use our wonderful chsh and chfn in SUSE distros ;-) Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com