MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: K-Ubuntu (64-bit) and FC4 which messed up kubuntu also
Posts: 31
Rep:
How to login under ROOT
i installed 10.1
i gave it a root password and then created a user also. Now the problem is that whenever i login i do not have the root privilages...... so to run the commands that i want ..... i have to come down to init 3 level and then do the commands....
i tried to give myself root privilages by adding myself to the GROUP : root but that didnt help.
Anyone who can help ??
(i am ready to install again)
By default, for security reasons Mandrake does not add enable root login via x. You can use Mandrake Control Center to enable but instead open up a console window and use the su - command. It is the same thing as dropping to level 3 and logging in as root. IMHO it is bad practice to give root privileges to a regular user.
Distribution: K-Ubuntu (64-bit) and FC4 which messed up kubuntu also
Posts: 31
Original Poster
Rep:
one problem.........
when i start the terminal or things like 'configure your computer' it asks for the root password.
when i use su my promp changes from :
xyz@localhost $
to
root@localhost #
but is there some way by which whenever i autologin i am the root
( i do not have any security concerns as i use this laptop at home)
If I understand you correctly, you're wanting to log in as root and operate your (home, laptop) system as root.
It is too dangerous! I don't think there's a single experienced user here (I don't qualify as all that experienced, after
only two years of basically head-scratching but some successes, but there are real gurus around) who would advocate
operating as root.
At least if you use su in a terminal, or use sudo, it's a reminder of the power you've just TEMPORARILY assumed.
You're less apt to make some drastic mistake.
Linux is not forgiving, and once things are wiped out--they're wiped out.
I would plead with you not to log in as root except in those times, maybe once or twice a year, when it's really
the easiest way to solve some otherwise tricky problem. It's almost NEVER necessary. And it can be fatal.
If you want to execute a single kde program as root, you can use the 'kdesu' command to start it.
Another way is to drag the icon from the menu to the task bar, right clicking and selecting configure, and selecting 'execute as user' and entering root. You can have a kwrite icon on the task bar then and when you want to edit a configuration file, just click on the icon and enter the root password.
Let me add to this. The secuity you get from NOT being root is not just from outside attacks. It is from your own fingers. You make a mistake as root and bang! bye bye linux.
Unlike Windows, you don't need to be root to use the computer effectively. You can even install some programs using your home directory. When you need to be root then:
1. Open a terminal and type su. You will be asked for the root password. or
2. Assuming you're using X, press Ctrl-Alt-F1 (0r F2 or F3...) and log in as root there. Press Ctrl-Alt-F7 to get back to X or
3. If there is a program you often run that needs you to be root (for example "Configure your Computer" and you are not prompted for the root password then edit the menu entry by putting
kdesu -c
in front of the command (assuming you're running KDE. No doubt Gnome has something similar.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.