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

Re: another glibc2.1 casualty (write)



Quoting Jonathan P Tomer <phouchg@cif.rochester.edu>:
> that's not a glibc2.1 casualty. it's a unix98 pty casualty. if you
> enabled support in the kernel you *must* mount /dev/pts and create
> /dev/ptmx.

I think I kinda figured this out...

the issue with ssh was that you needed to mount devpts /dev/pts..then
all your ssh logins are dumped under /dev/pts  (ie /dev/pts/1 for 
pts/1, etc...)

write seems to want to talk to /dev/1 and not /dev/pts/1
this is only with ssh login's

with telnet logins the user is on ttyp0 (for example) and when
you try to write them I get a user is not logged in message

also, if you do a w, commands run by people logged in via ssh do not
show up.  whacky

Ivan

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ivan E. Moore II                                      Rev. Krusty
http://snowcrash.tdyc.com                        rkrusty@tdyc.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Imagination is more important than knowledge  - Albert Einstien
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
GPG KeyID=0E1A75E3
GPG Fingerprint=3291 F65F 01C9 A4EC DD46 C6AB FBBC D7FF 0E1A 75E3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


-----------------------------------------------------
This mail sent through IMP: http://www.tdyc.com/imp/


Reply to: