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?










0















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.











share|improve this question
























  • 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















0















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.











share|improve this question
























  • 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













0












0








0








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.











share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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










1 Answer
1






active

oldest

votes


















2














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.)






share|improve this answer
























    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
    );



    );













    draft saved

    draft discarded


















    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









    2














    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.)






    share|improve this answer





























      2














      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.)






      share|improve this answer



























        2












        2








        2







        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.)






        share|improve this answer















        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.)







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 2 '18 at 15:47

























        answered Nov 28 '18 at 10:34









        Stephen KittStephen Kitt

        175k24400478




        175k24400478



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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

            Popular posts from this blog

            Frič See also Navigation menuinternal link

            Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

            fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox