sliver
sliver copied to clipboard
Seeing << error >> instead of username on Linux hosts
Looking at the list of sessions or whoami on a Linux session just returns << error >>.
Ah, this appears on hosts where users are provided by a mechanism other than /etc/passwd, i.e., LDAP, and because when CGO is disabled, go falls back on directly parsing /etc/passwd.
This is a limitation of the Go os.User package in my experience, so we'd need to add some type of User_linux.go extension.