LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...

Notices

Reply
 
LinkBack Search this Thread
Old 10-15-2004, 05:04 PM   #1
usa1234
Member
 
Registered: Aug 2004
Posts: 69

Rep: Reputation: 15
Question root login error


Hi
I have a problem, hope you can help me.
After installing gentoo sucessfully, I rebooted it and when command prompt
comes again, I give "root" as username (to install some packages) but
when I give password an error appears "invalid login". I boot my
system using "gentoo live CD", mount disks and change password for
root using "passwd" but the problem is still there. Will tell me whats wrong.
Thanks.
 
Old 10-16-2004, 03:37 PM   #2
usa1234
Member
 
Registered: Aug 2004
Posts: 69

Original Poster
Rep: Reputation: 15
Now need to answer now. I fixed my problem.
 
Old 11-05-2004, 08:11 AM   #3
gomeje
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
Thumbs up Give the solution

Please give the solution!
I have the same problem!
 
Old 01-04-2005, 04:06 AM   #4
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
boot using the livecd. then mount the root partition (for example, /dev/hda2) at, for example, /mnt/gentoo
Code:
mount /dev/hda2 /mnt/gentoo
then
Code:
chroot /mnt/gentoo /bin/bash
now you can run passwd.

ps: 2 comments:
1) i think it's stupid that gentoo makes the livecd password blank while making the real default password something else without telling the user. i ran into this problem because i thought the password would be blank if i didn't change it (the way slackware does it).
2) it's kinda scary that a linux system is completely exposed to another running system/livecd.

Last edited by rgiggs; 01-04-2005 at 04:07 AM.
 
Old 01-04-2005, 05:20 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611

Rep: Reputation: 61
?

If you have physical access to most systems you can do as you please/have free reign. The idea is the keep all 'virtual' users out, the physical end of things are taken care of with secuity systems, locks, bolts, guns, dogs, trained mice, the works.

Cool
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
Error w/ Root Login - Slackware Fresh Install Zvakin Slackware - Installation 2 08-21-2005 05:54 PM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 10:54 AM


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

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