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.
I have changed permissions to all files on the hard drive to 000. Stupid thing to do, but now I can't change it back, since I have restarted the computer and I can't login again as root or any other user.
I get a GDM error permissions should be set to 750. But How can I change them back if I can't login?
I went into grub command prompt and run "find /boot/grub/grub.conf" and it got me file not found
I come to runlevel 5 and services start up just fine, it's just that I can't login anymore. The error I get is (I will retype it here:
Server authorization Directory (daemon/DervAuthDir) is set to /var/gdm but has the wrong permission. Permissions should be set to 0750. Please correct the permissions or configuration /etc/X11/gdm/gdm.conf and restart gdm.
I know what I should do, because it says so in the message. But I can't login as root or any other user as I get "Login Incorrect". That's because of changed permissions probably it can't read the login files.
Not sure about RH9, but try this.
On boot, hit 'e' at the splash screen(or wherever RH9 asks you to interfere with grub or select a kernel to boot).
edit the 'kernel*blahblah*' line, add an s(or 1) at the end, and boot.
check by typing 'runlevel', might return 'unknown' on that distro.
I typed 'a' at GRUB menu, and added single to kernel at boot, which got me into the system as single user and I changed the permissions back, so that everything works now. Except one thing. X doesn't work. Some bad permissions and some missing files. I understand the bad permissions, but where did the missing files go?
Is there a way I can reinstall X?
Does anyone know how to do that? I think it will be easier than finding all the bad permissions and missing files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.