sean finney on Mon, 29 Sep 2003 11:58:06 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] expect, /dev/pts, and a chroot


hey guys,

i'm setting up a chrooted login environment for a subset of users
on a system.  i've thrown together an expect script that they'll need
to have access to, which barfs whenever it calls spawn because it's
unable to allocate a pseudo tty:

[username@machine]$ foo
The system has no more ptys.  Ask your system administrator to create more.
    while executing
"spawn /usr/bin/id -un"
    (file "/usr/bin/foo" line 9)


i've tried mknoding /dev/ptya*, /dev/tty[0-9]*, setting ownership and
permissions, as well as mounting the devpts filesystem, but the
error remains.  anyone have an idea what i'm forgetting to do?  any
help would be appreciated, as i'm starting to run out of ideas.


thanks,
	sean

Attachment: pgpiEYfO3wGkV.pgp
Description: PGP signature