LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-01-2006, 05:39 AM   #1
jellybeanz
LQ Newbie
 
Registered: Dec 2006
Posts: 5

Rep: Reputation: 0
Unhappy 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?
 
Old 12-01-2006, 06:25 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
Try logging in as root and runnning 'su'. It just has security configured like this. I am not sure about how to change it.
 
Old 12-01-2006, 06:27 AM   #3
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 12 LXDE
Posts: 555

Rep: Reputation: 33
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.
 
Old 12-02-2006, 04:21 AM   #4
jellybeanz
LQ Newbie
 
Registered: Dec 2006
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 12-02-2006, 06:01 AM   #5
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
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?
 
Old 12-02-2006, 09:14 AM   #6
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
This thread covers the root issue in Mandriva in great detail.
 
Old 12-02-2006, 04:01 PM   #7
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 12 LXDE
Posts: 555

Rep: Reputation: 33
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.

Last edited by mikieboy; 12-02-2006 at 04:03 PM.
 
Old 12-02-2006, 05:27 PM   #8
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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.
 
  


Reply

Tags
login, mandriva2007, root


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 10:54 AM


All times are GMT -5. The time now is 10:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration