Computer Password and Name change
- tjones
- Offline
- Senior Member
-
Less
More
- Posts: 76
- Thank you received: 2
31 May 2024 19:37 #301989
by tjones
Computer Password and Name change was created by tjones
This is less of a LinuxCNC issue and more of a Linux issue. I am selling my longtime linuxCNC machine and decided to change the computer name and password to the new buyers request. (Building a new machine)
I first did a password change using: passwd
Then I did a hostname change using: hostnamectl
I then verified the hostname had been changed and restarted the computer. Once I restart I can see the hostname changed on the login in screen, but it won't accept any combo of new or old login information. So I can't get into the system. Any ideas on what I can do to get in? I did take a backup of my config files before I did any of this, so its not the end of the work to re-install everything and drop the configs back in.
I first did a password change using: passwd
Then I did a hostname change using: hostnamectl
I then verified the hostname had been changed and restarted the computer. Once I restart I can see the hostname changed on the login in screen, but it won't accept any combo of new or old login information. So I can't get into the system. Any ideas on what I can do to get in? I did take a backup of my config files before I did any of this, so its not the end of the work to re-install everything and drop the configs back in.
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1200
- Thank you received: 422
02 Jun 2024 03:54 #302120
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic Computer Password and Name change
hmmmm you didn't accidently have caps lock on when changing the passwd ?
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- ississ
-
- Offline
- Senior Member
-
Less
More
- Posts: 68
- Thank you received: 25
15 Jun 2024 19:29 #303068
by ississ
Depending on the linux distribution, you may already have a resque/repair boot option which should give a root shell to fix things.
Replied by ississ on topic Computer Password and Name change
Boot with a live usb system, mount the hard drive and edit /etc/shadow and remove password from the user. Then umount, boot & login without password.This is less of a LinuxCNC issue and more of a Linux issue. I am selling my longtime linuxCNC machine and decided to change the computer name and password to the new buyers request. (Building a new machine)
I first did a password change using: passwd
Then I did a hostname change using: hostnamectl
I then verified the hostname had been changed and restarted the computer. Once I restart I can see the hostname changed on the login in screen, but it won't accept any combo of new or old login information. So I can't get into the system. Any ideas on what I can do to get in? I did take a backup of my config files before I did any of this, so its not the end of the work to re-install everything and drop the configs back in.
Depending on the linux distribution, you may already have a resque/repair boot option which should give a root shell to fix things.
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds