LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 10-09-2015, 01:26 AM   #1
codingcat99
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Rep: Reputation: Disabled
What is initial login name and passed


Finally I boot into my LFS-7.8, but I could not login since I don't know the login name and passed. I don't remember I have set one during the process? Any Advice?

Thanks.
 
Old 10-09-2015, 02:28 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi login name is root and the passwd is the one you set on this page
http://www.linuxfromscratch.org/lfs/...06/shadow.html at the bottom of page
 
1 members found this post helpful.
Old 10-09-2015, 02:56 AM   #3
codingcat99
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
@spiky0011, Thanks for pointing out the root cause. I have solved the issue by resetting the passwd

My solution is:

remount the partition to $LFS, and also I need re-mount the virtual file systems mentioned on this page.
http://www.linuxfromscratch.org/lfs/...06/kernfs.html

Then I could manage to reset the passed for root by using

Quote:
passwd 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
Why are user credentials not being passed to server at time of login? rajevar Linux - Newbie 2 09-24-2009 03:57 PM
Initial Login Password? Completely Clueless Slackware 7 05-16-2009 07:02 AM
Using C API; first query passed passed by program to MySQL is successful, second quer weibullguy Programming 2 06-12-2007 10:45 PM
Unable to get passed Kubuntu 7.04 login screen gmhuntr7 Linux - Laptop and Netbook 1 04-28-2007 06:26 PM
Slackware initial login greenbob Slackware 2 03-03-2003 08:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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