What do the `--disabled-login` and `--gecos` options of `adduser` command stand for? The Next...
Arrows in tikz Markov chain diagram overlap
Why doesn't Shulchan Aruch include the laws of destroying fruit trees?
Is a linearly independent set whose span is dense a Schauder basis?
Oldie but Goldie
What happens if you break a law in another country outside of that country?
Man transported from Alternate World into ours by a Neutrino Detector
Is it okay to majorly distort historical facts while writing a fiction story?
logical reads on global temp table, but not on session-level temp table
pgfplots: How to draw a tangent graph below two others?
How can a day be of 24 hours?
MT "will strike" & LXX "will watch carefully" (Gen 3:15)?
Can I cast Thunderwave and be at the center of its bottom face, but not be affected by it?
How can the PCs determine if an item is a phylactery?
Can a PhD from a non-TU9 German university become a professor in a TU9 university?
Can Sri Krishna be called 'a person'?
Read/write a pipe-delimited file line by line with some simple text manipulation
Ising model simulation
Shortening a title without changing its meaning
Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?
How do I secure a TV wall mount?
Is this a new Fibonacci Identity?
Is it a bad idea to plug the other end of ESD strap to wall ground?
Is a distribution that is normal, but highly skewed, considered Gaussian?
Avoiding the "not like other girls" trope?
What do the `--disabled-login` and `--gecos` options of `adduser` command stand for?
The Next CEO of Stack OverflowLogin as non-root user in terminalWhat does ~$ stand for?What is the difference between adduser and useradd?Adduser: group sudo does not existWhat does Vi stand for?Cannot login on my ubuntu 14.04Adduser and setting up files for each new userWhat Does Parameter Stand For?Unknown group [somenamehere] in stateoverridevsftpd use users with /usr/sbin/nologin
Running Ubuntu 12.04, I setup a private git server and created a group called git some time ago. Now I am following a guide to install gitlab and when it came to adding a user to the git group and create it, I saw that I already had it.
The command is this:
sudo adduser --disabled-login --gecos 'GitLab' git
taken from Gitlab installation Tutorial.
I would like to understand that command correctly. For me I thought I add a user to a group like this:
adduser user group
So what do --disabled-login
and --gecos
stand for?
command-line adduser
add a comment |
Running Ubuntu 12.04, I setup a private git server and created a group called git some time ago. Now I am following a guide to install gitlab and when it came to adding a user to the git group and create it, I saw that I already had it.
The command is this:
sudo adduser --disabled-login --gecos 'GitLab' git
taken from Gitlab installation Tutorial.
I would like to understand that command correctly. For me I thought I add a user to a group like this:
adduser user group
So what do --disabled-login
and --gecos
stand for?
command-line adduser
add a comment |
Running Ubuntu 12.04, I setup a private git server and created a group called git some time ago. Now I am following a guide to install gitlab and when it came to adding a user to the git group and create it, I saw that I already had it.
The command is this:
sudo adduser --disabled-login --gecos 'GitLab' git
taken from Gitlab installation Tutorial.
I would like to understand that command correctly. For me I thought I add a user to a group like this:
adduser user group
So what do --disabled-login
and --gecos
stand for?
command-line adduser
Running Ubuntu 12.04, I setup a private git server and created a group called git some time ago. Now I am following a guide to install gitlab and when it came to adding a user to the git group and create it, I saw that I already had it.
The command is this:
sudo adduser --disabled-login --gecos 'GitLab' git
taken from Gitlab installation Tutorial.
I would like to understand that command correctly. For me I thought I add a user to a group like this:
adduser user group
So what do --disabled-login
and --gecos
stand for?
command-line adduser
command-line adduser
edited Feb 4 '15 at 14:47
muru
1
1
asked Feb 14 '14 at 10:53
PrivatePrivate
1,90172544
1,90172544
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
It's all written in the manual page!
You don't need to install something, to search on google or to have an internet connection. Just open your terminal and first of all you must to run the following command:
man adduser
to open the manual page for adduser
command.
Then, in that manual page type: /--disabled-login
followed by Enter then press repetitively n to find all occurrences containing --disabled-login
. Do the same for --gecos
.
With a little bit of luck you will find out that:
--disabled-login
Do not run passwd to set the password. The user won't be able
to use her account until the password is set.
and:
--gecos GECOS
Set the gecos field for the new entry generated. adduser will
not ask for finger information if this option is given.
For those wondering what gecos actually is, wikipedia defines it as follows:
The gecos field, or GECOS field is an entry in the /etc/passwd file on Unix, and similar operating systems. It is typically used to record general information about the account or its user(s) such as their real name and phone number.
2
damn never knew about that kind of manual. Thank you sir.
– Private
Feb 14 '14 at 13:32
34
Actually GECOS is really badly explained in the manpage. It's the part where it asks for real name, phone etc. en.wikipedia.org/wiki/Gecos_field
– benjaoming
Jan 11 '16 at 14:55
6
This answers does not explain what gecos is. I came here looking for this info too. Nor does it explain that --disabled-login does not actually disable login as the man implies. it just disables login via password. It is usually used when you set the certificate for cert based ssh login.
– John Little
May 22 '18 at 17:59
I actually used GCOS systems way back in the day, so seeing this field brings back memories of being a carefree if very geeky high school senior. :-)
– fool4jesus
Oct 25 '18 at 20:47
add a comment |
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f420784%2fwhat-do-the-disabled-login-and-gecos-options-of-adduser-command-stand%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
It's all written in the manual page!
You don't need to install something, to search on google or to have an internet connection. Just open your terminal and first of all you must to run the following command:
man adduser
to open the manual page for adduser
command.
Then, in that manual page type: /--disabled-login
followed by Enter then press repetitively n to find all occurrences containing --disabled-login
. Do the same for --gecos
.
With a little bit of luck you will find out that:
--disabled-login
Do not run passwd to set the password. The user won't be able
to use her account until the password is set.
and:
--gecos GECOS
Set the gecos field for the new entry generated. adduser will
not ask for finger information if this option is given.
For those wondering what gecos actually is, wikipedia defines it as follows:
The gecos field, or GECOS field is an entry in the /etc/passwd file on Unix, and similar operating systems. It is typically used to record general information about the account or its user(s) such as their real name and phone number.
2
damn never knew about that kind of manual. Thank you sir.
– Private
Feb 14 '14 at 13:32
34
Actually GECOS is really badly explained in the manpage. It's the part where it asks for real name, phone etc. en.wikipedia.org/wiki/Gecos_field
– benjaoming
Jan 11 '16 at 14:55
6
This answers does not explain what gecos is. I came here looking for this info too. Nor does it explain that --disabled-login does not actually disable login as the man implies. it just disables login via password. It is usually used when you set the certificate for cert based ssh login.
– John Little
May 22 '18 at 17:59
I actually used GCOS systems way back in the day, so seeing this field brings back memories of being a carefree if very geeky high school senior. :-)
– fool4jesus
Oct 25 '18 at 20:47
add a comment |
It's all written in the manual page!
You don't need to install something, to search on google or to have an internet connection. Just open your terminal and first of all you must to run the following command:
man adduser
to open the manual page for adduser
command.
Then, in that manual page type: /--disabled-login
followed by Enter then press repetitively n to find all occurrences containing --disabled-login
. Do the same for --gecos
.
With a little bit of luck you will find out that:
--disabled-login
Do not run passwd to set the password. The user won't be able
to use her account until the password is set.
and:
--gecos GECOS
Set the gecos field for the new entry generated. adduser will
not ask for finger information if this option is given.
For those wondering what gecos actually is, wikipedia defines it as follows:
The gecos field, or GECOS field is an entry in the /etc/passwd file on Unix, and similar operating systems. It is typically used to record general information about the account or its user(s) such as their real name and phone number.
2
damn never knew about that kind of manual. Thank you sir.
– Private
Feb 14 '14 at 13:32
34
Actually GECOS is really badly explained in the manpage. It's the part where it asks for real name, phone etc. en.wikipedia.org/wiki/Gecos_field
– benjaoming
Jan 11 '16 at 14:55
6
This answers does not explain what gecos is. I came here looking for this info too. Nor does it explain that --disabled-login does not actually disable login as the man implies. it just disables login via password. It is usually used when you set the certificate for cert based ssh login.
– John Little
May 22 '18 at 17:59
I actually used GCOS systems way back in the day, so seeing this field brings back memories of being a carefree if very geeky high school senior. :-)
– fool4jesus
Oct 25 '18 at 20:47
add a comment |
It's all written in the manual page!
You don't need to install something, to search on google or to have an internet connection. Just open your terminal and first of all you must to run the following command:
man adduser
to open the manual page for adduser
command.
Then, in that manual page type: /--disabled-login
followed by Enter then press repetitively n to find all occurrences containing --disabled-login
. Do the same for --gecos
.
With a little bit of luck you will find out that:
--disabled-login
Do not run passwd to set the password. The user won't be able
to use her account until the password is set.
and:
--gecos GECOS
Set the gecos field for the new entry generated. adduser will
not ask for finger information if this option is given.
For those wondering what gecos actually is, wikipedia defines it as follows:
The gecos field, or GECOS field is an entry in the /etc/passwd file on Unix, and similar operating systems. It is typically used to record general information about the account or its user(s) such as their real name and phone number.
It's all written in the manual page!
You don't need to install something, to search on google or to have an internet connection. Just open your terminal and first of all you must to run the following command:
man adduser
to open the manual page for adduser
command.
Then, in that manual page type: /--disabled-login
followed by Enter then press repetitively n to find all occurrences containing --disabled-login
. Do the same for --gecos
.
With a little bit of luck you will find out that:
--disabled-login
Do not run passwd to set the password. The user won't be able
to use her account until the password is set.
and:
--gecos GECOS
Set the gecos field for the new entry generated. adduser will
not ask for finger information if this option is given.
For those wondering what gecos actually is, wikipedia defines it as follows:
The gecos field, or GECOS field is an entry in the /etc/passwd file on Unix, and similar operating systems. It is typically used to record general information about the account or its user(s) such as their real name and phone number.
edited 12 mins ago
paradoX
1032
1032
answered Feb 14 '14 at 11:17
Radu RădeanuRadu Rădeanu
120k35252328
120k35252328
2
damn never knew about that kind of manual. Thank you sir.
– Private
Feb 14 '14 at 13:32
34
Actually GECOS is really badly explained in the manpage. It's the part where it asks for real name, phone etc. en.wikipedia.org/wiki/Gecos_field
– benjaoming
Jan 11 '16 at 14:55
6
This answers does not explain what gecos is. I came here looking for this info too. Nor does it explain that --disabled-login does not actually disable login as the man implies. it just disables login via password. It is usually used when you set the certificate for cert based ssh login.
– John Little
May 22 '18 at 17:59
I actually used GCOS systems way back in the day, so seeing this field brings back memories of being a carefree if very geeky high school senior. :-)
– fool4jesus
Oct 25 '18 at 20:47
add a comment |
2
damn never knew about that kind of manual. Thank you sir.
– Private
Feb 14 '14 at 13:32
34
Actually GECOS is really badly explained in the manpage. It's the part where it asks for real name, phone etc. en.wikipedia.org/wiki/Gecos_field
– benjaoming
Jan 11 '16 at 14:55
6
This answers does not explain what gecos is. I came here looking for this info too. Nor does it explain that --disabled-login does not actually disable login as the man implies. it just disables login via password. It is usually used when you set the certificate for cert based ssh login.
– John Little
May 22 '18 at 17:59
I actually used GCOS systems way back in the day, so seeing this field brings back memories of being a carefree if very geeky high school senior. :-)
– fool4jesus
Oct 25 '18 at 20:47
2
2
damn never knew about that kind of manual. Thank you sir.
– Private
Feb 14 '14 at 13:32
damn never knew about that kind of manual. Thank you sir.
– Private
Feb 14 '14 at 13:32
34
34
Actually GECOS is really badly explained in the manpage. It's the part where it asks for real name, phone etc. en.wikipedia.org/wiki/Gecos_field
– benjaoming
Jan 11 '16 at 14:55
Actually GECOS is really badly explained in the manpage. It's the part where it asks for real name, phone etc. en.wikipedia.org/wiki/Gecos_field
– benjaoming
Jan 11 '16 at 14:55
6
6
This answers does not explain what gecos is. I came here looking for this info too. Nor does it explain that --disabled-login does not actually disable login as the man implies. it just disables login via password. It is usually used when you set the certificate for cert based ssh login.
– John Little
May 22 '18 at 17:59
This answers does not explain what gecos is. I came here looking for this info too. Nor does it explain that --disabled-login does not actually disable login as the man implies. it just disables login via password. It is usually used when you set the certificate for cert based ssh login.
– John Little
May 22 '18 at 17:59
I actually used GCOS systems way back in the day, so seeing this field brings back memories of being a carefree if very geeky high school senior. :-)
– fool4jesus
Oct 25 '18 at 20:47
I actually used GCOS systems way back in the day, so seeing this field brings back memories of being a carefree if very geeky high school senior. :-)
– fool4jesus
Oct 25 '18 at 20:47
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f420784%2fwhat-do-the-disabled-login-and-gecos-options-of-adduser-command-stand%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