SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Fri May 09, 2025 08:10
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
timp: Yes. There was a problem in FreeBSD's rc.d script. It was fixed in r359425
timp: User and group only works when smsd is started by root. I still can't understand why it doesn't take another privileges. Of course, I start it as root. Of course, system starts it as root while booting. But smsd completely ignores -ux and -gx parameters and ignores user=x and group=x from smsd.conf. I can take an access for you to virtual machine to prove it. Hmm, looks like it's problem in freebsd's rc.d script. I'll try to investigate and then report back.
timp: User and group only works when smsd is started by root. I still can't understand why it doesn't take another privileges. Of course, I start it as root. Of course, system starts it as root while booting. But smsd completely ignores -ux and -gx parameters and ignores user=x and group=x from smsd.conf. I can take an access for you to virtual machine to prove it.
timp: User and group only works when smsd is started by root. Could you explain please? As I know when system boots it starts smsd as root, doesn't it?
timp: ... But FreeBSD, for example, uses uucp:dialer (66:68)... Sorry, the problem was different! But the main idea is still actual.
timp: I know that Linux uses uucp:uucp (66:66) for modem devices(i.e. /dev/tty*). But FreeBSD, for example, uses uucp:dialer (66:68\). Good way to solve this small problem is to set group to dialer. But here is problem. Smsd doesn't do it. Wether you set it in commandline args or in config file. No way. It just runs as uucp:uucp. Here is config: # cat smsd.conf devices = GSM1 logfile = /var/log/smsd/smsd.log loglevel = 7 stats = /var/spool/sms/stats stats_interval = 0 user = uucp group = dialer [GSM1] device = /dev/ttyU0.2 init = AT^CURC=0 ussd_convert = 2 read_timeout = 10 Here is commandline args which were set at start # ps ax | grep sms 21804 - Ss 0:00.09 /usr/local/bin/smsd -c/usr/local/etc/smsd.conf -p/var/run/smsd/smsd.pid -i/var/run/smsd/smsd.working -l/var/log/smsd/smsd.log -uuucp -gdialer 21805 - I 0:00.00 /usr/local/bin/smsd -c/usr/local/etc/smsd.conf -p/var/run/smsd/smsd.pid -i/var/run/smsd/smsd.working -l/var/log/smsd/smsd.log -uuucp -gdialer But in log it tells uucp:uucp # head /var/log/smsd/smsd.log 2013-10-23 11:21:06,2, smsd: Smsd v3.1.15 started. 2013-10-23 11:21:06,2, smsd: Running as uucp:uucp. ...... As result it doesn't have access to gsm modem. How to make it set group to dialer? P.S. I know about possible workarounds. But, the problem is smsd ignores groups option.
timp: Operating system name and version: FreeBSD 9.0 amd64 Version of smsd: smstools-3.1.14 Smsd installed from: FreeBSD ports tree Name and model of a modem / phone: Huawei e1550 Interface: USB How can I send sms via network from local machine to remote server that runs smsd with modem?

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.