![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| redirection | DNAx86 | Shell Programming and Scripting | 9 | 04-18-2008 11:24 AM |
| sed redirection | myle | UNIX for Dummies Questions & Answers | 3 | 03-12-2008 04:04 PM |
| csh stderr redirection | jolok | Shell Programming and Scripting | 0 | 04-15-2005 07:03 AM |
| I/O redirection within a coprocess | Mugin | Shell Programming and Scripting | 4 | 10-21-2003 05:17 AM |
| Help with redirection | Shallon1 | High Level Programming | 2 | 12-12-2001 04:35 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I tried to cat a file to another user that was logged in, but I received an error message that displayed something like:
%cat funny > /dev/ttyp3 zsh: permission denied: /dev/ttyp3 Thank you all for your help |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
This is the way it's supposed to work. Since that other user owns /dev/ttyp3 he could "chmod 666 /dev/ttyp3" but this is very dangerous.
Some terminals have an escape sequence that will cause them to transmit the current line just as if it had been typed. On those terminals, you could send a command, then send cursor motion commands, and finally send that transmit escape sequence. This means that anyone on the system can execute any command as that user. |
||||
| Google The UNIX and Linux Forums |