MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
hello,
I am having a hard time with my mandrake 10.0.
since few days I can't login as a normal user. when I type the login and password I waite few minutes and I go back to the login window.
I can only login as root.
how can I fix this problem ?
thanks
tchoua
I tryed to change my user password but it doesn't solve the problem.
I am sure that the problem is not a password problem.
when I login the it start the graphic environement and then the screen goes black and I return on the login window.
It seems that it is more the user sesion that is broken.
I try to create a new user but I can't login with the new user.
my security is set to very few level.
my user name is tchoua and my groups is tchoua and fileshare and I also cheked users (witch was not cheker and I thought that it was good to ckek it)
my bash is /bin/bash
and I am using a mandrake 10.0
Check the permissions of /bin/bash : 'ls -la /bin/bash'
Also check /bin : 'ls -lad /bin'
bash chould be "-rwxr-xr-x" and /bin "drwxr-xr-x"
If not run 'chmod 755 /bin/bash ; chmod 755 /bin'
permissions on /bin wasn't rwxr-xr-x so I change it for it.
chmod 755 /bin and now it has the rwxr-xr-x permissions.
this doesn't solve the problem.
do you have an other idea ?
I have more information on my error.
I did a strace su - tchoua -c /bin/bash and have a lots od error or file missing I'm not sure this is the message (it is very impressive so clean it up a bit) :
open("/etc/passwd", O_RDONLY) = -1 EACCES (Permission denied)
open("/etc/ld.so.cache", O_RDONLY) = -1 EACCES (Permission denied)
open("/lib/tls/i686/sse/mmx/libnss_nisplus.so.2", O_RDONLY) = -1 EACCES (Permission denied)
.... etc ....
stat64("/usr/lib/mmx", 0xbfffca20) = -1 EACCES (Permission denied)
open("/usr/lib/libnss_nisplus.so.2", O_RDONLY) = -1 EACCES (Permission denied)
stat64("/usr/lib", 0xbfffca20) = -1 EACCES (Permission denied)
open("/lib/libnss_nis.so.2", O_RDONLY) = -1 EACCES (Permission denied)
I don't know what to do and I event don't know what is the file libnss_nisplus.so.2 for ?
if this message means something to you give me an ansuwer.
Yupp, I really think you have screwed up your permissions. I bet an 'ls -lad / ' or 'ls -lad /etc' will show "rwx------" or similar.
Begin by 'chmod 755 / ' and see if things start to work. If not, the easiest way to get everything right is probably to reinstall MDK.
If that's not possible you could try
This could have some security implications if you have a multi user system (other users will be able to read log files
and stuff they normaly wouldn't).
libnss_nisplus is used if you login against NIS+ (Suns Directory Service, similar to Active Directory, LDAP or NDS).
It's a default in /etc/nsswitch.conf
hai,
i have the same problem one day then find what is it?
the solution is simple.
the window goes back to login window shows that u r not able to load the KDE
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.