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;
}
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
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.
add a comment |
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
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.
add a comment |
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
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
linux shell ps android
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.
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.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
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
});
}
});
Paul Robinson is a new contributor. Be nice, and check out our Code of Conduct.
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%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
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.
add a comment |
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.
add a comment |
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.
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.
edited yesterday
answered yesterday
mosvymosvy
16k2 gold badges19 silver badges51 bronze badges
16k2 gold badges19 silver badges51 bronze badges
add a comment |
add a comment |
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.
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.
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%2f536771%2ffrom-where-does-ps-on-android-get-user-names%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