|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [Plug] expect problem
|
It sounds to me that you're running a kernel without unix98 pty support
or you're not mounting /dev/pts with the proper permissions.
Should be similar to this:
none on /dev/pts type devpts (rw,gid=5,mode=620)
See the docs in the kernel source tree.
J.
So why do I love when I still feel pain?
When does it end, when is my work done?
Why am I lone and why do I feel
that I carry a sword through a battlefield?
--VNV Nation
On Mon, 4 Oct 1999, Kyle Burton wrote:
> > I remember looking in the /dev directory and finding /dev/ptya0 .....
> > /dev/ptyz9 or something. I had a whole slew of devices that started with
> > the name "pty", but no /dev/ptys directory. I'm not sure about a /dev/pts
> > directory.
>
> I pretty sure that's it.../dev/pts. You'll still have the /dev/pty* devices,
> /dev/pts/* should just be a 'standard' interface ontop of them (for now).
>
> > I meant to say that running it as root didn't make any difference. I can
> > run an expect script as root; but I have this problem w/ ptys whether I
> > am root or as myself.
>
> Is that 'su' or 'su -' or logged in as root? or suid root on the script?
> (suid root on the script probably won't work).
>
> I'm not sure what would be different, but if you haven't tried it as 'su -'
> to root, try it that way...
>
> k
>
> ------------------------------------------------------------------------------
> "Success covers a multitude of blunders."
> -- George Bernard Shaw
> mortis@voicenet.com http://www.voicenet.com/~mortis
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Plug maillist - Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug
>
_______________________________________________
Plug maillist - Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug
|
|