What are necessary users used for2019 Community Moderator Electionwhich default Debian groups are safe to delete?What is the bin user for?Renaming the system users bin and man without doing harm?Allow a user to read some other users' home directoriesCan Process id and session id of a daemon differ?Is it allowed to assign one range of subordinate IDs to two different users?How to fully manage users and groups with web GUI and create templates for new users?Automatically set file group and permissions not by inheriting from a directoryHow are new user IDs calculated automatically by default in Linux?Prevent users from changing group of their own filesLimiting RAM for a group of users on Ubuntu MachineIn `/etc/passwd`, can different usernames for the same user ID have different group IDs?
Examples of a statistic that is not independent of sample's distribution?
How to draw cubes in a 3 dimensional plane
How can I ensure my trip to the UK will not have to be cancelled because of Brexit?
What's the "normal" opposite of flautando?
List elements digit difference sort
Word for a person who has no opinion about whether god exists
Vocabulary for giving just numbers, not a full answer
Does the nature of the Apocalypse in The Umbrella Academy change from the first to the last episode?
Contract Factories
What problems would a superhuman have whose skin is constantly hot?
What are the threaded holes in Manfrotto camera brackets?
How to secure an aircraft at a transient parking space?
Do I really need to have a scientific explanation for my premise?
In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?
What are actual Tesla M60 models used by AWS?
Conservation of Mass and Energy
Why would one plane in this picture not have gear down yet?
Should I take out a loan for a friend to invest on my behalf?
PTIJ: wiping amalek’s memory?
Latex does not go to next line
Reversed Sudoku
Good for you! in Russian
An alternative proof of an application of Hahn-Banach
Does this video of collapsing warehouse shelves show a real incident?
What are necessary users used for
2019 Community Moderator Electionwhich default Debian groups are safe to delete?What is the bin user for?Renaming the system users bin and man without doing harm?Allow a user to read some other users' home directoriesCan Process id and session id of a daemon differ?Is it allowed to assign one range of subordinate IDs to two different users?How to fully manage users and groups with web GUI and create templates for new users?Automatically set file group and permissions not by inheriting from a directoryHow are new user IDs calculated automatically by default in Linux?Prevent users from changing group of their own filesLimiting RAM for a group of users on Ubuntu MachineIn `/etc/passwd`, can different usernames for the same user ID have different group IDs?
I want to know which users are necessary for an Unix/Linux system. Now I found a doc which told me that there were three necessary users: root, bin and daemon.
For the user bin and the user daemon, I still can't understand what they are used for. Here is how the doc described them:
Notes: The bin User ID/Group ID is included for compatibility with
legacy applications. New applications should no longer use the bin
User ID/Group ID.
The daemon User ID/Group ID was used as an
unprivileged User ID/Group ID for daemons to execute under in order to
limit their access to the system. Generally daemons should now run
under individual User ID/Group IDs in order to further partition
daemons from one another.
linux users daemon
add a comment |
I want to know which users are necessary for an Unix/Linux system. Now I found a doc which told me that there were three necessary users: root, bin and daemon.
For the user bin and the user daemon, I still can't understand what they are used for. Here is how the doc described them:
Notes: The bin User ID/Group ID is included for compatibility with
legacy applications. New applications should no longer use the bin
User ID/Group ID.
The daemon User ID/Group ID was used as an
unprivileged User ID/Group ID for daemons to execute under in order to
limit their access to the system. Generally daemons should now run
under individual User ID/Group IDs in order to further partition
daemons from one another.
linux users daemon
No other user than root is necessary. What is your goal?
– Kusalananda
Nov 28 '18 at 9:52
@Kusalananda My goal is to know which users are necessary, meaning that which users can't be removed otherwise the system will not work.
– Yves
Nov 28 '18 at 10:19
add a comment |
I want to know which users are necessary for an Unix/Linux system. Now I found a doc which told me that there were three necessary users: root, bin and daemon.
For the user bin and the user daemon, I still can't understand what they are used for. Here is how the doc described them:
Notes: The bin User ID/Group ID is included for compatibility with
legacy applications. New applications should no longer use the bin
User ID/Group ID.
The daemon User ID/Group ID was used as an
unprivileged User ID/Group ID for daemons to execute under in order to
limit their access to the system. Generally daemons should now run
under individual User ID/Group IDs in order to further partition
daemons from one another.
linux users daemon
I want to know which users are necessary for an Unix/Linux system. Now I found a doc which told me that there were three necessary users: root, bin and daemon.
For the user bin and the user daemon, I still can't understand what they are used for. Here is how the doc described them:
Notes: The bin User ID/Group ID is included for compatibility with
legacy applications. New applications should no longer use the bin
User ID/Group ID.
The daemon User ID/Group ID was used as an
unprivileged User ID/Group ID for daemons to execute under in order to
limit their access to the system. Generally daemons should now run
under individual User ID/Group IDs in order to further partition
daemons from one another.
linux users daemon
linux users daemon
edited Nov 28 '18 at 9:55
Stephen Kitt
175k24400478
175k24400478
asked Nov 28 '18 at 9:44
YvesYves
922722
922722
No other user than root is necessary. What is your goal?
– Kusalananda
Nov 28 '18 at 9:52
@Kusalananda My goal is to know which users are necessary, meaning that which users can't be removed otherwise the system will not work.
– Yves
Nov 28 '18 at 10:19
add a comment |
No other user than root is necessary. What is your goal?
– Kusalananda
Nov 28 '18 at 9:52
@Kusalananda My goal is to know which users are necessary, meaning that which users can't be removed otherwise the system will not work.
– Yves
Nov 28 '18 at 10:19
No other user than root is necessary. What is your goal?
– Kusalananda
Nov 28 '18 at 9:52
No other user than root is necessary. What is your goal?
– Kusalananda
Nov 28 '18 at 9:52
@Kusalananda My goal is to know which users are necessary, meaning that which users can't be removed otherwise the system will not work.
– Yves
Nov 28 '18 at 10:19
@Kusalananda My goal is to know which users are necessary, meaning that which users can't be removed otherwise the system will not work.
– Yves
Nov 28 '18 at 10:19
add a comment |
1 Answer
1
active
oldest
votes
What are the bin
and daemon
users used for?
First, note that the document you’re referring to is the Linux Standard Base, and it lists requirements for systems to be considered LSB-compliant, not for them to be viable in general.
A long time ago, dæmons ran as root. This was eventually considered to be undesirable, since it meant that any dæmon could do anything it wanted in the system. So the daemon
user was introduced: dæmons ran as user daemon
, so they were limited to what that user could do.
The reasons for bin
are in a similar vein, and have been obsolete for thirty years...
Nowadays, as mentioned in the LSB, they are only present for legacy reasons, i.e. to be able to run ancient software which assumes those users are present. Current software doesn’t need them.
What users are necessary on a Linux/Unix system?
The short answer to that is, whatever users are used by the system.
However, all Linux and Unix-style systems have policies which specify that a certain baseline can be assumed. This includes default system users and groups; see for example Debian Policy (which defines the framework) and the master list of Debian system users. Any Debian package can assume that those users are present: Policy specifies that they are
the same on every Debian system
(although Debian Policy is descriptive, not normative, it does set up a number of assumptions which the rest of Debian relies on).
So you can in theory remove any user and group which your system doesn’t currently use; however that may cause future breakage, as you install new packages or upgrade existing ones. (Admittedly, this is highly unlikely for bin
and daemon
.)
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484618%2fwhat-are-necessary-users-used-for%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
What are the bin
and daemon
users used for?
First, note that the document you’re referring to is the Linux Standard Base, and it lists requirements for systems to be considered LSB-compliant, not for them to be viable in general.
A long time ago, dæmons ran as root. This was eventually considered to be undesirable, since it meant that any dæmon could do anything it wanted in the system. So the daemon
user was introduced: dæmons ran as user daemon
, so they were limited to what that user could do.
The reasons for bin
are in a similar vein, and have been obsolete for thirty years...
Nowadays, as mentioned in the LSB, they are only present for legacy reasons, i.e. to be able to run ancient software which assumes those users are present. Current software doesn’t need them.
What users are necessary on a Linux/Unix system?
The short answer to that is, whatever users are used by the system.
However, all Linux and Unix-style systems have policies which specify that a certain baseline can be assumed. This includes default system users and groups; see for example Debian Policy (which defines the framework) and the master list of Debian system users. Any Debian package can assume that those users are present: Policy specifies that they are
the same on every Debian system
(although Debian Policy is descriptive, not normative, it does set up a number of assumptions which the rest of Debian relies on).
So you can in theory remove any user and group which your system doesn’t currently use; however that may cause future breakage, as you install new packages or upgrade existing ones. (Admittedly, this is highly unlikely for bin
and daemon
.)
add a comment |
What are the bin
and daemon
users used for?
First, note that the document you’re referring to is the Linux Standard Base, and it lists requirements for systems to be considered LSB-compliant, not for them to be viable in general.
A long time ago, dæmons ran as root. This was eventually considered to be undesirable, since it meant that any dæmon could do anything it wanted in the system. So the daemon
user was introduced: dæmons ran as user daemon
, so they were limited to what that user could do.
The reasons for bin
are in a similar vein, and have been obsolete for thirty years...
Nowadays, as mentioned in the LSB, they are only present for legacy reasons, i.e. to be able to run ancient software which assumes those users are present. Current software doesn’t need them.
What users are necessary on a Linux/Unix system?
The short answer to that is, whatever users are used by the system.
However, all Linux and Unix-style systems have policies which specify that a certain baseline can be assumed. This includes default system users and groups; see for example Debian Policy (which defines the framework) and the master list of Debian system users. Any Debian package can assume that those users are present: Policy specifies that they are
the same on every Debian system
(although Debian Policy is descriptive, not normative, it does set up a number of assumptions which the rest of Debian relies on).
So you can in theory remove any user and group which your system doesn’t currently use; however that may cause future breakage, as you install new packages or upgrade existing ones. (Admittedly, this is highly unlikely for bin
and daemon
.)
add a comment |
What are the bin
and daemon
users used for?
First, note that the document you’re referring to is the Linux Standard Base, and it lists requirements for systems to be considered LSB-compliant, not for them to be viable in general.
A long time ago, dæmons ran as root. This was eventually considered to be undesirable, since it meant that any dæmon could do anything it wanted in the system. So the daemon
user was introduced: dæmons ran as user daemon
, so they were limited to what that user could do.
The reasons for bin
are in a similar vein, and have been obsolete for thirty years...
Nowadays, as mentioned in the LSB, they are only present for legacy reasons, i.e. to be able to run ancient software which assumes those users are present. Current software doesn’t need them.
What users are necessary on a Linux/Unix system?
The short answer to that is, whatever users are used by the system.
However, all Linux and Unix-style systems have policies which specify that a certain baseline can be assumed. This includes default system users and groups; see for example Debian Policy (which defines the framework) and the master list of Debian system users. Any Debian package can assume that those users are present: Policy specifies that they are
the same on every Debian system
(although Debian Policy is descriptive, not normative, it does set up a number of assumptions which the rest of Debian relies on).
So you can in theory remove any user and group which your system doesn’t currently use; however that may cause future breakage, as you install new packages or upgrade existing ones. (Admittedly, this is highly unlikely for bin
and daemon
.)
What are the bin
and daemon
users used for?
First, note that the document you’re referring to is the Linux Standard Base, and it lists requirements for systems to be considered LSB-compliant, not for them to be viable in general.
A long time ago, dæmons ran as root. This was eventually considered to be undesirable, since it meant that any dæmon could do anything it wanted in the system. So the daemon
user was introduced: dæmons ran as user daemon
, so they were limited to what that user could do.
The reasons for bin
are in a similar vein, and have been obsolete for thirty years...
Nowadays, as mentioned in the LSB, they are only present for legacy reasons, i.e. to be able to run ancient software which assumes those users are present. Current software doesn’t need them.
What users are necessary on a Linux/Unix system?
The short answer to that is, whatever users are used by the system.
However, all Linux and Unix-style systems have policies which specify that a certain baseline can be assumed. This includes default system users and groups; see for example Debian Policy (which defines the framework) and the master list of Debian system users. Any Debian package can assume that those users are present: Policy specifies that they are
the same on every Debian system
(although Debian Policy is descriptive, not normative, it does set up a number of assumptions which the rest of Debian relies on).
So you can in theory remove any user and group which your system doesn’t currently use; however that may cause future breakage, as you install new packages or upgrade existing ones. (Admittedly, this is highly unlikely for bin
and daemon
.)
edited Dec 2 '18 at 15:47
answered Nov 28 '18 at 10:34
Stephen KittStephen Kitt
175k24400478
175k24400478
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484618%2fwhat-are-necessary-users-used-for%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-daemon, linux, users
No other user than root is necessary. What is your goal?
– Kusalananda
Nov 28 '18 at 9:52
@Kusalananda My goal is to know which users are necessary, meaning that which users can't be removed otherwise the system will not work.
– Yves
Nov 28 '18 at 10:19