can't log in graphically after editing /etc/shadow
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
can't log in graphically after editing /etc/shadow
hi everyone,
i saw a tutorial in a book about breaking password in linux, it was mostly the same as its in here, it just needed to boot via a live cd, then mount the / partition, after that delete the password in /etc/shadow. well i tried it on my machine, it did worked. but i could only get inside computer via terminal(crtl+alt+Fx) not graphically. does anybody know why?
Tanx
// Moderator Note: I've pruned your post from the thread you posted in originally. Although your issue is related, it's still better served in its own thread. I've also gone ahead and moved your post to the Software forum for better exposure.
Last edited by win32sux; 08-02-2009 at 02:40 AM.
Reason: Added reference link.
i didn't know about that, i will search for it and post the result,
yes i can login into terminal without a password.
tanx
So yeah, you removed the password from your account, the the GDM setting to disallow empty passwords was set (which it is by default.) Do you necessarily want no password for your account? Because another setting you can do through the GDM is autologin for a particular user.
If you do want an empty password, I'd at least recommend that you disable remote logins for that user. (Of course you are entitled to setup your system however you'd like)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.