You are not logged in.
Hi Guys,
As the title suggests, ls -l shows GID rather than the group name. (The username is listed correctly). The groups command also shows only GIDs and not the corresponding group names.
I have issued the pwconv, grpconv, pwck and grpck commands and these all run without error.
What am I missing here?
Any ideas much appreciated.
Thanks in advance.
Last edited by adr3nal1n (2011-10-10 10:03:09)
Offline
Check the permissions of groups file, it have to be readable for all. You can solve it with 'chmod 644 /etc/group' as root
Offline
If your group name (or username) is too long I think it will show the uid or gid instead of the username or group.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Thanks very much Celf, you were correct, the /etc/group file was only readable by root. The chmod 644 fixed it.
Thanks again for your help, much appreciated.
Offline