LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Login as ROOT mandrake 10 (https://www.linuxquestions.org/questions/linux-newbie-8/login-as-root-mandrake-10-a-220196/)

virtthemaest 08-20-2004 11:14 AM

Login as ROOT mandrake 10
 
This must be one of the top 10 stupid questions. (So you can post this in top 10¡¯s most stupid)
When I installed Mandrake 10 I created the root account and password.
But why can¡¯t I log as root? It doesn¡¯t seem to have the option. As to log in as my username, but not root.
I really would like to overcome this obstacle is to hopefully edit some system files, But cant because there protected by root, and I cant edit the properties, unless in root..

Please help¡¦

tommymintz 08-20-2004 11:21 AM

Correct me if I'm wrong someone, beause I'm a super newbie, but have you tried typing from the command line

su

(which stands for "switch users")

then you should be prompted for a password..

egag 08-20-2004 11:32 AM

are you using a graphical login ,
or do you login at the text-console ?

and there are no stupid Q's, there are.....:)

egag

virtthemaest 08-20-2004 11:33 AM

Of course I did.
 
I type su in the terminal. I type the pass. im in. But when try to edit the ifcft-etho
located in /etc/sysconfig/network-scripts. In side edit bootproto=dhcp (the edit I want)
save as arghhhh can not save root blah blah root. if I loged in the terminal as root, and still cant edit the properties...

virtthemaest 08-20-2004 11:35 AM

GUI egag

egag 08-20-2004 11:43 AM

sorry i missed one......

so you can login as root, then you should have all privileges.
don t understand the error messages ??

egag

mjjzf 08-20-2004 12:05 PM

Well, the editor you use must have root-privileges, so to speak. If you open an editor as a user, you won't be allowed to save the changes. Therefore, you should hit the command line, change to root, run the editor, such as Kate, Gedit (my own favorite) or whichever. Open the file you want to edit from the program - then root is editing it!
There is an add-in at KDE-Apps, which puts the "Run As Root" option in KDE's context menu. That's a bit easier to work with.

jahoover 09-15-2004 06:30 PM

Login as <youruser>
From the Applications/System/Configuration menu, select Configure Your Computer.
Select Boot.
Select Auto Login.
You will see an option to disable the use of the GUI login.

Hope that helps.
J.

Baldrick65 09-16-2004 08:20 AM

I really don't like people to log in as root in a GUI, but if that's what you want to do, follow these easy steps[list=1][*]Fire up the KDE Control Centre (or Configure my desktop as MDK10 calls it).[*]Click on System to expand it.[*]Click on Login Manager.[*]Enter Administrator Mode.[*]Click on the Users tab and uncheck root on hidden users.[/list=1] <INSERT WARNING HERE>
While you are logged in to a GUI as root, your system is fully open for all to use and abuse. I recommend disconnecting from all external networks.
</END WARNING>

Baldrick


All times are GMT -5. The time now is 06:19 PM.