read/write access for ttys0
I am running zenwalk 2.8 with chestnut-dialer.
To run chestnut-dialer, I had to make sure pppd had suid attribute. So I Code:
# chown root:users /usr/sbin/pppd Code:
# chmod +s /usr/sbin/pppd I also needed to make sure /dev/ttys0 was read/write. I found that /dev/ttys0 points to either /dev/tts/0 or /dev/pty/s0. I can chmod 666 both files, but when I re-start my machine, they both are set at 644. I chown both files from root:tty to root:users, but they both re-set upon re-start. Since this is a family machine, and I won't always be around to make these changes, I really need some direction on what to do. Any help will be appreciated. |
I would guess something in your init scripts is changing the permissions. I am not sure what style init scripts zenwalk uses. I know Slackware traditionally used BSD style (which I have not used), but I've read that now it has System V compatability. You might find fgrep useful for searching these scripts for "/dev/ttys0" and "/dev/pty/s0."
|
All times are GMT -5. The time now is 09:13 AM. |