authentication is required to change user dataMutilple Authenticate Windows after unlocking Ubuntu 14.10 ( using gnome metacity)Authentication token manipulation error when I try to change passwordCannot authenticate without a passwordCannot turn off passwordPassword Authentication ProblemsAuthentication failed with the correct password and now I cannot use sudo anymoreHow to change administrator password?Authentication with admin password problemUbuntu 14.04.1 howto set a short non complex password for very kiddies?Single user forgot password can't do updatesadmin passwd lost
Do I have a twin with permutated remainders?
Rock identification in KY
Why is 150k or 200k jobs considered good when there's 300k+ births a month?
Can a vampire attack twice with their claws using Multiattack?
Can I make popcorn with any corn?
Why do I get two different answers for this counting problem?
Mortgage Pre-approval / Loan - Apply Alone or with Fiancée?
Why doesn't a class having private constructor prevent inheriting from this class? How to control which classes can inherit from a certain base?
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
Approximately how much travel time was saved by the opening of the Suez Canal in 1869?
DC-DC converter from low voltage at high current, to high voltage at low current
How does quantile regression compare to logistic regression with the variable split at the quantile?
How to format long polynomial?
how to check a propriety using r studio
Important Resources for Dark Age Civilizations?
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
Is it possible to do 50 km distance without any previous training?
Uncaught TypeError: 'set' on proxy: trap returned falsish for property Name
NMaximize is not converging to a solution
How does one intimidate enemies without having the capacity for violence?
Is it legal for company to use my work email to pretend I still work there?
Alternative to sending password over mail?
What typically incentivizes a professor to change jobs to a lower ranking university?
What does it mean to describe someone as a butt steak?
authentication is required to change user data
Mutilple Authenticate Windows after unlocking Ubuntu 14.10 ( using gnome metacity)Authentication token manipulation error when I try to change passwordCannot authenticate without a passwordCannot turn off passwordPassword Authentication ProblemsAuthentication failed with the correct password and now I cannot use sudo anymoreHow to change administrator password?Authentication with admin password problemUbuntu 14.04.1 howto set a short non complex password for very kiddies?Single user forgot password can't do updatesadmin passwd lost
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I set administrator password to blank. Now, I can't install new programs (message see in title), or change the admin password ("change" button grayed out). I tried a suggested fix from inside the terminal, but can't type anything into the sudo authentication field.
password authentication
add a comment |
I set administrator password to blank. Now, I can't install new programs (message see in title), or change the admin password ("change" button grayed out). I tried a suggested fix from inside the terminal, but can't type anything into the sudo authentication field.
password authentication
1
The sudo authentication field should stay completely blank as you type. It never displays asterisks, even
– hexafraction
Nov 24 '12 at 0:52
1
How did you set the administrator password to blank? "administrator" is a term used on Windows, on Linux we have a root user, and users with administrator privileges, so it's unclear what you mean.
– Flimm
Nov 26 '12 at 14:33
add a comment |
I set administrator password to blank. Now, I can't install new programs (message see in title), or change the admin password ("change" button grayed out). I tried a suggested fix from inside the terminal, but can't type anything into the sudo authentication field.
password authentication
I set administrator password to blank. Now, I can't install new programs (message see in title), or change the admin password ("change" button grayed out). I tried a suggested fix from inside the terminal, but can't type anything into the sudo authentication field.
password authentication
password authentication
asked Nov 23 '12 at 23:20
arminmarminm
111
111
1
The sudo authentication field should stay completely blank as you type. It never displays asterisks, even
– hexafraction
Nov 24 '12 at 0:52
1
How did you set the administrator password to blank? "administrator" is a term used on Windows, on Linux we have a root user, and users with administrator privileges, so it's unclear what you mean.
– Flimm
Nov 26 '12 at 14:33
add a comment |
1
The sudo authentication field should stay completely blank as you type. It never displays asterisks, even
– hexafraction
Nov 24 '12 at 0:52
1
How did you set the administrator password to blank? "administrator" is a term used on Windows, on Linux we have a root user, and users with administrator privileges, so it's unclear what you mean.
– Flimm
Nov 26 '12 at 14:33
1
1
The sudo authentication field should stay completely blank as you type. It never displays asterisks, even
– hexafraction
Nov 24 '12 at 0:52
The sudo authentication field should stay completely blank as you type. It never displays asterisks, even
– hexafraction
Nov 24 '12 at 0:52
1
1
How did you set the administrator password to blank? "administrator" is a term used on Windows, on Linux we have a root user, and users with administrator privileges, so it's unclear what you mean.
– Flimm
Nov 26 '12 at 14:33
How did you set the administrator password to blank? "administrator" is a term used on Windows, on Linux we have a root user, and users with administrator privileges, so it's unclear what you mean.
– Flimm
Nov 26 '12 at 14:33
add a comment |
3 Answers
3
active
oldest
votes
OK, there's two parts to this. First, to answer the question you asked:
Reboot into single user mode (see http://www.debuntu.org/recover-root-password-single-user-mode-and-grub if you don't know how) and set the password for root.
However, I don't think that will solve your actual problem. It sounds like the real problem is that the account you normally log in as is not a member of the sudo group - the root account on Ubuntu normally does not have a password, and is not allowed to log in directly. So, instead, I would recommend that you boot into single user mode as outlined above, then issue the following commands:
adduser youraccountname sudo
passwd youraccountname
shutdown -r now
This will make sure that your user is allowed to become root, and will make sure that your user has a password which you can use when prompted. Once the machine finishes rebooting (the third command there), everything should be back to normal.
add a comment |
I had the same problem. Run the following commands in your terminal:
sudo apt-get update
sudo apt-get upgrade
add a comment |
If you didn't ever set up a password you do not have to recover it but you just have to create it in System settings/User Account. There, click on Password.
So, let's create a new password that you will use as administrator for upgrading, installations and others. In few words, if you didn't ever create a password, create your password and use it when required.
Greetings, Bagsmi.
He can't run it as root unless he's in single user mode, chroot or another root shell...
– Dominic Hayes
May 1 '16 at 16:38
add a comment |
Your Answer
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%2f221145%2fauthentication-is-required-to-change-user-data%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
OK, there's two parts to this. First, to answer the question you asked:
Reboot into single user mode (see http://www.debuntu.org/recover-root-password-single-user-mode-and-grub if you don't know how) and set the password for root.
However, I don't think that will solve your actual problem. It sounds like the real problem is that the account you normally log in as is not a member of the sudo group - the root account on Ubuntu normally does not have a password, and is not allowed to log in directly. So, instead, I would recommend that you boot into single user mode as outlined above, then issue the following commands:
adduser youraccountname sudo
passwd youraccountname
shutdown -r now
This will make sure that your user is allowed to become root, and will make sure that your user has a password which you can use when prompted. Once the machine finishes rebooting (the third command there), everything should be back to normal.
add a comment |
OK, there's two parts to this. First, to answer the question you asked:
Reboot into single user mode (see http://www.debuntu.org/recover-root-password-single-user-mode-and-grub if you don't know how) and set the password for root.
However, I don't think that will solve your actual problem. It sounds like the real problem is that the account you normally log in as is not a member of the sudo group - the root account on Ubuntu normally does not have a password, and is not allowed to log in directly. So, instead, I would recommend that you boot into single user mode as outlined above, then issue the following commands:
adduser youraccountname sudo
passwd youraccountname
shutdown -r now
This will make sure that your user is allowed to become root, and will make sure that your user has a password which you can use when prompted. Once the machine finishes rebooting (the third command there), everything should be back to normal.
add a comment |
OK, there's two parts to this. First, to answer the question you asked:
Reboot into single user mode (see http://www.debuntu.org/recover-root-password-single-user-mode-and-grub if you don't know how) and set the password for root.
However, I don't think that will solve your actual problem. It sounds like the real problem is that the account you normally log in as is not a member of the sudo group - the root account on Ubuntu normally does not have a password, and is not allowed to log in directly. So, instead, I would recommend that you boot into single user mode as outlined above, then issue the following commands:
adduser youraccountname sudo
passwd youraccountname
shutdown -r now
This will make sure that your user is allowed to become root, and will make sure that your user has a password which you can use when prompted. Once the machine finishes rebooting (the third command there), everything should be back to normal.
OK, there's two parts to this. First, to answer the question you asked:
Reboot into single user mode (see http://www.debuntu.org/recover-root-password-single-user-mode-and-grub if you don't know how) and set the password for root.
However, I don't think that will solve your actual problem. It sounds like the real problem is that the account you normally log in as is not a member of the sudo group - the root account on Ubuntu normally does not have a password, and is not allowed to log in directly. So, instead, I would recommend that you boot into single user mode as outlined above, then issue the following commands:
adduser youraccountname sudo
passwd youraccountname
shutdown -r now
This will make sure that your user is allowed to become root, and will make sure that your user has a password which you can use when prompted. Once the machine finishes rebooting (the third command there), everything should be back to normal.
answered Nov 23 '12 at 23:43
Jim SalterJim Salter
3,90011133
3,90011133
add a comment |
add a comment |
I had the same problem. Run the following commands in your terminal:
sudo apt-get update
sudo apt-get upgrade
add a comment |
I had the same problem. Run the following commands in your terminal:
sudo apt-get update
sudo apt-get upgrade
add a comment |
I had the same problem. Run the following commands in your terminal:
sudo apt-get update
sudo apt-get upgrade
I had the same problem. Run the following commands in your terminal:
sudo apt-get update
sudo apt-get upgrade
answered 17 mins ago
UbuntuUbuntu
13
13
add a comment |
add a comment |
If you didn't ever set up a password you do not have to recover it but you just have to create it in System settings/User Account. There, click on Password.
So, let's create a new password that you will use as administrator for upgrading, installations and others. In few words, if you didn't ever create a password, create your password and use it when required.
Greetings, Bagsmi.
He can't run it as root unless he's in single user mode, chroot or another root shell...
– Dominic Hayes
May 1 '16 at 16:38
add a comment |
If you didn't ever set up a password you do not have to recover it but you just have to create it in System settings/User Account. There, click on Password.
So, let's create a new password that you will use as administrator for upgrading, installations and others. In few words, if you didn't ever create a password, create your password and use it when required.
Greetings, Bagsmi.
He can't run it as root unless he's in single user mode, chroot or another root shell...
– Dominic Hayes
May 1 '16 at 16:38
add a comment |
If you didn't ever set up a password you do not have to recover it but you just have to create it in System settings/User Account. There, click on Password.
So, let's create a new password that you will use as administrator for upgrading, installations and others. In few words, if you didn't ever create a password, create your password and use it when required.
Greetings, Bagsmi.
If you didn't ever set up a password you do not have to recover it but you just have to create it in System settings/User Account. There, click on Password.
So, let's create a new password that you will use as administrator for upgrading, installations and others. In few words, if you didn't ever create a password, create your password and use it when required.
Greetings, Bagsmi.
edited Apr 27 '14 at 23:45
jkt123
2,6441321
2,6441321
answered Apr 27 '14 at 18:50
user275071user275071
1
1
He can't run it as root unless he's in single user mode, chroot or another root shell...
– Dominic Hayes
May 1 '16 at 16:38
add a comment |
He can't run it as root unless he's in single user mode, chroot or another root shell...
– Dominic Hayes
May 1 '16 at 16:38
He can't run it as root unless he's in single user mode, chroot or another root shell...
– Dominic Hayes
May 1 '16 at 16:38
He can't run it as root unless he's in single user mode, chroot or another root shell...
– Dominic Hayes
May 1 '16 at 16:38
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%2f221145%2fauthentication-is-required-to-change-user-data%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
1
The sudo authentication field should stay completely blank as you type. It never displays asterisks, even
– hexafraction
Nov 24 '12 at 0:52
1
How did you set the administrator password to blank? "administrator" is a term used on Windows, on Linux we have a root user, and users with administrator privileges, so it's unclear what you mean.
– Flimm
Nov 26 '12 at 14:33