![]() |
unable to login as user; can login as root.
After installing all of the packages needed to compile kernel 2.6.8, and after successful installation of the new kernel, and after successfully booting the new kernel, I am unable to login using my username.
I can login as root with no problem. I have a single user system, but I login as root only when necessary. All of the files in my /home/user directory are intact. The information in passwd is unchanged. I just can't login as user. Using adduser I added a new user and password. Same thing. I have upgraded my kernel several times and never had any problem. At the login prompt I type in my username and get a message "System bootup in progress-please wait." And then, "incorrect login." The request for password never appears. I type in root and get the same System bootup...message, but I also get a "Password:" prompt. Any ideas anybody. Thanks, rusty |
Out of curiosity...did you do this recompile to get ATI drivers working? What other adjustments were made? I have seen this problem before, and both times were after installs of video drivers or updates to desktop environments. In both cases the installers had changed the permissions on crucial directories, and the user did not have access to them anymore.
When logged in as root, can you su into another user? Can you log the user in into a different desktop environment? As root, have you checked the user's group memberships and made sure they were not changed somehow? You could also check the groups themselves and make sure they were not altered. This may be the wrong track to follow, but it is all I can think of at the moment. By the way, have you tried booting into your old kernel? |
seems as if the script /etc/init.d/rmnologin is never started,
maybe you removed /etc/rc?.d/S99rmnologin or set default runlevel to single user (1) instead of 3 (mutliuser, network, console) or 5 (multiuser, network, X) when the file /etc/nologin exists, its message is shown when a normal user tries to log in and the login is cancelled. only superuser can login while this file exists... (try deleting it manually for a test, but this will not fix your problem, the file is created by /etc/init.d/bootmisc.sh at bootup and deleted by /etc/init.d/rmnologin as last "boot job" hth, Flo |
I use root all the time to be honest, it's easier to do system stuff.
|
Quote:
|
Not as long as you know what your doing, what can happen?
*EDIT* Yeah if your doing chat stuff on irc etc its better not to use root. |
Quote:
|
Ok i get your point, but what are the chances? Ive always logged in as root for my 2 years of using linux, no asshole has ever tried to hack me or break into my house and use my comp while im taking a leak.
|
You know that for sure, EliotK? Because if they did a good job, then you'd never know the difference :).
|
Yep I know that for sure, becuase Ive got nothing intresting anway except for a cedega rpm, but really who cares?
|
The fact that you have an internet connection is interesting to some people. You could be being used as a mask, cracking into other people's systems through yours that way they're undetected.
|
Didnt you read the last two words, who cares?
I really cant be bothered to debate this. Anyway whats slackware like? Ive Been thinking about getting it. |
To answer your first question: a lot of people, me included.
For the second: I love Slackware, but haven't tried anything else...except I tried RH at first, but wasn't to happy with that. It's pretty easy to install and doesn't get in your way or do anything you don't want it to. Some people dislike its package management system, but I love it. It's nice and simple, nothing extra like dependency checking. If you want something that'll download software for you like apt-get, Swaret and Slapt-get are the most popular I believe. Also has nice little tools that make it easier to create your own. Plus, Slack has a simple init script structure, and I love that as well. Basically, Slack is simple and doesn't give you anything extra, and since it's Linux, highly configurable. |
Yeah it's a shame debian doesnt support any rpms, thats what put me off it, but im running it now anyways, I got slackware 9.1 once on my comp and it ran painfully.
|
Painfully? Why? Recent versions of Slack include rpm, but last time I checked, it was experimental.
|
| All times are GMT -5. The time now is 10:06 AM. |