Anthony wrote:
<snip>
> so I checked the following:
> $ ls -l /dev/modem
> lrwxrwxrwx 1 root root /dev/modem -> /dev/ttyS1
> then, $ ls -l /dev/ttyS1
> crw------- 1 root tty /dev/ttyS1
>> Running `chmod o=wr /dev/ttyS1' fixed it so that everything works fine
> when /dev/ttyS has the permissions crw----rw-
>> I have it working OK now but I'm wondering if there is a more elegant or
> secure way of doing so. I'm always interested in learning the best
> methodology (especially from a security point of view) for accomplishing
> such tasks in Linux.
The normal thing is to put any trusted users into a group which
has read/write permissions to /dev/ttyS1.
e.g. see: http://www.sslug.dk/emailarkiv/ppp/2000_06/msg00012.html
ATB,
Aidan.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!