Hi! Thanls for helping me with it.
I guess i didn’t explained it right, sorry:
My iso is builded with makarchiso and is totally different from PacBang. I just forked the offline installer which i’m improving and adding more functions and code. (i installed pacbang today just to replicate the error and check if was already present)
I already made a try installing util-linux with force option just to be sure in a VM and
who still doesn’t work.
work works running the livecd but stops working when the system is installed, so probably there is some config in the offline installer missing, permissions problem or something else.
EDIT: You are right about the xterm quoted in the manual. I just confirmed in my real Antergos that my terminal is also unable to use the command who with some terminals, like
lxterminal, xfceterminal, tilix, gnometerminal while others like
xterm, guake and any tty work fine. That’s why the command work for both isos, the livecd uses
systemd.unit=multi-user.target (terminal login tty) and not
graphical.target using login managers (wich is used after install).
So that’s actually not a bug, but i really need a replacement for that command now :)
For now i’ll be using
cat /etc/passwd | grep "/home" |cut -d: -f1 |head -1
I’m marking this as solved since is not actually a bug.
Thank you all for the help and time specially @krugar and @joekamprad