Re: World writable Permission Needed or Not
- From: Bill Marcum <marcumbill@xxxxxxxxxxxxx>
- Date: Thu, 21 Feb 2008 11:27:17 -0500
On 2008-02-21, Debu <debasish4@xxxxxxxxx> wrote:
Hi,Either /usr/sbin/cs runs as root, or /usr/bin/cu has setuid permission.
Let me explain the exact problem. I have connected two boxes
running SVR4 Unix through serial ports via a NULL modem cable. Two
ordinary/Normal users are siting on both end using "/dev/console" not
any Pseudo terminals. I can communicate in between them using "/usr/
bin/cu -l /dev/term/01" which works via "/usr/sbin/cs" daemon.
One interesting thing here is after connection establishment i can
write on both end; even if i remove world writable from "/dev/term/
01". How this thing is possible if no write permission is there on the
serial device????????
I'm on an Ubuntu Linux system, so things might work differently here
(there is no /usr/sbin/cs here, also cu and uucp are not installed by
default). In Linux, access to serial ports and other devices is usually
controlled by group permissions.
wheather i need world writable for serial devices or not if i will
connect to some modem through serial communication??????
If you use cu with a modem, you may need to edit the configuration files
in /etc/uucp. Depending what you are doing, you might set up (m)getty
to provide a login prompt on the called system's serial port. Or you
might use ppp.
.
- Prev by Date: Swap or I/O Improvement in Fedora 8?
- Next by Date: Re: ioctl call fails with unknown command
- Previous by thread: Swap or I/O Improvement in Fedora 8?
- Next by thread: Hypertransport device registration
- Index(es):
Relevant Pages
|