Accessing /dev/ttyUSB0 to send SMS

Andy Shellam (Mailing Lists) andy.shellam-lists at mailnetwork.co.uk
Mon Jan 22 10:12:21 CET 2007


Herman (ISTD) wrote:
> Dear all,
>
> I use gnokii to send Nagios notification. Gnokii need to access
> /dev/ttyUSB0 in order to deliver message to Handphone. At present, I
> need to set nagios user to root group in order to accomplish this task.
> If the nagios user is not in root group, it could not access
> /dev/ttyUSB0.
>
> Previously when nagios user is not in root group, I tried to do some
> workarounds such as : chown nagios /dev/ttyUSB0 but it didn't work. Is
> there's any way to access /dev/ttyUSB0 without setting nagios user as
> root group ?
> Thank you.
>   

Will "sudo" not accomplish this?


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list