LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   chrooted user: "write" and "talk" don't work. (http://www.linuxquestions.org/questions/linux-software-2/chrooted-user-write-and-talk-dont-work-312021/)

ldp 04-11-2005 10:38 AM

chrooted user: "write" and "talk" don't work.
 
Hi,
I have a chrooted user on my system but for some reason, he cannot use talk and write.
When I execute talk or write, I get the following error:

-bash-2.05b$ talk lieven
talk: cthulhu: Resolver Error 0 (no error)
-bash-2.05b$ write lieven
write: can't find your tty's name
-bash-2.05b$

I copied the two files to directory: /home/stijn/usr/bin/
And I also did an 'ldd' to find and copy the needed library dependencies to /home/stijn/lib/

I can logon without any trouble, use any of the builtin bash functions + some other commands that I copied to /home/stijn/bin/ directory:
-bash-2.05b$ pwd
/bin <====================== this is in fact /home/stijn/bin/
-bash-2.05b$ ls
bash cp ls mkdir mv rm rmdir su


What am I missing to make "write" and "talk" work? Or are they impossible to use from within a chroot jail?


thanks,
Lieven

masand 04-11-2005 12:56 PM

hi there

as u get that here is no tty associated with it
that is the only problem

ldp 04-12-2005 02:05 AM

But how do I solve that?


All times are GMT -5. The time now is 05:23 AM.