Re: Re: Problem with LFS 6.3

2008-02-07 Thread Alessandro Corbelli
Il giorno mer, 06/02/2008 alle 12.52 -0800, Dan Nicholson ha scritto: > OK, so if you follow through on jhalfs without stopping, you can enter > a root password properly. But if you end jhalfs, you need to remember > to setup the chroot again. That should probably be in some > documentation. That

Re: Re: Problem with LFS 6.3

2008-02-06 Thread Dan Nicholson
On Feb 6, 2008 12:47 PM, Alessandro Corbelli <[EMAIL PROTECTED]> wrote: > Sorry for my quoting. > > jhalfs is guiding me through the end of Ch. 8. > The only step that it skip is grub loading. > That's fine. I want to install grub on my own. > > I've found my mistake: after building all, jhals

Re: Problem with LFS 6.3

2008-02-06 Thread Dan Nicholson
On Feb 6, 2008 6:53 AM, Alessandro Corbelli <[EMAIL PROTECTED]> wrote: > > Il giorno mer, 06/02/2008 alle 05.52 -0800, Dan Nicholson ha scritto: > > This sounds like a jhalfs issue. I think what's happening as that the > > chroot gets setup properly when building all the packages. After all > > the

Re: Problem with LFS 6.3

2008-02-06 Thread Alessandro Corbelli
Il giorno mer, 06/02/2008 alle 05.52 -0800, Dan Nicholson ha scritto: > This sounds like a jhalfs issue. I think what's happening as that the > chroot gets setup properly when building all the packages. After all > the packages are built, it tears down all the chroot setup. However, > this is when

Re: Problem with LFS 6.3

2008-02-06 Thread Dan Nicholson
On Feb 6, 2008 3:57 AM, Alessandro Corbelli <[EMAIL PROTECTED]> wrote: > I think i've found the mistake. > > /dev directory is semy-empty! > > # ls -la /dev > crw--- 1 root root 5, 1 5 feb 16:35 console > crw-rw-rw- 1 root root 1, 3 5 feb 16:35 null > -rw-r--r-- 1 root root 21 6 feb 10:21 tty

Re: Problem with LFS 6.3

2008-02-06 Thread Alessandro Corbelli
I think i've found the mistake. /dev directory is semy-empty! # ls -la /dev crw--- 1 root root 5, 1 5 feb 16:35 console crw-rw-rw- 1 root root 1, 3 5 feb 16:35 null -rw-r--r-- 1 root root 21 6 feb 10:21 tty How to populate dev? Older version says to mount ramfs to /dev and startup udev

Re: Problem with LFS 6.3

2008-02-06 Thread Alessandro Corbelli
Il giorno mer, 06/02/2008 alle 11.09 +0100, Bauke Jan Douma ha scritto: > That /dev/tty is NOT a character special! How can I solve this issue? /dev is being populated by jhalfs? I don't find the relative section on the book... -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: h

Re: Problem with LFS 6.3

2008-02-06 Thread Bauke Jan Douma
Alessandro Corbelli wrote on 06-02-08 10:29: > Il giorno mar, 05/02/2008 alle 10.57 -0800, Dan Nicholson ha scritto: >> I had a look at the shadow source, and it seems that the messages for >> "New password: " and "Re-enter new password: " are not making it to >> the screen. These should be printed

Re: Problem with LFS 6.3

2008-02-06 Thread Alessandro Corbelli
Il giorno mar, 05/02/2008 alle 11.18 -0800, Dan Nicholson ha scritto: > # gcc -o getpass getpass.c > # ./getpass > # echo $? > > Does it let you enter a password? Does it return an error? I suspect > you'll get a permission denied error. # ./getpass getpass: Inappropriate ioctl for device # ech

Re: Problem with LFS 6.3

2008-02-06 Thread Alessandro Corbelli
Il giorno mar, 05/02/2008 alle 10.57 -0800, Dan Nicholson ha scritto: > I had a look at the shadow source, and it seems that the messages for > "New password: " and "Re-enter new password: " are not making it to > the screen. These should be printed when calling the function > getpass(). Reading th

Re: Problem with LFS 6.3

2008-02-05 Thread Dan Nicholson
On Feb 5, 2008 10:57 AM, Dan Nicholson <[EMAIL PROTECTED]> wrote: > On Feb 5, 2008 10:19 AM, Alessandro Corbelli <[EMAIL PROTECTED]> wrote: > > > > Il giorno mar, 05/02/2008 alle 10.10 -0800, Dan Nicholson ha scritto: > > > So, is the problem that it's not asking you to enter the password > > > aga

Re: Re: Problem with LFS 6.3

2008-02-05 Thread Dan Nicholson
On Feb 5, 2008 10:40 AM, Ag. D. Hatzimanikas <[EMAIL PROTECTED]> wrote: > > On Tue, Feb 05, at 10:10 Dan Nicholson wrote: > > On Feb 5, 2008 9:55 AM, Alessandro Corbelli <[EMAIL PROTECTED]> wrote: > > > > > > Il giorno mar, 05/02/2008 alle 06.02 -0800, Dan Nicholson ha scritto: > > > > It sounds li

Re: Problem with LFS 6.3

2008-02-05 Thread Dan Nicholson
On Feb 5, 2008 10:19 AM, Alessandro Corbelli <[EMAIL PROTECTED]> wrote: > > Il giorno mar, 05/02/2008 alle 10.10 -0800, Dan Nicholson ha scritto: > > So, is the problem that it's not asking you to enter the password > > again if it's a weak password? > > It doesn't ask also the first passwd. This

Re: Re: Problem with LFS 6.3

2008-02-05 Thread Ag. D. Hatzimanikas
On Tue, Feb 05, at 10:10 Dan Nicholson wrote: > On Feb 5, 2008 9:55 AM, Alessandro Corbelli <[EMAIL PROTECTED]> wrote: > > > > Il giorno mar, 05/02/2008 alle 06.02 -0800, Dan Nicholson ha scritto: > > > It sounds like something bad has happened. Can you run the command > > > again as "LC_ALL=C pass

Re: Problem with LFS 6.3

2008-02-05 Thread Alessandro Corbelli
Il giorno mar, 05/02/2008 alle 10.10 -0800, Dan Nicholson ha scritto: > So, is the problem that it's not asking you to enter the password > again if it's a weak password? It doesn't ask also the first passwd. > That sounds like a bug. If so, can you > see what happens if you try to change the

Re: Problem with LFS 6.3

2008-02-05 Thread Dan Nicholson
On Feb 5, 2008 9:55 AM, Alessandro Corbelli <[EMAIL PROTECTED]> wrote: > > Il giorno mar, 05/02/2008 alle 06.02 -0800, Dan Nicholson ha scritto: > > It sounds like something bad has happened. Can you run the command > > again as "LC_ALL=C passwd root"? I can't translate the Italian :) > > Same resu

Re: Problem with LFS 6.3

2008-02-05 Thread Alessandro Corbelli
Il giorno mar, 05/02/2008 alle 06.02 -0800, Dan Nicholson ha scritto: > It sounds like something bad has happened. Can you run the command > again as "LC_ALL=C passwd root"? I can't translate the Italian :) Same results: # LC_ALL=C passwd root Changing password for root Enter the new password (m

Re: Problem with LFS 6.3

2008-02-05 Thread Alessandro Corbelli
Il giorno mar, 05/02/2008 alle 06.02 -0800, Dan Nicholson ha scritto: > It sounds like something bad has happened. Can you run the command > again as "LC_ALL=C passwd root"? I can't translate the Italian :) > > Are other commands working OK? Can you try another shadow command like > groupadd: `gr

Re: Problem with LFS 6.3

2008-02-05 Thread Jeremy Henty
On Tue, Feb 05, 2008 at 11:10:30AM +0100, Alessandro Corbelli wrote: > Il giorno mar, 05/02/2008 alle 11.07 +0100, Philippe Delavalade ha > scritto: > > Just passwd I think ; if you are root, it will change password for root. > > I've tried also "passwd" only but same results... Just guessing, b

Re: Problem with LFS 6.3

2008-02-05 Thread Dan Nicholson
2008/2/5 Alessandro Corbelli <[EMAIL PROTECTED]>: > Hi all, I'm new to LFS and I've got a problem. > After building correctly with JHALFS, I've tryied to change root > password inside chroot but passwd doesn't work. > > If i run: > > "passwd root", command exit imediatly with: " > Cambio della pass

Re: Problem with LFS 6.3

2008-02-05 Thread Philippe Delavalade
Le mardi 05 février à 10:09, Alessandro Corbelli a écrit : > Hi all, I'm new to LFS and I've got a problem. > After building correctly with JHALFS, I've tryied to change root > password inside chroot but passwd doesn't work. > > If i run: > > "passwd root", command exit imediatly with: " > Cambio

Re: Problem with LFS 6.3

2008-02-05 Thread Alessandro Corbelli
Il giorno mar, 05/02/2008 alle 11.07 +0100, Philippe Delavalade ha scritto: > Just passwd I think ; if you are root, it will change password for root. I've tried also "passwd" only but same results... -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.or