From where does “ps” on Android get user names?Does each user get his/her own tty(s)?UDP commands for...

The Knight's estate

Is for(( ... )){ ... ;} a valid shell syntax? In which shells?

How to gently end involvement with an online community?

How would you identify when an object in a Lissajous orbit needs station keeping?

Non-visual Computers - thoughts?

What is this symbol: semicircles facing each other?

How to determine car loan length as a function of how long I plan to keep a car

Antonym of "billable"

“T” in subscript in formulas

What does "set -x" do in a bash script?

Who was president of the USA?

Is “I am getting married with my sister” ambiguous?

Was there ever a treaty between 2 entities with significantly different translations to the detriment of one party?

Why in most German places is the church the tallest building?

Is there any practical application for performing a double Fourier transform? ...or an inverse Fourier transform on a time-domain input?

Converting a set into a string

Pythagorean triple with hypotenuse a power of 2

Are there any elected officials in the U.S. who are not legislators, judges, or constitutional officers?

Would the Republic of Ireland and Northern Ireland be interested in reuniting?

How to make Ubuntu support single display 5120x1440 resolution?

Did a flight controller ever answer Flight with a no-go?

What to say to a student who has failed?

How to investigate a problem with blown 50 amp HVAC fuse without power?

Is "The life is beautiful" incorrect or just very non-idiomatic?



From where does “ps” on Android get user names?


Does each user get his/her own tty(s)?UDP commands for Linux and Mac?Where is my tablet's memory card mounted on laptop?unable to back-up data from android tablet to laptop using tar!Help killing off Process for Mem LeakHow to get better 2D graphics performance with Android-x86 running on KVM?Adapting Armbian to use a tablet-style interface






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







4















I have an Android tablet that I got a terminal program from Google Play Store. When I issue the "ps" command, it shows various names for the users running the processes. There is no /etc/passwd file on this machine so I'm wondering where it gets the user names from.










share|improve this question







New contributor



Paul Robinson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




























    4















    I have an Android tablet that I got a terminal program from Google Play Store. When I issue the "ps" command, it shows various names for the users running the processes. There is no /etc/passwd file on this machine so I'm wondering where it gets the user names from.










    share|improve this question







    New contributor



    Paul Robinson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      4












      4








      4








      I have an Android tablet that I got a terminal program from Google Play Store. When I issue the "ps" command, it shows various names for the users running the processes. There is no /etc/passwd file on this machine so I'm wondering where it gets the user names from.










      share|improve this question







      New contributor



      Paul Robinson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have an Android tablet that I got a terminal program from Google Play Store. When I issue the "ps" command, it shows various names for the users running the processes. There is no /etc/passwd file on this machine so I'm wondering where it gets the user names from.







      linux shell ps android






      share|improve this question







      New contributor



      Paul Robinson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      Paul Robinson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      Paul Robinson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked yesterday









      Paul RobinsonPaul Robinson

      211 bronze badge




      211 bronze badge




      New contributor



      Paul Robinson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Paul Robinson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



























          1 Answer
          1






          active

          oldest

          votes


















          4















          ps will get the names with the getpwuid(3) function (see here).



          On android, that will generate pwd entries on the fly, rather than fetching them from some file.






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


            }
            });






            Paul Robinson is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f536771%2ffrom-where-does-ps-on-android-get-user-names%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









            4















            ps will get the names with the getpwuid(3) function (see here).



            On android, that will generate pwd entries on the fly, rather than fetching them from some file.






            share|improve this answer
































              4















              ps will get the names with the getpwuid(3) function (see here).



              On android, that will generate pwd entries on the fly, rather than fetching them from some file.






              share|improve this answer






























                4














                4










                4









                ps will get the names with the getpwuid(3) function (see here).



                On android, that will generate pwd entries on the fly, rather than fetching them from some file.






                share|improve this answer















                ps will get the names with the getpwuid(3) function (see here).



                On android, that will generate pwd entries on the fly, rather than fetching them from some file.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited yesterday

























                answered yesterday









                mosvymosvy

                16k2 gold badges19 silver badges51 bronze badges




                16k2 gold badges19 silver badges51 bronze badges

























                    Paul Robinson is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    Paul Robinson is a new contributor. Be nice, and check out our Code of Conduct.













                    Paul Robinson is a new contributor. Be nice, and check out our Code of Conduct.












                    Paul Robinson is a new contributor. Be nice, and check out our Code of Conduct.
















                    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%2f536771%2ffrom-where-does-ps-on-android-get-user-names%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







                    Popular posts from this blog

                    Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

                    The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

                    Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...