Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can login only as root (newbie, RH 7.3 graph Login)

1 view
Skip to first unread message

Lurix

unread,
Jul 9, 2002, 8:32:22 AM7/9/02
to
Hi , I already posted but no answer, maybe I was too long. I try to
simplify, but I add all observations I could do, abased on similar
problems I read in the news.

At install time I defined 3 users beside root

Right after install, only root can login from the gui and run the KDE
ok

Other users can login only with "failsafe" (no passwd mistyping, so);
choosing KDE the system "thinks" a bit, and then restarts the login
gui.

data, symptoms and suspects, maybe related to the problem:

* i found /var/spool/..../mail/username for all users.

* there wasn't any home dir for any user in /home

* trying to edit and resave a user from Kuser did not change anything

* trying to delete and re-add a user from KUser at least created the
dir, but does not solve the problem, but actual situation is worsened.
In fact, now I cannot even login in "failsafe" mode.

* during install I chose MAXIMUM firewall protection (I read this can
be a problem, where do I lower the level?)

* I found both iptables and ipchains checked in the KDE control panel.
Should I switch one service off? That's what I did, no improvement

* I have enabled DHCP, I read it can give my machine a hostname which
prevents normal users to pass the firewall at login, what to do?

* I checked that / dir has correct r-x permissions to world: OK

* During init phase, starting automount reports something negative and
then OKs

The strange thing is, I haven't had problem during installation,
everything went OK. Anyway it required me many loops in the long
package choice/check dependency/pkg uncheck process. Could this be the
origin of my pbm?

If I can't solve the problem I will reinstall everything from scratch.
Any clues how to keep the smallest set of pkgs at install time?

Thanks

Lurix
___________________________________________
remove "nospam" for my valid email address:
lurix...@tiscali.it

Lurix

unread,
Jul 9, 2002, 8:37:45 AM7/9/02
to

Richards

unread,
Jul 9, 2002, 9:51:34 AM7/9/02
to
Lurix wrote:
> Hi , I already posted but no answer, maybe I was too long. I try to
> simplify, but I add all observations I could do, abased on similar
> problems I read in the news.
>
> At install time I defined 3 users beside root
>
> Right after install, only root can login from the gui and run the KDE
> ok
>

Passwords are case sensitive, i.e. PASSWORD and password are two
completely different words to the computer.

Try a simple experiment to verify whether the problem is a mistyped
user/password, or something completely different. As root, in a
terminal window, add a new user:
useradd <newuser name>

then add a password for the new user:
passwd <newuser name>

Linux will prompt you (twice) to enter the new password.

Now, try to login as the new user, typing the name *exactly* as you did
during the new user creation and typing the password *exactly* as you
did during password creation.

If you can login, then nothing is broken, otherwise, you may have a more
serious problem where the most simple solution would probably be to
re-install.

Mike

Marco Shaw

unread,
Jul 9, 2002, 5:58:39 PM7/9/02
to
> Right after install, only root can login from the gui and run the KDE
> ok

Go into /etc/inittab and modify:
id:5:initdefault:
to
id:3:initdefault:

Then reboot, try logging in as those users from the command line. Then
maybe enter the command startx to see what happens.

> * there wasn't any home dir for any user in /home
>
> * trying to edit and resave a user from Kuser did not change anything
>
> * trying to delete and re-add a user from KUser at least created the
> dir, but does not solve the problem, but actual situation is worsened.
> In fact, now I cannot even login in "failsafe" mode.

All these problems with home directories could definitely be an issue.



> * during install I chose MAXIMUM firewall protection (I read this can
> be a problem, where do I lower the level?)

http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/ch-gnomelokkit.html



> * I found both iptables and ipchains checked in the KDE control panel.
> Should I switch one service off? That's what I did, no improvement

It's normal that both are on. It sounds like you have a few things not
setup like you want. I might just reinstall.

Marco

Eric Moors

unread,
Jul 10, 2002, 2:43:29 AM7/10/02
to
> At install time I defined 3 users beside root
>
> Right after install, only root can login from the gui and run the KDE ok
>
> Other users can login only with "failsafe" (no passwd mistyping, so);

What is failsafe? A console login?

> choosing KDE the system "thinks" a bit, and then restarts the login gui.

Check /var/log/mesages
Does anything interesting show up.
Can they login on the console? (<ctrl><alt><F1-6>, ctrl-alt-F7 to get
back to X)

Any weird PAM settings?

Eric

Lurix

unread,
Jul 10, 2002, 4:21:45 AM7/10/02
to
>>
>> Other users can login only with "failsafe" (no passwd mistyping, so);
>
>What is failsafe? A console login?
>

failsafe is an option offered by the login gui, in a pulldown menu
together with KDE, GNOME, and another one I don't remember.

>> choosing KDE the system "thinks" a bit, and then restarts the login gui.
>
>Check /var/log/mesages
>Does anything interesting show up.
>Can they login on the console? (<ctrl><alt><F1-6>, ctrl-alt-F7 to get
>back to X)

I assume so, as they could log in "failsafe". Now I have deleted the
users, can't check anymore.

>Any weird PAM settings?

what do I have to check? (newbie)

Thank you very much

Eric Moors

unread,
Jul 10, 2002, 5:03:10 AM7/10/02
to
>>> Other users can login only with "failsafe" (no passwd mistyping, so);
>>
>>What is failsafe? A console login?
>>
> failsafe is an option offered by the login gui, in a pulldown menu
> together with KDE, GNOME, and another one I don't remember.

But it is X?
(I've seen the entry, never tried it though)



>>> choosing KDE the system "thinks" a bit, and then restarts the login
>>> gui.
>>
>>Check /var/log/mesages

Have you done this?

>>Does anything interesting show up.
>>Can they login on the console? (<ctrl><alt><F1-6>, ctrl-alt-F7 to get
>>back to X)
>
> I assume so, as they could log in "failsafe". Now I have deleted the
> users, can't check anymore.
>
>>Any weird PAM settings?
>
> what do I have to check? (newbie)

The file /etc/pam.d/xdm I guess (I don't run RH7.3)
But first check what shows up in the logs.

Eric

0 new messages