Skip to contentSkip to conversation

Serial Ports as non-root user

DISCUSSION Martin Hicks 1 participant 1 message Aug 30, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to run a program in dosemu, but I'd rather not run it as root. I've given the user permission to access the serial port (/dev/ttyS0), and stuck the user in the "lock" group, and given him write access to the lock directory. When I start up dosemu, the log says that the executable must be run by root or be setuid in order to create lock files.

I cannot run it setuid, due to the dosemu script which disallows this.

dosemu 1.2.0.1

any help would be appreciated.
mh

Signature · 3 lines
Martin Hicks  ||  [email protected]  || PGP/GnuPG: 0x4C7F2BEE
plato up 15 days,  1:51,  9 users,  load average: 0.16, 0.22, 0.22
Beer: So much more than just a breakfast drink.