LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Strange login?! (https://www.linuxquestions.org/questions/linux-software-2/strange-login-122821/)

mla 12-04-2003 08:29 PM

Strange login?!
 
During Suse 9 installation I created 1 regular user "test".
After restart Linux is loaded without asking user name and password.
"Logged" user is "test". After log off I am getting promt. So I can login
as root or as test user.
If I restart pc there is no login promp. It is just like Windows3.1 :)
goes directly to my nice desktop.
I never saw this effect with other distros. By the way the same Suse 9
on laptop always give a login box.
I checked all options in Yast. And didn't find any option for enabling
login without password...
What it may be?
Thanks.
Michael.

ganja_guru 12-05-2003 01:48 AM

ok i dunno how it is in suse but i guess its the same for all..

i assume u are now using a run level of 5, which is the graphical login, and i figure that what u want to use is run level 3 , which asks u to login and then type 'startx' to ..well...start X ;)

simple...all u have to do is edit ure iniittab file

type

pico /etc/inittab


this is my file...i run slack..

# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:


note : in slack, the graphical login is run level 4 and not 5...im not exactly sure how it is in suse...

in ure inittab, its probably set to id:5:initdefault: or something similar...just change to id:3:initdefault


tell me if it worked...

ganja_guru 12-05-2003 01:49 AM

please do a search on the board for this kinda stuff man, its there everywhere...

mla 12-05-2003 01:08 PM

I don't want to go to level 3
By default it's run lever 5.
What I'm asking. Why there is no login box. I think on XP Home edition
this is default option. Just not to bug home user with password.
So on Suse may be some "switch" for on/off this option.
All the other topics about login problems on forum are not related to my question.
Thanks.
Michael.

amos 12-05-2003 01:20 PM

Try opening the login manager under KDE, and altering the choices there.

Whether Suse does it deliberately or not you have somehow chosen to log in automatically, you can either open the login manager itself or the control centre and select the login section, somewhere in there is a convenience section with a checkbox to do with logging in automatically.

Cheers
Amos

Eugene 12-05-2003 01:27 PM

yap
 
Wierd problem, happend to me too.
You reboot, and it goes stright to gnoom right? not asking for username/pass or anything...

well you don't need to go to runlevel 3 (which by the way there is a VERY easy way of doing. when the boot loader loads, write linux 3 and choose linux... it will boot into runlevel 3)

all you need to do is make another user.
You don't need to USE that user... just ignore it.


Go to: Yast>>Security and Users>>Edit and Create users...

Make a new user, with a password like 12345.
Hit ctrl+alt+backspace... and there you have it!

;)

(couldn't find a diffrent fix for this, if you do find one please tell me...)

mla 12-05-2003 06:11 PM

thanks for answers guys
since I didn't find any option in Yast user configuration and security
probably the best choice will be create new user 500 (or 501 don't remember :) who is first) and destroy first one.
I will do it Monday. I shuted down suse box at work.

Still I think that there must be an option for disabling loginless password.

Thanks.
Michael.

iTux 12-06-2003 01:43 AM

Hi,

First the solution may depend if you are using xdm, kdm or gdm.
Any of these provide the login window but kdm will have a KDE look and gdm a gnome look.

I'm on Debian, but if you look in /etc/gdm/gdm.conf, you will see there is an option to autologin. There is probably a similar option somewhere for kdm if you are using it.

Another cause could be that instead of starting on of the login window programs, it starts X with
the startx command but this is unlikely.

You can use ps to check if one of xdm, kdm or gdm is running and if yes to know which one to start / configure.

curly:~> ps aux | grep dm
root 352 0.0 0.3 10832 992 ? S Dec06 0:00 /usr/bin/gdm
root 357 0.0 0.4 11168 1172 ? S Dec06 0:00 /usr/bin/gdm
root 365 4.3 8.9 67020 22852 ? S< Dec06 37:20 /usr/bin/X11/X :0 -deferglyphs 16 -nolisten tcp -auth /var/lib/gdm/:0.Xauth vt7
curly:~>


iTux

mla 12-06-2003 06:26 AM

Thanks. I will check it Monday. And let you know.
Sure that to find "right" solution is better than delete and recreate user.

mla 12-06-2003 05:51 PM

amos is right.
Very simple :)
I checked suse9 on my laptop that not doing this "weird" login.
The exact way is:
Control Center - System Administrator - Login Manager - Convenience tab.

So it's for convinience :).
Looks like on my work system I didn't uncheck
this option during installation. And forgot that it exist. Because on laptop
I probably unchecked it during install ( I installed it late night ).

That is it.
Thanks to all.

Eugene 12-10-2003 09:24 AM

oh!
 
And I thought it was a bug!

*off to fix this*


:D


All times are GMT -5. The time now is 11:39 AM.