Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was attempting to change my password for my login, and for when the system went to sleep.
I was on a Linux Forum, and someone recommended that I use the terminal command, and enter sudo apt passwd
Went through that process, and then went to my user group file (which I now believe I should have done first!)
I made some changes, and now I cannot get back in there; it asks for a password, and none of mine work.
When I tried one of my other user names, I got a screen that said apt was corrupt and I should install another version of Linux Mint.
Not sure what to do now. I can function, but the screen goes to sleep after 10 minutes, and I have to shut down and restart every time.
My questions: 1. Is there a way to reset or fix the corruption; 2. If I have to bail out and start over with a new Linux Mint download, will I have an option to delete the corrupt version? I would rather not start all over, it took me some time to get it the way I want it.
Thank you for any help
FYI you do not need to use sudo to change your own user's password.
The first thing I would try is booting to single user mode which gives you root access. Then change your user's password using passwd specifying your the username.
I just wanted to comment here that with the help of the two guys who gave me some direction, I finally got it to work, and learned a lot in the process.
Thanks again!
Vee
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.