nobody (username)

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In many Unix variants, "nobody" is the conventional name of a user account which owns no files, is in no privileged groups, and has no abilities except those which every other user has.

It is common to run daemons as nobody, especially servers, in order to limit the damage that could be done by a malicious user who gained control of them. However, the usefulness of this technique is reduced if more than one daemon is run like this, because then gaining control of one daemon would provide control of them all. The reason is that nobody-owned processes have the ability to send signals to each other and even debug each other, allowing them to read or even modify each other's memory.

Creating one account for each daemon, as recommended by the Linux Standard Base, provides for a tighter security policy.[1]

See also[edit]

References[edit]

  1. ^ Linux Standard Base, Core Specification 3.1 section 21.2: User & Group Names, linux-foundation.org