LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
Search this Thread
Old 02-16-2004, 03:56 AM   #1
BACTRATE
Member
 
Registered: Jan 2004
Location: NORTH WEST UK
Posts: 180

Rep: Reputation: 30
Logging On As Root User


I WOULD JUST LIKE TO KNOW HOW TO LOG ON AS ROOT USER.
THANKS IN ADVANCE.

REGARDS
DAVE
 
Old 02-16-2004, 04:16 AM   #2
Healing Bear
LQ Newbie
 
Registered: Jan 2004
Location: Northern California
Distribution: Mandrake 9.2 - 10 Official, XP Pro
Posts: 29

Rep: Reputation: 15
Open up a Terminal and type " su " then enter...
 
Old 02-16-2004, 04:16 AM   #3
jask1
LQ Newbie
 
Registered: Feb 2004
Location: belgium
Distribution: Mandrake 9.2
Posts: 5

Rep: Reputation: 0
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.
 
Old 02-16-2004, 04:22 AM   #4
shobhit
Member
 
Registered: Sep 2003
Location: kolkata
Distribution: Fedora 7
Posts: 60

Rep: Reputation: 15
su root
or,
su -

will do the trick.
 
Old 02-16-2004, 04:33 AM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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.
 
Old 02-16-2004, 05:14 AM   #6
BACTRATE
Member
 
Registered: Jan 2004
Location: NORTH WEST UK
Posts: 180

Original Poster
Rep: Reputation: 30
lOGON AS ROOT THANKS TO ALL

THANKS FOR ALL THE REPLIES
DAVE
 
Old 02-16-2004, 10:48 AM   #7
fernashes
LQ Newbie
 
Registered: Feb 2004
Location: The netherlands
Distribution: Gentoo
Posts: 11

Rep: Reputation: 0
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?
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
switching between user and root without logging out redhat_marsi Linux - Newbie 7 06-13-2005 10:38 AM
Logging in as root user in the shell with suse 9.1 OverTheTop Linux - Newbie 1 07-15-2004 01:44 PM
Logging in to Root NathanCohen2003 Linux - Software 3 07-10-2004 04:11 PM
Problems logging in as root user mdk 9.1 czechknight93 Mandriva 2 03-20-2004 12:53 AM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM


All times are GMT -5. The time now is 04:36 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