LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-31-2004, 04:15 AM   #1
Enfer Singe
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.1 & WinXP
Posts: 62

Rep: Reputation: 15
Unhappy Logging in as root + other problems!


Ok, I just got mandrake a few days ago and I needed to install the ATI linux drivers. It said you have to be logged into the root account. So I decided to try doing ctrl+alt+f1. Anyway, it asked me for my login and password. When I installed, I made absolutely sure to write down every username and password I put into linux. I don't believe I ever put in a root username, however, I do have a root password. Does anyone know what I can do about this? Is there a set login name for the root account? Anyway, I was trying to login with no success, so I logged in under my normal account. The only problem, is how do I get out of the ctrl+alt+f1 command prompt area and back to my desktop? I am just going to leave that computer on until I find out what to do, because I do not want to cut the power supply and screw something up. Thank you guys very much for all the help!
 
Old 07-31-2004, 04:18 AM   #2
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
ctrl+alt+f2 or f3.... one of them (probably f6 or f7) should get you back to your desktop
 
Old 07-31-2004, 04:21 AM   #3
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
the username for the root accound is: root
the password is whatever you assigned at installation
 
Old 07-31-2004, 04:22 AM   #4
Enfer Singe
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.1 & WinXP
Posts: 62

Original Poster
Rep: Reputation: 15
ahhhhh, yes, f7 worked. I had tried f2 and f3, but became a little nervous that one of them would be something like "format your hd" or something, lol. ty for the help. Anyone know about logging in as root though?

Edit: Ok jax, got the root thing working. I know I tried putting root in as the login before though........do you have to do it on the first request for a name though? Thank you guys very much for the help!

Edit #2: Well, it is working every time now, even if I put in a bad login first and then do it correctly.......I guess I was just messing up the password or something.

Last edited by Enfer Singe; 07-31-2004 at 04:27 AM.
 
Old 07-31-2004, 04:25 AM   #5
Not now, John!
Member
 
Registered: Jul 2004
Distribution: LFS 5.1
Posts: 161

Rep: Reputation: 30
Try starting Linux in single user mode (init 1), by adding "1" to kernel options in boot loader configuration.
("kernel /mykernel ro root=/dev/hdxy 1")
 
Old 07-31-2004, 04:30 AM   #6
Enfer Singe
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.1 & WinXP
Posts: 62

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Not now, John!
Try starting Linux in single user mode (init 1), by adding "1" to kernel options in boot loader configuration.
("kernel /mykernel ro root=/dev/hdxy 1")
So I go into the shell, and put in "kernel /mykernel ro root=/dev/hdxy 1"?(like I said, I am a total n00b)......what exactly does this do for future reference?
 
Old 07-31-2004, 07:28 AM   #7
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
in you boot loader config file, not at a command line
it: in lilo.conf or grub.conf
that aside, if you dont know what your doing, i really wouldnt reccomend single-user mode
you can really REALLY screw things up.
if you need to sysadmin type stuff, login as a normal user and at a prompt do this:
Code:
[scuzzy@localhost scuzzy]$ su
Password:
[root@localhost scuzzy]$
notice how i started out as a normal user, now I'm root
when I'm finished doing my sysadmin type tasks, i do this
Code:
[root@localhost etc]# exit
[scuzzy@localhost scuzzy]$
I dropped back down to normal unprivileged user. The reason behind this is because if i were to be say, uninstalling packages and accidentally "rm -rf *" in the wrong directory, my computer is hosed.
 
Old 07-31-2004, 03:29 PM   #8
Enfer Singe
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.1 & WinXP
Posts: 62

Original Poster
Rep: Reputation: 15
Ok, I am always in "single-user mode", I have just never heard it called that. I was just trying to log into linux as root in order to install the ati drivers.
 
Old 07-31-2004, 03:39 PM   #9
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Right, and as mentioned upthread, the username of the root user is ... drumroll .. root.
 
  


Reply



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
Problems logging in as root user mdk 9.1 czechknight93 Mandriva 2 03-20-2004 12:53 AM
X problems logging in as root mfishburn Linux - Newbie 1 09-19-2003 04:28 PM
Logging on as Root Iain Wilson Linux - Newbie 7 09-16-2003 02:23 AM
logging in as root and configuration problems tcastle Linux - General 3 06-22-2003 03:37 AM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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