LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   suse 9.3 cant login!!!!! (https://www.linuxquestions.org/questions/suse-opensuse-60/suse-9-3-cant-login-349138/)

alaios 08-02-2005 04:52 AM

suse 9.3 cant login!!!!!
 
Hi i have this strange as well as serious problem.. In suse 9.3 cant login as root (or any other user) from console (alt+f1-f6) the login works fine in kde (konsole for example)

In the default console i write the user name
and then the password and then the console frosts there without replying sth like wrong password .....
Any suggestion?

abisko00 08-03-2005 04:51 AM

Do you have any strange settings in /etc/profile.local? Maybe the console settings are messed up.
Other files that I could imagine are:
/etc/login.defs
/etc/inittab
/etc/permissions
/etc/bash.bashrc
Sorry, this is a little vague.

alaios 08-03-2005 09:48 AM

thx
 
thx... but the problem existed from the clean installation of suse 9.3...
I cant understand why i can login from konsole (kdes terminl) and not from the original console

KimVette 08-03-2005 09:54 AM

su to root, and edit the following file:

/etc/securetty

It might look like this:

Code:

#
# This file contains the device names of tty lines (one per line,
# without leading /dev/) on which root is allowed to login.
#
#tty1
#tty2
#tty3
#tty4
#tty5
#tty6
# for devfs:
#vc/1
#vc/2
#vc/3
#vc/4
#vc/5
#vc/6

Or it may simply look like this:
Code:

#
# This file contains the device names of tty lines (one per line,
# without leading /dev/) on which root is allowed to login.
#
#tty1
# for devfs:
#vc/1


What you need to do is modify the file by uncommenting each tty and/or virtual console on which you wish to enable root logins. If you want it enabled on every one make the file look like this:

Code:

#
# This file contains the device names of tty lines (one per line,
# without leading /dev/) on which root is allowed to login.
#
tty1
tty2
tty3
tty4
tty5
tty6
# for devfs:
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6

This will enable root logins on every virtual terminal, two local X terminals and vnc consoles (yeah I know vnc console is redundant, much like NIC card ;)) if you enable VNC.

(edit)
For more info:

man securetty
man login

Enjoy!

abisko00 08-03-2005 10:49 AM

What I love about this forum is that I can always learn something :)

I hope the above hints will help. I just find it a little strange that a clean install comes with such restrictive settings. Another idea that came to my mind was about you console keyboard layout. Maybe your password looks different when entered on console. But then it should give you at least a message 'wrong password'. Very puzzling!

barrythai 08-03-2005 12:00 PM

You have to go to kde to activate the root which is set as hidden.

then logout and you should have the option of root.

When in the root you'll need to go to kde- look and feel -behaviour/panels/screensaver/wallpaper/ and reset all the desktop ikons, toolbars, mouse clicks window pages background and especially the screensaver which has been set to one minute and password.





:Pengy: :Pengy: :Pengy:

abisko00 08-03-2005 12:10 PM

Quote:

You have to go to kde to activate the root which is set as hidden.
We should keep in mind that alaios has not a problem with the KDE root login! He can't login from console with any useraccount. As far as I understand, the KDE login seems to work.


All times are GMT -5. The time now is 01:15 AM.