Re: RE: Off the topic. What is the equivalent of IOS's

From: Dennis Dumont (dfdumont@yahoo.com)
Date: Mon Jul 16 2007 - 00:42:23 ART


wall, write, mesg and talk all depend on the group
membership of the line, i.e./dev/pts/1 or
/dev/ttyUSB1, being 'tty' with write permission. Thus
the command 'ls -l /dev/ttyUSB1' must read
'crw--w---- <user-id> tty'
or none of them will work. The error you gave
indicates the failure is one of permission not of
command function.

Also USE THE MAN PAGES! When I teach unix
administration, after we've covered the basic
commands I always end the section with the statement
"You only need to have one command memorized; man.
All others can be derived from it"

--- johngibson1541@yahoo.com wrote:

> Tried it.
>
> wall seems to only send messages to "forward" log
> in.
>
> This is my first time to understand why they call it
> "reverse" telnet.
>
> I can manipulate /dev/pts/* to get other tty lines
> to receive the message. But minicom doesn't have
> /dev/pts/* . Only forward login lines have that.
>
> My routers consoles are /dev/ttyUSB*
>
> [johnpc@johnpc ~]$ mesg y < /dev/ttyUSB1
> mesg: error: tty device is not owned by group `tty'
> [johnpc@johnpc ~]$
>
> A process is a process, a stdin descriptor is a
> descriptor. I should be able to find my way.
>
>
>
> John
>
>



This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:41 ART