When I list al groups I see one called 'nogroup'. What is this for? Is it supposed to be least privileged one or something? I'm using ubuntu 11.04.
1Not strictly related to your question, but I found this interesting, refspecs.linux-foundation.org/LSB_3.1.0/LSB-Core-generic/…– PaoloApr 4, 2015 at 14:02
nogroup is the group analog to the
nobody user. It is used for unprivileged processes so that even if something goes wrong the process does not have the permissions to cause any serious damage to an important user or group.
2Is there any sense in nobody/nogroup? I once found that ntpd in OpenSuSE was running as "nobody" - so if someone gets nobody he can kill my ntpd...– NilsOct 13, 2011 at 19:59
8@Nils You are correct. The
nobodyuser paradigm only works for a single service. The recommended practice is moving towards running each process as a separate user.– jw013Oct 13, 2011 at 20:21
Debian's documentation for
nogroup explains it as:
nogroup (user: nobody): Daemons that need not own any files run as user nobody and group nogroup. Thus, no files on a system should be owned by this user or group.
No an answer for this question, but a relevant information.
I had folders and files owned by
I wanted to know the ID of
nobody nogroup, then I found that the
ls command has the option
-n to see the IDs instead of names.
ls -ln showed me the IDs: