Linux Terminal not accepting entered text
I am using Raspbian, similar to Debian, and I am trying to login as superuser. I have ran both $su and $su - and both have required a password, but as I go to type in a password, none of the characters I type are displayed, and after i have typed in the whole password, it still does not think I have typed in anything. Copy and paste does not work, and I'm not sure quite what to do. I am a beginner when it comes to linux, so I might have missed an obvious step. Any help is appreciated!
terminal debian-based
add a comment |
I am using Raspbian, similar to Debian, and I am trying to login as superuser. I have ran both $su and $su - and both have required a password, but as I go to type in a password, none of the characters I type are displayed, and after i have typed in the whole password, it still does not think I have typed in anything. Copy and paste does not work, and I'm not sure quite what to do. I am a beginner when it comes to linux, so I might have missed an obvious step. Any help is appreciated!
terminal debian-based
The password not displaying is a security measure and to be expected. You did remember to press the Enter key after typing the password, didn't you? If so, what message did you get?
– Matthew Strawbridge
Nov 24 '18 at 18:17
I did hit enter, and I was greeted by "Authentication failure". Thanks though for letting me know that it was not supposed to render the text. Is the super user password different than the normal password to sign onto the computer? I am using the only account on the computer, and I'm not sure what else the password would be.
– Jack Barbieri
Nov 24 '18 at 23:10
add a comment |
I am using Raspbian, similar to Debian, and I am trying to login as superuser. I have ran both $su and $su - and both have required a password, but as I go to type in a password, none of the characters I type are displayed, and after i have typed in the whole password, it still does not think I have typed in anything. Copy and paste does not work, and I'm not sure quite what to do. I am a beginner when it comes to linux, so I might have missed an obvious step. Any help is appreciated!
terminal debian-based
I am using Raspbian, similar to Debian, and I am trying to login as superuser. I have ran both $su and $su - and both have required a password, but as I go to type in a password, none of the characters I type are displayed, and after i have typed in the whole password, it still does not think I have typed in anything. Copy and paste does not work, and I'm not sure quite what to do. I am a beginner when it comes to linux, so I might have missed an obvious step. Any help is appreciated!
terminal debian-based
terminal debian-based
asked Nov 24 '18 at 15:53
Jack BarbieriJack Barbieri
82
82
The password not displaying is a security measure and to be expected. You did remember to press the Enter key after typing the password, didn't you? If so, what message did you get?
– Matthew Strawbridge
Nov 24 '18 at 18:17
I did hit enter, and I was greeted by "Authentication failure". Thanks though for letting me know that it was not supposed to render the text. Is the super user password different than the normal password to sign onto the computer? I am using the only account on the computer, and I'm not sure what else the password would be.
– Jack Barbieri
Nov 24 '18 at 23:10
add a comment |
The password not displaying is a security measure and to be expected. You did remember to press the Enter key after typing the password, didn't you? If so, what message did you get?
– Matthew Strawbridge
Nov 24 '18 at 18:17
I did hit enter, and I was greeted by "Authentication failure". Thanks though for letting me know that it was not supposed to render the text. Is the super user password different than the normal password to sign onto the computer? I am using the only account on the computer, and I'm not sure what else the password would be.
– Jack Barbieri
Nov 24 '18 at 23:10
The password not displaying is a security measure and to be expected. You did remember to press the Enter key after typing the password, didn't you? If so, what message did you get?
– Matthew Strawbridge
Nov 24 '18 at 18:17
The password not displaying is a security measure and to be expected. You did remember to press the Enter key after typing the password, didn't you? If so, what message did you get?
– Matthew Strawbridge
Nov 24 '18 at 18:17
I did hit enter, and I was greeted by "Authentication failure". Thanks though for letting me know that it was not supposed to render the text. Is the super user password different than the normal password to sign onto the computer? I am using the only account on the computer, and I'm not sure what else the password would be.
– Jack Barbieri
Nov 24 '18 at 23:10
I did hit enter, and I was greeted by "Authentication failure". Thanks though for letting me know that it was not supposed to render the text. Is the super user password different than the normal password to sign onto the computer? I am using the only account on the computer, and I'm not sure what else the password would be.
– Jack Barbieri
Nov 24 '18 at 23:10
add a comment |
1 Answer
1
active
oldest
votes
The Raspbian FAQ includes instructions for making a proper root account, which suggests that it doesn't come with one set up by default.
Pay particular attention to the first line:
Don't do this unless you're certain that you want and need a true root account. sudo will take care of root tasks for you nicely in almost all cases.
In other words, you'll probably find that you can skip doing the su that's failing, and instead just prefix the commands that need to run as the super-user with sudo.
For example, if you were supposed to do mkdir x/y/z then you'd do sudo mkdir x/y/z instead. You'll still be asked for a password, but it will be yours not a password for the root account.
If there are lots of commands you need to run as super user, you might find you can do sudo bash to enter a new shell with root privileges, then run the commands without needing the sudo prefix, then exit to get back to your normal shell.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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%2fstackoverflow.com%2fquestions%2f53459850%2flinux-terminal-not-accepting-entered-text%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
The Raspbian FAQ includes instructions for making a proper root account, which suggests that it doesn't come with one set up by default.
Pay particular attention to the first line:
Don't do this unless you're certain that you want and need a true root account. sudo will take care of root tasks for you nicely in almost all cases.
In other words, you'll probably find that you can skip doing the su that's failing, and instead just prefix the commands that need to run as the super-user with sudo.
For example, if you were supposed to do mkdir x/y/z then you'd do sudo mkdir x/y/z instead. You'll still be asked for a password, but it will be yours not a password for the root account.
If there are lots of commands you need to run as super user, you might find you can do sudo bash to enter a new shell with root privileges, then run the commands without needing the sudo prefix, then exit to get back to your normal shell.
add a comment |
The Raspbian FAQ includes instructions for making a proper root account, which suggests that it doesn't come with one set up by default.
Pay particular attention to the first line:
Don't do this unless you're certain that you want and need a true root account. sudo will take care of root tasks for you nicely in almost all cases.
In other words, you'll probably find that you can skip doing the su that's failing, and instead just prefix the commands that need to run as the super-user with sudo.
For example, if you were supposed to do mkdir x/y/z then you'd do sudo mkdir x/y/z instead. You'll still be asked for a password, but it will be yours not a password for the root account.
If there are lots of commands you need to run as super user, you might find you can do sudo bash to enter a new shell with root privileges, then run the commands without needing the sudo prefix, then exit to get back to your normal shell.
add a comment |
The Raspbian FAQ includes instructions for making a proper root account, which suggests that it doesn't come with one set up by default.
Pay particular attention to the first line:
Don't do this unless you're certain that you want and need a true root account. sudo will take care of root tasks for you nicely in almost all cases.
In other words, you'll probably find that you can skip doing the su that's failing, and instead just prefix the commands that need to run as the super-user with sudo.
For example, if you were supposed to do mkdir x/y/z then you'd do sudo mkdir x/y/z instead. You'll still be asked for a password, but it will be yours not a password for the root account.
If there are lots of commands you need to run as super user, you might find you can do sudo bash to enter a new shell with root privileges, then run the commands without needing the sudo prefix, then exit to get back to your normal shell.
The Raspbian FAQ includes instructions for making a proper root account, which suggests that it doesn't come with one set up by default.
Pay particular attention to the first line:
Don't do this unless you're certain that you want and need a true root account. sudo will take care of root tasks for you nicely in almost all cases.
In other words, you'll probably find that you can skip doing the su that's failing, and instead just prefix the commands that need to run as the super-user with sudo.
For example, if you were supposed to do mkdir x/y/z then you'd do sudo mkdir x/y/z instead. You'll still be asked for a password, but it will be yours not a password for the root account.
If there are lots of commands you need to run as super user, you might find you can do sudo bash to enter a new shell with root privileges, then run the commands without needing the sudo prefix, then exit to get back to your normal shell.
answered Nov 24 '18 at 23:22
Matthew StrawbridgeMatthew Strawbridge
14.8k105279
14.8k105279
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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%2fstackoverflow.com%2fquestions%2f53459850%2flinux-terminal-not-accepting-entered-text%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
The password not displaying is a security measure and to be expected. You did remember to press the Enter key after typing the password, didn't you? If so, what message did you get?
– Matthew Strawbridge
Nov 24 '18 at 18:17
I did hit enter, and I was greeted by "Authentication failure". Thanks though for letting me know that it was not supposed to render the text. Is the super user password different than the normal password to sign onto the computer? I am using the only account on the computer, and I'm not sure what else the password would be.
– Jack Barbieri
Nov 24 '18 at 23:10