Find the answer to your Linux question:
Results 1 to 5 of 5
I am running jhalfs inside LFS Live CD and everything runs fine until I try to run the makefile. The live cd comes with 2 user acounts. Root and Jhalfs ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    3

    Need help with jhalfs


    I am running jhalfs inside LFS Live CD
    and everything runs fine until I try to run the makefile.

    The live cd comes with 2 user acounts. Root and Jhalfs
    When I su - jhalfs and run the make file I get the error

    "can't be logged in as root to build system."
    I have tried th following idea from the read me/ discussion
    This is from the Live CD Documentation
    This CD comes with the “jhalfs” tool that allows extracting commands from the XML version of the LFS or CLFS book into Makefiles and shell scripts. You can find the jhalfs installation in the home directory of the “jhalfs” user, and the XML LFS book is in /usr/share/LFS-BOOK-6.3-XML. In order to use jhalfs, you have to:

    *

    create a directory for your future LFS system and mount a partition there
    *

    change the ownership of that directory to the “jhalfs” user
    *

    run “su - jhalfs” in order to become that user
    *

    as user “jhalfs”, follow the instructions in the jhalfs README file

    This user already has the required root access (via “sudo”) to complete the build.
    Any idea of what I can do?

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Sounds like it is logging you in as root when you " su ".
    Try " su jhalfs " without the dash and see if that works.
    You could always run " whoami " to see who you are logged in as.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    3
    even when I do "su jhalfs" I get the same results like "su - jhalfs"
    Is there any why to logout as root and login as jhalfs with out root privileges

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Not sure, I do not know this live cd. Check the documentation on the OS.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #5
    Just Joined!
    Join Date
    Dec 2009
    Posts
    3
    well thanks any way

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •