Help - Search - Members - Calendar
Full Version: cannot login as root
MandrivaUsers.org > Advanced Topics > Security
photoworks
hello, i can only log as a simple user on my linux mandriva 2007. every time i try to log in as root, it says root login is not allowed.

any tips on what i can do.


[moved from Installing Mandriva by spinynorman]
tyme
Using the search feature and searching for "login as root" revealed an entire thread dedicated to this issue: here.

Remember: search first, ask later wink.gif
Crashdamage
You might also read this:

http://forum.club.mandriva.com/viewtopic.p...8a3d34cb301b059

Google no doubt will also pull up hundreds of posts giving reasons not to do root logins. Never log in as root. Risky and totally uneccessary. Learn to use Linux correctly and you won't be sorry.
ianw1974
I second it, I wrote a newbie post on logging in as root, on here - quite a funny read but hopefully easy to understand why not to do it tongue.gif

Just use "su" when you need root privileges.
Ronin
Nor should you be able to.

Log on as your normal user, open a term, type su, then root password. Anything you do from that terminal is now done as root. And no you don't have to do it all on a cmd line, if you start an X application from that window it will be run as root.
scarecrow
You can even run any graphical application (lets say "foo") as root anytime:
CODE
kdesu foo

Most of the times this is not necessary though, and an odd decision, security-wise.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.