LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-01-2002, 12:00 PM   #1
Silverado2000
LQ Newbie
 
Registered: Jan 2002
Posts: 15

Rep: Reputation: 0
Root Account????????


How do I login under the "Root" account?........im running Mandrake 8.1......Do i select "logout" then when the "End KDE Session" screen appears i select "logout"?......If so, what do i enter in for a username and password when the "login" screen appears?............Please help!!!!
 
Old 02-01-2002, 12:11 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 260Reputation: 260Reputation: 260
during setup you should have setup a password for root.. if not you need to boot into single user mode and set a password for root. we won't know what your root's password is and you shouldn't share that with anyone.
 
Old 02-01-2002, 12:35 PM   #3
Silverado2000
LQ Newbie
 
Registered: Jan 2002
Posts: 15

Original Poster
Rep: Reputation: 0
how do i boot into single user mode?.........i am lost in Linux........i know nothing...........This is the first time i have messed around with it...........i bought a book for Linux.........but some things they dont tell you how to do....
 
Old 02-01-2002, 12:38 PM   #4
kill-hup
Member
 
Registered: Aug 2000
Location: NY - USA
Distribution: Slackware
Posts: 109

Rep: Reputation: 15
Depends on what you're looking to do. Assuming you recall your root password, you can log in under username "root" at the graphical login screen. Most people would advise against running X-Windows as root, though.

If you are logged into KDE as yourself, you can always open a console/terminal window and use the "su" command to run commands as root without running the entire window environment as the super-user.
 
Old 02-01-2002, 01:48 PM   #5
goneaway
Member
 
Registered: Jan 2002
Location: Denver, Colorado, United States
Distribution: Gentoo, Debian, Rubyx
Posts: 78

Rep: Reputation: 15
Quote:
Originally posted by Silverado2000
how do i boot into single user mode?.........i am lost in Linux........i know nothing...........This is the first time i have messed around with it...........i bought a book for Linux.........but some things they dont tell you how to do....

There really isn't a single user mode in the sense that you're used to in the Win/Mac os world. You can change your run level but it isn't really possible to boot into an account. You're always going to have to log in even in the linux single user mode.
 
Old 02-01-2002, 01:55 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
init 1

when you issue the command init 1

it will go to single user mode

at this prompt you will already be logged in as root
if you can't remember the root password you need to go there and type this

passwd root


then enter a root password

here's the catch

you have to be super user to run init

So you will need to issue the command

linux single

at the lilo prompt on boot up


and then change the root password



then from a normal user shell you will use this command

su -

to login as root

Last edited by DavidPhillips; 02-01-2002 at 02:14 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I retain the PATH in the root account even when I switch to root using su? thearchitect Linux - Newbie 1 08-13-2005 01:02 AM
Can't get root account ssimontis Ubuntu 6 07-05-2005 08:07 PM
Help with root account... thmonkey Linux - Newbie 3 04-05-2005 09:51 PM
Using root account mfo6463 Linux - Newbie 12 03-28-2004 12:41 AM
The use of the 'root' account... tarballed Linux - Security 4 07-02-2003 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration