LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-22-2005, 03:05 PM   #1
mayasedai
Member
 
Registered: Jan 2005
Location: scotland
Distribution: ubuntu
Posts: 51

Rep: Reputation: 15
cannot login as user 'lfs' [su - lfs]


just started with lfs 6.0. added group and user lfs as instructed in chapter 4.3, but now cannot login as user lfs.

Code:
[root@172 maya]# su - lfs
env: PS!: No such file or directory
deleted the user and added it again, but the same problem exists.

any ideas on how to fix this?
 
Old 07-22-2005, 03:34 PM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
does the user have a home directory?
if it does not, try using su without the minus (-)
ie:
su lfs
 
Old 07-26-2005, 07:10 AM   #3
mayasedai
Member
 
Registered: Jan 2005
Location: scotland
Distribution: ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
that works

thanks!!
 
  


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
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 01:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 06:03 AM
Registerd LFS user 16092 Basel Linux From Scratch 2 09-03-2005 12:19 AM
Adding the LFS user? jbhoo Linux From Scratch 2 04-23-2002 11:35 PM
LFS 3.2 book, but LFS packages 3.0 CragStar Linux From Scratch 2 04-07-2002 04:15 PM


All times are GMT -5. The time now is 07:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration