chroot to $LFS does not give me root user

John Crawford lostdog at drizzle.com
Sat Aug 5 17:24:07 PDT 2000


That's too many fields., but I assume you mean
root:x:0:0::/root:/bin/bash

But that doesn't work either.

  John

At 11:06 PM 8/5/00 +0200, you wrote:
>Try :
>root:x:0:0::/root::/bin/bash
>
>Greetings,
>
>Robin Bakels
>abakels at bart.nl
>
>----- Original Message -----
>From: "John Crawford" <lostdog at drizzle.com>
>To: <lfs-discuss at linuxfromscratch.org>
>Sent: Saturday, August 05, 2000 7:40 PM
>Subject: chroot to $LFS does not give me root user
>
>
>> I am installing 2.3.7, and I am to the point of running MAKEDEV. It
>is
>> having chown problems (invalid user).  So I tried a few other
>commands such
>> as "su" and "whoami", here are their outputs
>>
>> su: "su: user root does not exist"
>> whoami: "whoami: cannot find username for UID 0"
>>
>> Here is the contents of /etc/passwd
>> root:x:0:0:root:/root:/bin/bash
>>
>> The contents of /etc/group
>> root:x:0:
>> bin:x:1:
>> sys:x:2:
>> kmem:x:3:
>> tty:x:4:
>> uucp:x:5:
>> daemon:x:6:
>> floppy:x:7:
>> disk:x:8:
>>
>> Any ideas?
>> --
>> Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
>> IRC access: server: irc.linuxfromscratch.org port: 6667 channel:
>#LFS
>> Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
>> "unsubscribe" (without the quotation marks) in the body of the
>message
>> (no subject is required)
>>
>
>--
>Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
>IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
>Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
>"unsubscribe" (without the quotation marks) in the body of the message
>(no subject is required)
>
>
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list