SOLVED: su command not found

Post Reply
mister_v
Posts: 137
Joined: Sat Jun 20, 2009 5:42 pm

SOLVED: su command not found

Post 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?
Last edited by mister_v on Thu Feb 10, 2022 10:18 am, edited 1 time in total.
Chris
Site Admin
Posts: 127
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: su command not found

Post 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
mister_v
Posts: 137
Joined: Sat Jun 20, 2009 5:42 pm

Re: su command not found

Post by mister_v »

Thanks that solved it.

strange that the command/program changed from package.
Post Reply