Ubuntu root cannot log in because of mistake made manually editing etc/password
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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?
login password password-recovery
 |Â
show 1 more comment
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?
login password password-recovery
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
 |Â
show 1 more comment
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?
login password password-recovery
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?
login password password-recovery
edited Apr 21 at 8:04
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
Zanna
48k13119227
48k13119227
asked Apr 21 at 7:45
![](https://lh3.googleusercontent.com/-oFlvf3cJ3k8/AAAAAAAAAAI/AAAAAAAAAC0/6P-6nJ17U6k/photo.jpg?sz=32)
![](https://lh3.googleusercontent.com/-oFlvf3cJ3k8/AAAAAAAAAAI/AAAAAAAAAC0/6P-6nJ17U6k/photo.jpg?sz=32)
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
 |Â
show 1 more comment
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
 |Â
show 1 more comment
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
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