Ampersand in the passwd GECOS fieldWhat is “Charlie &” in the gecos field on OpenBSD for root?Editing...
Not going forward with internship interview process
How can I categorize files in a directory based on their content?
Understanding the point of a kölsche Witz
Heating Margarine in Pan = loss of calories?
Is this curved text blend possible in Illustrator?
How to divide item stack in MC PE?
How do some PhD students get 10+ papers? Is that what I need for landing good faculty position?
Why did the RAAF procure the F/A-18 despite being purpose-built for carriers?
Voltage across a resistor
Email address etiquette - Which address should I use to contact professors?
Generate Brainfuck for the numbers 1–255
How is this kind of structure made?
Is there a standardised way to check fake news?
A Word/Phrase for the Process of Classifying Something as a Sin
Why is there a large performance impact when looping over an array over 240 elements?
0xF1 opcode-prefix on i80286
How many different ways are there to checkmate in the early game?
Can "être sur" mean "to be about" ?
Why does the standard fingering / strumming for a D maj chord leave out the 5th string?
Proof for converting powers into roots
Lethal damage while controlling Sower of Discord?
Can a PC use the Levitate spell to avoid movement speed reduction from exhaustion?
PhD advisor lost funding, need advice
A torrent of foreign terms
Ampersand in the passwd GECOS field
What is “Charlie &” in the gecos field on OpenBSD for root?Editing passwd files other than /etc/passwdOutput of passwd -S commandhow to prevent the manual shutdown or Reboot to set the passwd even though login as rootCan /etc/passwd change because of a reboot?Is it possible to have many startup programs in the /etc/passwd file?How is the /etc/passwd file instantiated?Is passwd file always in /etc/passwd?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
When expanding the /etc/passwd
GECOS field to get the user's full name, should we expand only the first ampersand (&
character), or all ampersands?
In a GECOS field with comma (,
) delimited subfields, should ampersands only be expanded in the first subfield (i.e. the user's full name) or in all subfields?
If the Unix username contains capital letters, should we preserve them in the &
expansion, or should we only capitalize the first letter of the username and lowercase the rest?
history passwd compatibility file-format
add a comment |
When expanding the /etc/passwd
GECOS field to get the user's full name, should we expand only the first ampersand (&
character), or all ampersands?
In a GECOS field with comma (,
) delimited subfields, should ampersands only be expanded in the first subfield (i.e. the user's full name) or in all subfields?
If the Unix username contains capital letters, should we preserve them in the &
expansion, or should we only capitalize the first letter of the username and lowercase the rest?
history passwd compatibility file-format
Going by OpenBSD's manpage: "The full name may contain an ampersand (‘&’)" ... which system are you asking about?
– muru
4 hours ago
Thanks. Asking about a portable solution in the hopes that there is one. If not, we can use this question to gather a list of the behavior of different systems. That's the next best thing. Which software could be used as a reference to resolve questions like this? I don't suppose the finger daemon is in vogue anymore.
– Lassi
4 hours ago
add a comment |
When expanding the /etc/passwd
GECOS field to get the user's full name, should we expand only the first ampersand (&
character), or all ampersands?
In a GECOS field with comma (,
) delimited subfields, should ampersands only be expanded in the first subfield (i.e. the user's full name) or in all subfields?
If the Unix username contains capital letters, should we preserve them in the &
expansion, or should we only capitalize the first letter of the username and lowercase the rest?
history passwd compatibility file-format
When expanding the /etc/passwd
GECOS field to get the user's full name, should we expand only the first ampersand (&
character), or all ampersands?
In a GECOS field with comma (,
) delimited subfields, should ampersands only be expanded in the first subfield (i.e. the user's full name) or in all subfields?
If the Unix username contains capital letters, should we preserve them in the &
expansion, or should we only capitalize the first letter of the username and lowercase the rest?
history passwd compatibility file-format
history passwd compatibility file-format
asked 4 hours ago
LassiLassi
4302 silver badges11 bronze badges
4302 silver badges11 bronze badges
Going by OpenBSD's manpage: "The full name may contain an ampersand (‘&’)" ... which system are you asking about?
– muru
4 hours ago
Thanks. Asking about a portable solution in the hopes that there is one. If not, we can use this question to gather a list of the behavior of different systems. That's the next best thing. Which software could be used as a reference to resolve questions like this? I don't suppose the finger daemon is in vogue anymore.
– Lassi
4 hours ago
add a comment |
Going by OpenBSD's manpage: "The full name may contain an ampersand (‘&’)" ... which system are you asking about?
– muru
4 hours ago
Thanks. Asking about a portable solution in the hopes that there is one. If not, we can use this question to gather a list of the behavior of different systems. That's the next best thing. Which software could be used as a reference to resolve questions like this? I don't suppose the finger daemon is in vogue anymore.
– Lassi
4 hours ago
Going by OpenBSD's manpage: "The full name may contain an ampersand (‘&’)" ... which system are you asking about?
– muru
4 hours ago
Going by OpenBSD's manpage: "The full name may contain an ampersand (‘&’)" ... which system are you asking about?
– muru
4 hours ago
Thanks. Asking about a portable solution in the hopes that there is one. If not, we can use this question to gather a list of the behavior of different systems. That's the next best thing. Which software could be used as a reference to resolve questions like this? I don't suppose the finger daemon is in vogue anymore.
– Lassi
4 hours ago
Thanks. Asking about a portable solution in the hopes that there is one. If not, we can use this question to gather a list of the behavior of different systems. That's the next best thing. Which software could be used as a reference to resolve questions like this? I don't suppose the finger daemon is in vogue anymore.
– Lassi
4 hours ago
add a comment |
0
active
oldest
votes
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%2f535189%2fampersand-in-the-passwd-gecos-field%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f535189%2fampersand-in-the-passwd-gecos-field%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
Going by OpenBSD's manpage: "The full name may contain an ampersand (‘&’)" ... which system are you asking about?
– muru
4 hours ago
Thanks. Asking about a portable solution in the hopes that there is one. If not, we can use this question to gather a list of the behavior of different systems. That's the next best thing. Which software could be used as a reference to resolve questions like this? I don't suppose the finger daemon is in vogue anymore.
– Lassi
4 hours ago