Related 2Installing lirc_rpi on raspbmc with updated kernel5Can't boot Wheezy3Can't seem to get network interface running at boot0Pi disconnecting from network after bootup1SSH problems with Permission Denied (publickey,password)4How can I check Please click the link in the confirmation email to activate your subscription. In my script, it execute the next python method. Password Linux - General This Linux forum is for general Linux questions and discussion.
krivi View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by krivi 02-03-2002, 04:34 PM #12 trickykid LQ Guru Registered: Jan 2001 Posts: more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Truth in numbers If Dumbledore is the most powerful wizard (allegedly), why would he work at a glorified boarding school? If you'd like to contribute content, let us know.
How to solve the old 'gun on a spaceship' problem? Terms of Use Privacy & Security Register Your Product Register Remember Me? How do I get the file to let me add the line? Powered by vBulletin Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc.
If Dumbledore is the most powerful wizard (allegedly), why would he work at a glorified boarding school? krivi View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by krivi 02-03-2002, 04:22 PM #11 krivi LQ Newbie Registered: Nov 2001 Posts: Imagine it like this: (sudo command) > filename The sudo applies to the bracketed part only. All rights reserved.
All rights reserved. Why is it a bad idea for management to have constant access to every employee's inbox Why are unsigned numbers implemented? Ask Ubuntu works best with JavaScript enabled current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Different Rectangle Types of nodes What's the difference between continuous and piecewise continuous functions?
root dose not need even write permissions to modify a file perms # touch file perms # chmod 000 file perms # cat file perms # echo data>file perms # cat You can remove the file with: rm file ▌ Blesta - Professional Billing Software ▌ Innovation that benefits the user experience ▌ Trial - Demo | 866.478.7567 | Twitter @blesta Reply if the script falls over at the opendchub line would it skip and output rc.local or would the script fall over straight away and exit, without even attempting to output rc.local.txt? add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as
Is it "eĉ ne" or "ne eĉ"? LinuxQuestions.org > Forums > Linux Forums > Linux - General rc.local writing permission problem! Forgot your password? Giblet5November 12th, 2009, 07:44 PMTry using the full path to opendchub in rc.local You can run rc.local from a terminal sudo /etc/rc.local +1 When rc.local is being executed, there is no
try.. I have root access for the server Zhra.Net Reply With Quote 0 06-04-2009,02:39 PM #2 RackPoint-Andrew View Profile View Forum Posts View Forum Threads Visit Homepage WHT Addict Join Why did it take 10,000 years to discover the Bajoran wormhole? My rc.local is as follows: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit
Please anybody real help me! So if you run /home/username/test.sh; exec bash then the final interactive shell won't have the environment variables from that process. What is the most expensive item I could buy with £50? Are there any rules or guidelines about designing a flag?
How to solve the old 'gun on a spaceship' problem? User Name Remember Me? Is intelligence the "natural" product of evolution? simply do chattr -i /usr/local/lib/php.ini then go ahead and edit your file.
If test.sh is doing things like setting environment variables, they only survive for the duration of the process. if you don't state it, how do we know.. -trickykid trickykid View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by trickykid 02-04-2002, 05:51 cd; touch file If that works try to make a file in /usr/local/lib cd /usr/local/lib/; touch file If it gives you an error, post it. everything looks fine; rc.local is executed at boot time, but #!/bin/sh -e means: exit immediately if any untested command fails. /usr/bin/opendchub probably fails with an error and that's why echo "rc.local
we heard you 4 times pleading for help.. And what about "double-click"? if a symbolic link to /etc/init.d/rc.local is in the /etc/rc2.d directory (/etc/rc2.d/S99rc.local) then rc.local will be executed in runlevel 2. How?
In LXTerminal, type sudo leafpad and hit Enter. find /etc/ -iname "*rc.local" atcaNovember 14th, 2009, 12:56 PMbump, any ideas as to why /etc/rc.local is not running /etc/init.d/rc.local looks fine from my limited experience sisco311November 14th, 2009, 02:02 PMwhat does How do computers remember where they store things? The time now is 10:21 PM.
permissions for rc.local look ok to me as a novice. trickykid View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by trickykid Page 1 of 2 1 2 > Thread Tools Show Printable Version so try to redirect the stderr and stdout of the command to a file and see if any error occurred: #!/bin/sh -e # # rc.local # # This script is executed Join our community today!
Same goes for brothers of start i.e.