Setting ttyS0 permissions at boot time
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Setting ttyS0 permissions at boot time




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Setting ttyS0 permissions at boot time  
Robert McDonald


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-27-06 06:16 AM

Hello. This must be a FAQ but I can't seem to find the answer. I am
running Debian Etch. I have installed a ups on com1. It works fine after
I chown root:nut /dev/ttyS0 and then chmod. I would like this to happen
automatically at boot time. I am sure there is a correct Debian way to
do this (using udev?), but I can't figure it out. Can anyone explain or
at least point me in the right direction? Thanks!

Bob





[ Post a follow-up to this message ]



    Re: Setting ttyS0 permissions at boot time  
Robert McDonald


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-27-06 06:16 AM

Robert McDonald wrote:
> Hello. This must be a FAQ but I can't seem to find the answer. I am
> running Debian Etch. I have installed a ups on com1. It works fine after
> I chown root:nut /dev/ttyS0 and then chmod. I would like this to happen
> automatically at boot time.

In case anyone has this same problem: It appears that an answer is to
add the "nut" user (the user corresponding to the ups software) to the
"dialout" group (which controls /dev/ttyS0 by default).

If there is a better solution or if this introduces problems, I would
appreciate hearing about it. Thanks!





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:36 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register