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)
Check the permissions of groups file, it have to be readable for all. You can solve it with 'chmod 644 /etc/group' as root
If your group name (or username) is too long I think it will show the uid or gid instead of the username or group.
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.