On Fri, 18 Feb 2000, Benjamin Sher wrote:

> Dear Frank:
> 
> You are right! chmod 4755 /usr/bin/minicom did the trick. May I ask why
> the "4" prefix. Is that for my com 2? That would make sense.
> 
> Thanks again.
> 
> Benjamin

It's a bad idea to have minicom suid root. it was not designed for such so
doesn't drop root privlages, your minicom can now be used to do many nasty
things to your system. The _right_ thing todo is put ttyS[12] under
control of pam, or create a new group (lets say modem) and to put the
modem device under this group and make it read write for that group only.

groupadd modem
chgrp modem /dev/ttyX
chmod g+rw /dev/ttyX
groupmod -G modem your_user

-- 
MandrakeSoft          http://www.mandrakesoft.com/
                                        --Axalon

Reply via email to