Where is chsh? util-linux is installed but it's not where it should be

Hello,

  • OpenMandriva Lx version: 3.02

  • Desktop environment (KDE, LXQT…): KDE

  • Description of the issue (screenshots if relevant): where is chsh (change shell command)? util-linux is installed on my OpenMandriva Lx 3.02 installation and urpmq -l util-linux | grep bin | grep chsh reveals the binary for chsh should be in /usr/bin/chsh but it’s not there. ls /usr/bin/chsh returns: ls: cannot access '/usr/bin/chsh': No such file or directory. While which chsh returns: which: no chsh in (/sbin:/bin:/usr/sbin:/usr/bin). Any ideas what the problem is? I’ve tried re-installing util-linux with: urpmi --replacepkgs util-linux but it’s made no difference to this issue.

What are you trying to do?

Edit: As far as I can tell chsh is missing. You’ll need to file a bug report.

$ chsh -s /bin/bash ben79
 Command 'chsh' can be found in:
    package 'util-linux' (main, installed)

$ sudo chsh -s /bin/bash ben79
sudo: chsh: command not found

@fusion809 please install util-linux-user package.

Thanks, that’s it.

# chsh -s /bin/dash ben79
Changing shell for ben79.
Shell changed.

# chsh -s /bin/bash ben79
Changing shell for ben79.
Shell changed.

@TPG Thanks issue is now fixed.