Ubuntu :: Sudo - Add A Program To Startup Menu

Jan 6, 2011

I need to add a program to my startup menu (webserver which needs sudo for port80). I follow their directions, but it breaks the program and no pages are served. I will not be home to guide wife and kids every time they boot the machine to sudo start the program. How do you start a program at boot, as root or sudo start.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Making Program To Load With Sudo On Startup?

Feb 2, 2010

I cannot figure how to make a program start-up when Ubuntu boots. I want the "sudo firestarter" command to run so the firestarter icon appears in the panel.

View 7 Replies View Related

Ubuntu :: How To Use Sudo In A Startup Script File

Sep 29, 2010

I am using a headless server with virtualbox installed on it. A second box is a LAMP server from which I have phpvirtualbox installed to give me a remote connection to the headless server. In order to get a connection made between the 2 boxes I need to start a program called vboxwebsrv, this being on the headless box. I therefore need to ssh into the server and startup the program. What I'd like to do is have this program launch on startup, and the folks at phpvirtualbox has a sample script available that will do that. Unfortunately the script uses a su command, not sudo. Since I am using Ubuntu, the su command doesn't work, but using sudo requires a password response. How do I deal with this?

Here's a snippet from the script:

# Function that starts the daemon/service
#
do_start()
{
if [ "$VBPID" != "" ] && [ "$VBPID" -gt 0 ]; then

[code]...

What I currently do is: sudo /usr/bin/vboxwebsrv -b --logfile /dev/null >/dev/null.(The script file sets up the path earlier on).What I don't want to do is have any interaction during startup, and frankly, I can't see how to avoid the password thing.

View 5 Replies View Related

Debian :: Add 'sudo-ed' Command On Startup?

Sep 21, 2010

what is the easiest way to add single command to startup? (has to be run as root)

View 1 Replies View Related

Ubuntu Security :: Allow Program To Be Run As Administrator Without Sudo?

Jun 7, 2010

Certain commands like:
fdisk -l
nmap -sT 192.168.0.1/24
iftop

require administrator privileges to run. A while ago i read a post(forgot where i read it) about being able to let a user run these commands in a script (that contains the desired command) created by the administrator/root without the user having to do a sudo and entering a password. Does anyone know how i can go about doing this?

View 3 Replies View Related

Debian :: Sudo No Tty Present And No Askpass Program Specified?

Apr 28, 2011

I am running an Ubuntu Server 10.10. I have installed Apache2, I put my perl script in /var/lib/cgi-bin. When I run this perl script from the terminal it works fine. When go to a web browser it doesn't. When I look at Apache's error log, I see this line :"sudo no tty present and no askpass program specified"I tried editing the sudoers file, with the user www-data ALL=(ALL) NOPASSWD:/path_to_my_script. But nothing changed. What am I doing wrong?

View 5 Replies View Related

Debian :: Program Path For Openvpn And Allow Sudo For Guest

Nov 8, 2015

I'm looking to allow sudo for openvpn for a user.

I cannot find the openvpn program path though, i try a 'which openvpn' command and it returns nothing! :S

What is the path? or how to allow a normal user account to run openvpn with sudo?

Solution found:

Working directories for openvpn on debian 8 are:

/etc/openvpn
/usr/sbin/openvpn

To add sudo capability to a guest account, run this with your admin account:

Code: Select allsudo visudo

then add the line, with your guest username substituted:

Code: Select allusername    ALL=/etc/openvpn, /usr/sbin/openvpn

tada! guest account now runs only openvpn.

View 3 Replies View Related

Ubuntu :: U9.04 - Add Program To Startup?

May 24, 2010

I'm currently using Ubuntu 9.04 as operating system. I would like to know how to add a program to startup using the command line?

View 1 Replies View Related

Ubuntu :: Empathy Has No Menu Bar On Startup

Jan 23, 2010

I have Empathy set to start when I login, and when I turn off my computer, it is always still running. I also usually have Evolution, Liferea, and Rhythmbox running. All of these applications usually work fine the next day when I turn on my computer. However, for the last few days, Empathy has been starting without a menu bar. In one instance, Rhythmbox was also menubar-less. Now, Empathy is always without a menu bar. If I ever need the menu bar, I have to restart Empathy. Can anyone tell me why this is happening? I am unable to provide a terminal output since this application starts up with my computer. I have provided a screenshot of Empathy. I think I have a faint idea of why Empathy is without a menu bar. I read something somewhere about an XML file that contained the menu bar contents. I think that since I shut off my computer without closing these applications, that file has been corrupted. I have no idea why everything works fine once I restart Empathy, though. If you cannot answer this question, perhaps you could tell me if it is safe to shutdown Ubuntu with applications still running. In OS X, it will automatically tell your applications to quit safely, then turn of the computer. I hope Ubuntu doesn't just force quit any open applications. I am using Ubuntu 9.04 32 bit with the latest updates. I am using Empathy 2.26.1.

View 9 Replies View Related

Ubuntu :: Run Program On Startup - On Twinview?

Mar 27, 2010

I have connected my TV (and my regular screen) to my Ubuntu 9.10. I use TwinView, and that works just fine. I have also installed Moovida (I love that program). And I would like my PC to open Moovida on startup, but I need it to be on the TV screen.

View 1 Replies View Related

Ubuntu :: Run Program In Console At Startup?

Mar 28, 2011

I would like to know whether there is a way of running a console program at startup. That means even before user login. My guess was that it would have to be run like a service but this idea comes from my ... windows" experience.

View 6 Replies View Related

Ubuntu :: Creating A Startup Program

Sep 19, 2010

Will a program (created using Real Studio) that's placed in the startup queue run? I tried just this, and while there was no error at startup it appears the program had no effect. It is a shell execution to set my screen-blanking time. The program does work once I am up and running though. I am using Linux Mint 8 on a T30 Thinkpad.

View 7 Replies View Related

Ubuntu Installation :: Can't Access Startup Menu?

May 21, 2010

I just fresh-install upgraded from Jaunty Jackalope to Lucid Lynx, on my dual-boot netbook. Now, the startup menu does appear when I boot up, but only for a fraction of a second! Default bootup is of course, Ubuntu, but since the menu flashes by so fast, there's no way I can access the other choices, including Windoze Expee.So I installed Startup Manager, and set the timeout to 10 seconds. (And to "show text during boot".) Still, the startup menu flashed by, no delay at all, not even a second! Tried setting timeout to 100 seconds, and once more,(Examining grub.cfg shows the timeout was changed to my specs...I just viewed the file.)I searched for bootup problems in ubuntu forums, but did not find any problem similar to mine. My situation seems to be that I simply can't get the startup menu to delay, so I might access it.

View 5 Replies View Related

Ubuntu Installation :: How To Change The Startup Menu

Dec 5, 2010

I recently installed Ubuntu according to the instructions on the site. However, now when I start up my computer I see Ubuntu, Ubuntu recover (something like that), two windows 7's, and windows vista. Before I installed Ubuntu I only had windows 7. How can I clean it up so that I only see Ubuntu and Windows 7?

View 7 Replies View Related

Ubuntu :: Skip Startup Menu In Netbook 2d

May 21, 2011

I'm running maverick netbook remix on an asus1015pe eeepc. I recently switched from the unity interface to "ubuntu netbook 2d" - the one they say resembles the 10.04 netbook interface. I really like it - fast, crisp, and intuitive - but there's one thing I'd like to change, if possible. Right after login, there's a full-screen translucent menu that covers the 1st workspace. If I wait a few seconds, I can make it go away by clicking the "desktop" button in the bottom left, but is there any way to make it so it doesn't appear at all? so that after login it goes right to a clean desktop.

View 2 Replies View Related

Ubuntu Installation :: Get The Boot Menu To Appear At Startup?

Aug 15, 2011

Installed Ubuntu on a 40 GB partition side by side with Windows 7 currently installed. I have had this exact setup before. Problem, boot menu never shows. The system boots into Ubuntu automatically. Windows seems to be intact and accessible. How can I get the boot menu to appear at startup?

View 9 Replies View Related

Ubuntu :: Undo Removal Of Startup Program?

Apr 30, 2010

I was in Startup Application Preferences and I was managing the list of startup programs when I accidentally clicked Remove. Now it's gone and I don't know what it was. The very top one, above Certificate and Key Storage.

View 7 Replies View Related

Ubuntu :: Unknown Unresponding - Program On Startup

Oct 30, 2010

on every start up, I get a frame which can not be closed because I don't know to which program it belongs to. ince I am not that familiar with running programs and their respective tasks on system monitor, I can't figure out which one to close. By the way the second one showed up around the time I was taking the screen shot and I don't remember what it was about. Here is a screen shot and list of running tasks:

[Code]...

View 2 Replies View Related

Ubuntu :: Prevent A Program Loading On Startup?

Feb 24, 2011

How can I prevent a program loading on startup? The program does not appear in Preferences / Startup Applications. I want to avoid having to sudo kill all programname every-time I login.

View 2 Replies View Related

Ubuntu Installation :: Install A Program At Startup?

May 28, 2011

I want to install the following command as a program and get it on startup.
cd Desktop/
sudo lkl -l -k keymaps/us_km -o log.file

and running it since the computer starts up until it's shut down.
How can I do it?
I have Ubuntu 10.14

View 5 Replies View Related

Ubuntu :: Program Startup After Network Connection?

Feb 28, 2010

the startup of programs when i log into my Ubuntu Account.

My Operating System:

- Ubuntu 9.10 Karmic Koala (only using Gnome)

Programs at StartUp:

- Mozilla Thunderbird (2 email-accounts for business)
- Emesene (MSN Client for business use)
- FireStarter (I know it's just the GUI, but i love to view the Logging at realtime since Ubuntu is the Main-Server in my network)

Is it possible to configure the startup, so that the programs start running AFTER the Network Connection is established?

View 3 Replies View Related

Ubuntu :: Remove Junk Form Startup Menu?

Apr 13, 2010

There's a growing list of "Kernel" versions in the boot menu. I just want Ubuntu and Windows, how do I get rid of the superseded kernel entries?

View 9 Replies View Related

Ubuntu :: Synaptic Won't Start With Privileges From Startup Menu

Dec 2, 2010

I have put som programs in System -> Preferences -> Startup. That works fine, except that Synaptic starts without asking for a password, and therefor also without superuser privileges.Is there a way I can change the command so that it will ask for a password?

View 1 Replies View Related

Ubuntu Installation :: Edit Grub 2 Startup Menu

Jan 7, 2011

I'm currently running Lucid Lynx, which installed the Grub 2 Boot loader which it currently lists three different Linux kernels. My problem is this:

1. How do I edit the menu to either remove or comment out one or more of the kernels?

2. Can I remove any of the kernels I don't want, which files do I remove, and will doing so compromise my system.

View 3 Replies View Related

Ubuntu :: Increasing Monitor Resolution To Startup Menu

Jan 24, 2011

I have followed this post: http://ubuntuforums.org/showthread.p...lay+resolution And when I restart it goes back to having the edge of my window (scrollbar) cut off. I added the increase_resolution.sh to my startup menu but I guess I don't know the command to MAKE it start at startup. (That is what "command" means in the "Edit startup program" menu, correct?) If I go into usr/local/bin and click run it works, but if I can execute it automatically, that would be great.

Also, I have added an account(?) for my daughter and when she is finished and I try to log her out the display goes nuts and does not correct itself. I assume it has to do with this since when I restart the machine (and the script isn't running) the picture is fine again. Is there a conflict between the two accounts and this script? I'm sorry if this is not making sense, I know what I want to say, but don't have the lingo/jargon down.

View 1 Replies View Related

Ubuntu :: Grub Menu Not Showing Up / Alarm At Startup

Sep 1, 2011

I have a National Instruments gpib interface PCI card on my machine. It has been working up till now.The computer was moved when I was gone, and now at start up I get two alarm beeps from the motherboard speaker, no grub menu (hidden line is commented out and time out is gtr than 0).In the past I had to lock the kernel to 2.6.32-28.55.newer kernels broke the interface...although prolly foolioshly, I did allow other system updates.

View 1 Replies View Related

Ubuntu :: Program That Shows Custom Quotes At Startup?

Jun 2, 2010

What's a good program that shows quotes at startup? Quotes that I could edit and add to?

View 6 Replies View Related

Ubuntu :: Start Program Minimized - Startup Applications?

Sep 12, 2010

I'm putting a program in my startup applications that is completely GUI, with no command line options. The program is Calibre, if anybody is curious. Is there any way to start this program minimized? Gnome, Lucid, x64

View 1 Replies View Related

General :: Startup A Program Automatically?

Feb 18, 2011

I need to startup a program automatically. What to do? I using kubuntu. In Windows, you go to the startup folder under program files(I think.)

View 1 Replies View Related

General :: Unable To Add Program To Startup

Jun 21, 2011

Made a little c-program i want to start at boot and found out that i can do that through the rc.local script that runs once every time the computer boots. Say that i have a program called test in /home/user/Documents... what do i write rc.local?

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved