Page 1 of 1

SOLVED: su command not found

Posted: Fri Feb 04, 2022 4:03 pm
by mister_v
Hi,

suddenly the program su doesn't exists anymore.
error message:

Code: Select all

command not found
Anyone has had this problem?

Re: su command not found

Posted: Fri Feb 04, 2022 4:14 pm
by Chris
I had the same problem on Gentoo server.
turns out it was a update that went wrong.

recompiling shadow and util-linux solved the problem:

Code: Select all

emerge -vp shadow util-linux
su flag is missing in sys-apps/shadow and is included in sys-apps/util-linux

Re: su command not found

Posted: Thu Feb 10, 2022 10:18 am
by mister_v
Thanks that solved it.

strange that the command/program changed from package.