This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

User env not set on chrootshell


Hi,
 
I'm trying to set up a cross toolchain from a windox
box running cygwin to a fedora box. I've followed
Dan's instructions and built crosstool successfully
(after much trial and error). Im now trying to test my
configuration using the crosstest script. I'm
currently trying to set up a chroot jail on my fedora
box and I'm running into problems. I've followed the
instructions in the Chroot Login Howto and am using
http://kegel.com/crosstool/crosstool-0.38/chrootshell.c;
however when I try to telnet into the jail using my
jailed user. The chrootshell throws an error:
 
chrootshell: USER not set?!; died on line 131, errno 0

It looks like the User environment variable is not
getting set upon login. Any ideas how to troubleshoot
this?
 
Thanks in advance,
J



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]