LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   can't sign in as root (https://www.linuxquestions.org/questions/debian-26/cant-sign-in-as-root-340006/)

howarddevore 07-04-2005 05:14 PM

can't sign in as root
 
oh shoot...

I've just spent ages getting x to work - and it does!

however now I've rebooted, the all new *graphical* login doesn't recognize my passwords

I've some ideas about this:
When i first got X and gnome working i noticed that on the web when i type the key for the 'at' symbol I got a double speech mark instead of the a in a circle. So i reckon i entered the wrong information for my keyboard type. Reckon i could be correct here?

Anyway, luckily for me, my usr password had the double speechmark as its non alphanumeric symbol, so by substituting the 'at' key for the speechmark symbol, i was able to login as usr.

However, that leaves my root password. There are two symbols that i guess i need to find substitues for...?

Other than that, does anyone have any ideas about this or anything.
I'm a bit green to say the least with linux, and am resisting a big melting scream

//
howard

howarddevore 07-04-2005 05:15 PM

to add to that, weirdly using the su command seems to enable me to use my root password...is this normal?

//howard

nvm 07-05-2005 03:11 AM

By default most graphical login managers don't allow logins from route. Which login manager are you using?
If you can find an options tab on the login manager, after putting in your password (which it'll prompt you for to change the settings) there might be a 'allow root to login' option.

pingu 07-05-2005 03:44 AM

Debian doesn't allow root-login, I don't think it's a setting in login-manager but somewhere else.
Anyway, don't log in to GUI as root!
Install a small program 'sux' (apt-get install sux) and use that in terminal instead of 'su'.
You can then start applications as root if you need to.
Quote:

So i reckon i entered the wrong information for my keyboard type. Reckon i could be correct here?
Correct!
1. Check /etc/X11/XF86-Config-4
In Section "InputDevice" you have something like:
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
change that 'se' to whatever it should be for you.

2. If you use KDE, then check ControlPanel->Region & accessibility and System Administration -> loginmanager. (Or something like it, I'm translating from Swedish here).

bp12345 07-18-2005 02:14 AM

If you go to login options you can change that and you can login as root. This is in gdm, I don't know about kdm or xdm.

farpoint 07-18-2005 04:41 AM

I know it's not encouraged to login as root, but if you want to add root to KDM, open a console, su to root, open a text editor, gedit, kate or something, and go to /etc/kde3/kdm and the file you need to alter is kdmrc. Nearly halfway down the file you'll find the following.
# Allow root logins?
# Default is true
AllowRootLogin=false

Change false to true, save the change, and when you next login you'll find root added to the KDM menu. Nigel. aka farpoint.

pradeepyamujala 07-18-2005 01:16 PM

If u still have the same problem then read this
 
This is the same problem that lots of debian users do get. And here is the solution....

For security reasons Debian do not allow u login as root (Then how to enter please do not ask me in u r in X). but it is just a option. login as normal user. then go to "LOGIN SCREE SETUP" there under SECURITY" tab check first option "Allow ROOT TO LOGIN" and close the app. now logout and enter the root password

Bye
All the best. Enjoy Debian- The Ultimate


All times are GMT -5. The time now is 05:02 AM.