>> I think I have all the right libraries for /sbin/sulogin in my image but
>> it still won't exec. Any ideas?
>>
>> $ ldd mnt/sbin/sulogin
>>         linux-gate.so.1 =>  (0xffffe000)
>>         libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7ebe000)
>>         libc.so.6 => /lib/libc.so.6 (0xb7d96000)
>>         /lib/ld-linux.so.2 (0xb7ef6000)
>> $ ls mnt/lib/libcrypt.so.1 mnt/lib/libc.so.6 mnt/lib/ld-linux.so.2
>> mnt/lib/ld-linux.so.2*  mnt/lib/libc.so.6*  mnt/lib/libcrypt.so.1*
>>     
>
> What happens if you chroot to mnt and try to run sulogin?
>   
I was able to run sulogin at first although it complained about the
password files not being there. After adding /etc/passwd and /etc/shadow
I could execute sulogin just fine.
# /sbin/sulogin
Give root password for maintenance
(or type Control-D to continue):
bash-3.1#

But I still can't exec it under UML.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to