LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-13-2006, 05:36 PM   #1
pete_bogg
Member
 
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153

Rep: Reputation: 31
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
and
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.
 
Old 08-15-2006, 12:31 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
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."
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA read write access desertViking Linux - Newbie 2 12-05-2005 02:06 PM
read write access phoenix_wolf Linux - Newbie 2 12-05-2004 09:35 AM
Read-Write Access for Network Shares HKDude Linux - Newbie 2 08-06-2004 06:17 PM
can write to but not read from ttyS0 philetus Linux - Hardware 9 06-24-2004 05:46 PM
Read/Write access to a partition? Boggit Linux - Newbie 5 04-04-2004 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration