Ubuntu root cannot log in because of mistake made manually editing etc/password

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am a new user of Ubuntu. I mistakenly changed the etc/password file because it was showing duplicates user error while deleting one user.



Now it's not possible to log in with root user/password. I am using Cloud Hosting of linode Hosting. I am not resetting root password from the linode.com panel. I am scared I to need shutdown the server first and all running services will also stop, and if after reset login might not work and I will not be able to restart the services.



How can I fix this?







share|improve this question






















  • Can't linode help with this issue?
    – George Udosen
    Apr 21 at 7:59






  • 1




    Restore a backup from your access page on the cloud. And if you do not have one delete this instance and make a new one. Making mistakes on a cloud instance is bad. Not having a restore point is the end of your system. I would start making a backup of your personal files. And make a habit of making backups.
    – Rinzwind
    Apr 21 at 8:37











  • @GeorgeUdosen I did't create support ticket there, I am creating ticket there for help.
    – Adnan shoukat
    Apr 21 at 13:44










  • @Rinzwind I dont know how to fix that issue, I know the issue that I made. But Now i am not able to login at Shell/FTP how I can fix that issue.
    – Adnan shoukat
    Apr 21 at 13:46










  • When you work with online instances you --must-- have a backup made before you start editing configuration files When you lock yourself out you basically kill your system. The generic method would be: dis-attach your instance from your dashboard at the cloud instance website, create a new instance, mount the old system inside your new system and fix your problem. Re-attach your old system and boot it.
    – Rinzwind
    Apr 21 at 14:16















up vote
0
down vote

favorite












I am a new user of Ubuntu. I mistakenly changed the etc/password file because it was showing duplicates user error while deleting one user.



Now it's not possible to log in with root user/password. I am using Cloud Hosting of linode Hosting. I am not resetting root password from the linode.com panel. I am scared I to need shutdown the server first and all running services will also stop, and if after reset login might not work and I will not be able to restart the services.



How can I fix this?







share|improve this question






















  • Can't linode help with this issue?
    – George Udosen
    Apr 21 at 7:59






  • 1




    Restore a backup from your access page on the cloud. And if you do not have one delete this instance and make a new one. Making mistakes on a cloud instance is bad. Not having a restore point is the end of your system. I would start making a backup of your personal files. And make a habit of making backups.
    – Rinzwind
    Apr 21 at 8:37











  • @GeorgeUdosen I did't create support ticket there, I am creating ticket there for help.
    – Adnan shoukat
    Apr 21 at 13:44










  • @Rinzwind I dont know how to fix that issue, I know the issue that I made. But Now i am not able to login at Shell/FTP how I can fix that issue.
    – Adnan shoukat
    Apr 21 at 13:46










  • When you work with online instances you --must-- have a backup made before you start editing configuration files When you lock yourself out you basically kill your system. The generic method would be: dis-attach your instance from your dashboard at the cloud instance website, create a new instance, mount the old system inside your new system and fix your problem. Re-attach your old system and boot it.
    – Rinzwind
    Apr 21 at 14:16













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am a new user of Ubuntu. I mistakenly changed the etc/password file because it was showing duplicates user error while deleting one user.



Now it's not possible to log in with root user/password. I am using Cloud Hosting of linode Hosting. I am not resetting root password from the linode.com panel. I am scared I to need shutdown the server first and all running services will also stop, and if after reset login might not work and I will not be able to restart the services.



How can I fix this?







share|improve this question














I am a new user of Ubuntu. I mistakenly changed the etc/password file because it was showing duplicates user error while deleting one user.



Now it's not possible to log in with root user/password. I am using Cloud Hosting of linode Hosting. I am not resetting root password from the linode.com panel. I am scared I to need shutdown the server first and all running services will also stop, and if after reset login might not work and I will not be able to restart the services.



How can I fix this?









share|improve this question













share|improve this question




share|improve this question








edited Apr 21 at 8:04









Zanna

48k13119227




48k13119227










asked Apr 21 at 7:45









Adnan shoukat

1




1











  • Can't linode help with this issue?
    – George Udosen
    Apr 21 at 7:59






  • 1




    Restore a backup from your access page on the cloud. And if you do not have one delete this instance and make a new one. Making mistakes on a cloud instance is bad. Not having a restore point is the end of your system. I would start making a backup of your personal files. And make a habit of making backups.
    – Rinzwind
    Apr 21 at 8:37











  • @GeorgeUdosen I did't create support ticket there, I am creating ticket there for help.
    – Adnan shoukat
    Apr 21 at 13:44










  • @Rinzwind I dont know how to fix that issue, I know the issue that I made. But Now i am not able to login at Shell/FTP how I can fix that issue.
    – Adnan shoukat
    Apr 21 at 13:46










  • When you work with online instances you --must-- have a backup made before you start editing configuration files When you lock yourself out you basically kill your system. The generic method would be: dis-attach your instance from your dashboard at the cloud instance website, create a new instance, mount the old system inside your new system and fix your problem. Re-attach your old system and boot it.
    – Rinzwind
    Apr 21 at 14:16

















  • Can't linode help with this issue?
    – George Udosen
    Apr 21 at 7:59






  • 1




    Restore a backup from your access page on the cloud. And if you do not have one delete this instance and make a new one. Making mistakes on a cloud instance is bad. Not having a restore point is the end of your system. I would start making a backup of your personal files. And make a habit of making backups.
    – Rinzwind
    Apr 21 at 8:37











  • @GeorgeUdosen I did't create support ticket there, I am creating ticket there for help.
    – Adnan shoukat
    Apr 21 at 13:44










  • @Rinzwind I dont know how to fix that issue, I know the issue that I made. But Now i am not able to login at Shell/FTP how I can fix that issue.
    – Adnan shoukat
    Apr 21 at 13:46










  • When you work with online instances you --must-- have a backup made before you start editing configuration files When you lock yourself out you basically kill your system. The generic method would be: dis-attach your instance from your dashboard at the cloud instance website, create a new instance, mount the old system inside your new system and fix your problem. Re-attach your old system and boot it.
    – Rinzwind
    Apr 21 at 14:16
















Can't linode help with this issue?
– George Udosen
Apr 21 at 7:59




Can't linode help with this issue?
– George Udosen
Apr 21 at 7:59




1




1




Restore a backup from your access page on the cloud. And if you do not have one delete this instance and make a new one. Making mistakes on a cloud instance is bad. Not having a restore point is the end of your system. I would start making a backup of your personal files. And make a habit of making backups.
– Rinzwind
Apr 21 at 8:37





Restore a backup from your access page on the cloud. And if you do not have one delete this instance and make a new one. Making mistakes on a cloud instance is bad. Not having a restore point is the end of your system. I would start making a backup of your personal files. And make a habit of making backups.
– Rinzwind
Apr 21 at 8:37













@GeorgeUdosen I did't create support ticket there, I am creating ticket there for help.
– Adnan shoukat
Apr 21 at 13:44




@GeorgeUdosen I did't create support ticket there, I am creating ticket there for help.
– Adnan shoukat
Apr 21 at 13:44












@Rinzwind I dont know how to fix that issue, I know the issue that I made. But Now i am not able to login at Shell/FTP how I can fix that issue.
– Adnan shoukat
Apr 21 at 13:46




@Rinzwind I dont know how to fix that issue, I know the issue that I made. But Now i am not able to login at Shell/FTP how I can fix that issue.
– Adnan shoukat
Apr 21 at 13:46












When you work with online instances you --must-- have a backup made before you start editing configuration files When you lock yourself out you basically kill your system. The generic method would be: dis-attach your instance from your dashboard at the cloud instance website, create a new instance, mount the old system inside your new system and fix your problem. Re-attach your old system and boot it.
– Rinzwind
Apr 21 at 14:16





When you work with online instances you --must-- have a backup made before you start editing configuration files When you lock yourself out you basically kill your system. The generic method would be: dis-attach your instance from your dashboard at the cloud instance website, create a new instance, mount the old system inside your new system and fix your problem. Re-attach your old system and boot it.
– Rinzwind
Apr 21 at 14:16
















active

oldest

votes











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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026875%2fubuntu-root-cannot-log-in-because-of-mistake-made-manually-editing-etc-password%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026875%2fubuntu-root-cannot-log-in-because-of-mistake-made-manually-editing-etc-password%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error