LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Logging On As Root User (https://www.linuxquestions.org/questions/mandriva-30/logging-on-as-root-user-146642/)

BACTRATE 02-16-2004 03:56 AM

Logging On As Root User
 
I WOULD JUST LIKE TO KNOW HOW TO LOG ON AS ROOT USER.
THANKS IN ADVANCE.

REGARDS
DAVE

Healing Bear 02-16-2004 04:16 AM

Open up a Terminal and type " su " then enter...

jask1 02-16-2004 04:16 AM

open a console window and type

su root

you will then be asked for a password

that will be the root password you gave at installation.

when you type it in the console window the cursor doesn't move but rest assured it will be typed.

Then you will be logged in as root.

It's safer than running x-window as root.

when you are finished doing your stuff you type

exit to close that window.

shobhit 02-16-2004 04:22 AM

su root
or,
su -

will do the trick.

jschiwal 02-16-2004 04:33 AM

If your start out at the console screen, then enter root as the user, and enter the root password. If starting out in KDE, GNOME or other X-Windows environment, It is best to log in as a user and use the ´su´ command.
Another way to work as root is to init into a different run level such as ¨init 1¨ however, you need to be logged into root to do this. In an emergency, booting with a rescue disk, or the first install disk (and typing in <F1> then ¨rescue¨) will allow you to perform some of the root functions if you are unable to boot into linux.

Once you log into root, I would suggest making a rescue disk if you don´t have one. If it will fit on a floppy, then the command is mkrescue. If it is too large to fit on a floppy, then mkrescue --iso will produce a rescue.iso file that you can write to disk.

BACTRATE 02-16-2004 05:14 AM

lOGON AS ROOT THANKS TO ALL
 
THANKS FOR ALL THE REPLIES
DAVE

fernashes 02-16-2004 10:48 AM

Quote:

Originally posted by shobhit
su root
or,
su -

will do the trick.

Doesn't your user that you want to su with have to be in the group wheel first?


All times are GMT -5. The time now is 07:41 PM.