Voiceroute Forums

Go Back   Voiceroute Forums > Druid (Developer) > Code Support
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 04-07-2009, 03:24 PM
Phoenix127 Phoenix127 is offline
Junior Member
 
Join Date: Feb 2009
Location: Heerlen, The Netherlands
Posts: 20
Phoenix127 is on a distinguished road
Default system reboot

I just finished my network settings module. From the advanced/settings menu, the tree is changed to:

WAN settings
- NAT (added shortname, use IPv6)
- Gateway (Gateway, Domain, DNS servers)
LAN settings
- IP (device, dhcp or IP,subnet,range,broadcast)
- VLAN (old LAN settings, and device, dhcp or IP,subnet,range,broadcast)

I'm able to set all network related settings , reload Asterisk, restart network and Vlan.

But I want to be able to issue a system reboot after all settings are done. teh code

system ("sudo /sbin/reboot")

has no effect. I inserted /sbin/reboot in the apache part of sudoers, using visudo, still no effect. What do I do wrong?
Reply With Quote
  #2  
Old 04-07-2009, 03:38 PM
techieg techieg is offline
Senior Member
 
Join Date: Aug 2008
Posts: 259
techieg is on a distinguished road
Default the command is: reboot

Quote:
Originally Posted by Phoenix127 View Post
I just finished my network settings module. From the advanced/settings menu, the tree is changed to:

WAN settings
- NAT (added shortname, use IPv6)
- Gateway (Gateway, Domain, DNS servers)
LAN settings
- IP (device, dhcp or IP,subnet,range,broadcast)
- VLAN (old LAN settings, and device, dhcp or IP,subnet,range,broadcast)

I'm able to set all network related settings , reload Asterisk, restart network and Vlan.

But I want to be able to issue a system reboot after all settings are done. teh code

system ("sudo /sbin/reboot")

has no effect. I inserted /sbin/reboot in the apache part of sudoers, using visudo, still no effect. What do I do wrong?
I'm not sure why the Druid Team still will not add the "Shutdown" and "Reboot" buttons to Druid (when Elastix, FreePBX, etc have it). However, all I do is use putty.exe to simply enter the command as follows; reboot
__________________
Open Systems, Inc.
Open Source Systems. Turn it on.™
http://www.opensysinc.net
Reply With Quote
  #3  
Old 04-07-2009, 05:07 PM
vikram vikram is offline
Druid Developer
 
Join Date: Mar 2008
Posts: 604
vikram is on a distinguished road
Default

We are working on moving Druid to run entirely as the apache user and Asterisk as a non root user. We are getting rid of all the stuff we do though sudo for security reasons so it would probably not be possible to run a root level command though the apache user.
Reply With Quote
  #4  
Old 04-07-2009, 05:20 PM
techieg techieg is offline
Senior Member
 
Join Date: Aug 2008
Posts: 259
techieg is on a distinguished road
Default

Quote:
Originally Posted by vikram View Post
We are working on moving Druid to run entirely as the apache user and Asterisk as a non root user. We are getting rid of all the stuff we do though sudo for security reasons so it would probably not be possible to run a root level command though the apache user.
If I may ask;

1. What effect does this have on Druid system-wide as far as administration?
2. And, do you mean v2.0.1 and v5.0.3?
3. Does this also mean such things as the "shutdown" and "reboot" buttons will not be possible?
__________________
Open Systems, Inc.
Open Source Systems. Turn it on.™
http://www.opensysinc.net

Last edited by techieg : 04-07-2009 at 05:39 PM.
Reply With Quote
  #5  
Old 04-08-2009, 09:09 AM
Phoenix127 Phoenix127 is offline
Junior Member
 
Join Date: Feb 2009
Location: Heerlen, The Netherlands
Posts: 20
Phoenix127 is on a distinguished road
Default

Does this also affect changes already made? I have to write to the network config files and have to set rights on those files. I hope you are not planning on throwing away a couple of weeks of my work. Save it till v3 and v6!!
Reply With Quote
  #6  
Old 04-08-2009, 09:36 AM
vikram vikram is offline
Druid Developer
 
Join Date: Mar 2008
Posts: 604
vikram is on a distinguished road
Default

No probably not we will set proper group permissions on all files we need access too. Anyhow this is not anytime soon its just in discussion stage as off now
Reply With Quote
  #7  
Old 04-14-2009, 01:28 PM
Phoenix127 Phoenix127 is offline
Junior Member
 
Join Date: Feb 2009
Location: Heerlen, The Netherlands
Posts: 20
Phoenix127 is on a distinguished road
Default

A lot of people are looking for the WAN/LAN UI. Itś as good as finished. How do I post the code? How do I post with attachements, and how do I link several threads to the solution?
Reply With Quote
  #8  
Old 12-11-2009, 12:21 PM
ghij057 ghij057 is offline
Junior Member
 
Join Date: Nov 2009
Posts: 16
ghij057 is on a distinguished road
Exclamation fake Balenciaga handbags

fake Balenciaga handbags in USA, replica Balenciaga bags in uk, knock off Balenciaga wallets china,cheap Balenciaga purse,originalBalenciaga scarf, authenticBalenciaga shoes,discount Balenciaga sunglass bags,Balenciaga cotton tshirts warehouse,authenticBalenciagahandbags fleece distributors In Bulk, kidsBalenciaga factory canada,knock off Balenciaga jeans for sale paypal,,Balenciaga coats manufacturers,Balenciaga bags jackets clearance lots credit card,originalBalenciaga shirts store no minimum,fakeBalenciaga handbags rhinestone tees for less free shipping,,childrensBalenciaga hats,caps,handbags,perfume,purses,bag ,hoodies,belts,dress,flip flops,Slippers,jewelry,bracelet,earring,necklace,s carf,shoes,boots,wallets,purse,Balenciagabriefs,ri ngs,sunglasses,bra,shorts,skirts,Balenciagasweater s,Balenciagaswimwears,tank tops,Balenciagaunderwears
Reply With Quote
  #9  
Old 05-13-2010, 10:44 PM
klmn743 klmn743 is offline
Senior Member
 
Join Date: May 2010
Posts: 152
klmn743 is on a distinguished road
Unhappy wholesale MBT

wholesale MBT warehouse in usa, cheap MBT lots stock clothing wholesalers in uk, discount MBT outlet Importers,replica MBT polos Traders china,MBT cotton tshirts warehouse,MBT coats manufacturers,high quality MBT jackets clearance lots credit card in france,original MBT shirts store no minimum,authentic MBT fleece distributors In Bulk,kids MBT factory Importers canada,fakeMBTrhinestone tees for less free shipping exporters, outlet MBT hats suppliers in uk paypal,knock off MBT jeans bulk order for sale distributor in germany,caps,high quality handbags,perfume,purses,bag ,hoodies,belts,dress,flip flops,Slippers,jewelry,bracelet,MBTearring,necklac e,scarf,shoes,boots,wallets,purse,MBT briefs,rings outlets online shop,sunglasses,bra,shorts,skirts,MBT sweaters,tank tops,MBT underwears, cheap price MBT swimwears free shipping.
Reply With Quote
  #10  
Old 06-01-2010, 09:57 PM
defg715 defg715 is offline
Member
 
Join Date: May 2010
Posts: 85
defg715 is on a distinguished road
Arrow wholesale Miu Miu

Miu Miu is the Miuccia Prada's nickname and this collection is made of beautiful leather handbags with precious details and amazing Miu Miu style bags and wallets.
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT. The time now is 03:13 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.