|
From: Newtor <gen...@gm...> - 2009-08-06 04:56:57
|
Hello, I'm trying to recreate the scenario for setting root's password during installation to see if I can log any further information. So far all I've been able to determine is that a 'segmentation fault' is occurring when trying to set root's password; I'll make the assumption that the same is true when setting user account passwords as well. If I manually chroot to the target and issue 'passwdx root root' I receive: spawn passwd root Segmentation fault The installer looks to be passing a valid and correct command to the shell. The 'passwdx' script looks to be correct in regards to code. 'expect' is installed and seems to be functioning correctly. 'autopasswd' also ends in a segmentation fault. Is it possible that the 1.21 ISO was simply compiled with some kind of a corruption that causes this issue (either in the ISO itself or the expect interpreter)? I have not had a problem with user account creation; simply password setting. I assume that the user account creation step involves the same password setting syntax (and interpreter; expect), which would lead me to believe the problem lies somewhere in there. By chance, did 'expect' change from 1.17 to 1.21? The md5 of expect installed on my system from 1.21 is: e4a981a3b18bc7f53b817ce1d1639b61 /usr/bin/expect It would be interesting to see if the same is true for M0E since he does not seem to be experiencing this same issue. On the bright side, 'chpasswd' works fine :D Cheers, newt -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Wednesday, August 5, 2009, 10:11:32 PM, you wrote: ML> Ok guys, I will check the /etc/shadow thing. But im still curious why ML> I dont get this problem. ML> @ uelsk8s ML> Can you check my shell code to make sure the procedure for creating ML> the new account is correct? The code is here ML> http://vlcore.vectorlinux.com/trac/vinstall/browser/branches/speedy/MdlMain.module#L668 ML> Will do some more debugging tomorrow |