LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Login as root (https://www.linuxquestions.org/questions/mandriva-30/login-as-root-506489/)

jellybeanz 12-01-2006 05:39 AM

Login as root
 
I have recently installed mandriva 2007 i used to use PCLinuxOS but i have found that if you try to login as root on mandriva 2007 it gives me a message saying "root logins are not allowed" can any one tell me why it is doing this?

raskin 12-01-2006 06:25 AM

Try logging in as root and runnning 'su'. It just has security configured like this. I am not sure about how to change it.

mikieboy 12-01-2006 06:27 AM

AFAIK it's a security feature to prevent you from using the x-server as root (insecure). Log in as your normal user then su or sudo.

jellybeanz 12-02-2006 04:21 AM

Aww thanks guys :) so i can only log in as root usin the CLI? i suppose it will have to do it seems a pain in the arse i am used to PClinuxOS you can do root login on the GUI but i didnt know you couldnt on mandriva 07

raskin 12-02-2006 06:01 AM

You can login as user, run console, type

echo $DISPLAY
xhost +127.0.0.1

type 'su' (it worked, I hope?), type

export DISPLAY=<what it should be>

in su session. You can now run any given set of X programs. Is it what you need?

reddazz 12-02-2006 09:14 AM

This thread covers the root issue in Mandriva in great detail.

mikieboy 12-02-2006 04:01 PM

Quote:

Originally posted by reddazz:
This thread covers the root issue in Mandriva in great detail.
Call me paranoid, but I suspect that irlandes didn't have a broadband connection back then or else he would have been always connected to the internet. So while the rest of the thread is OK I would tend to discount irlandes rant.

reddazz 12-02-2006 05:27 PM

Quote:

Originally Posted by mikieboy
Call me paranoid, but I suspect that irlandes didn't have a broadband connection back then or else he would have been always connected to the internet. So while the rest of the thread is OK I would tend to discount irlandes rant.

I agree with you on that one. :)


All times are GMT -5. The time now is 12:18 AM.