The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
631 views

Permanently change hostname of Debian Squeeze virtual server

I have a virtual server running Debian Squeeze. I can change the hostname by running the hostname new.host.name command or by editing /etc/hostname and then running /etc/init.d/hostname.sh, but after ...
3
votes
2answers
1k views

Execute specific bash script on Gentoo Linux startup

I own a VDS running Gentoo Linux and I am curious about how to execute specific bash script at startup of my VDS. I just want to startup apache2 at boot time and run two thin instances.
2
votes
1answer
118 views

Deploy multiple office products using startup scripts

I need to deploy MS Visio 2010 and MS Project 2010 to users that belong to a specific security group. Most of the time users will only need one or the other, but on occasion they will need both. The ...
7
votes
3answers
21k views

Execute script from rc.local as user instead of root

I want to execute a script every time my server start up. The problem is that I need to be a certain user to execute the script, if I try to do it as root it cant find certain packages (such as ruby). ...
0
votes
2answers
1k views

Chroot on startup

I have a script that runs on startup, but it wont launch a application in chroot. #!/bin/sh /usr/sbin/chroot /root/chrootdir/ /bin/sh -c "lighttpd -f /etc/lighttpd.conf -m /lib" echo "script ...
0
votes
1answer
184 views

init is the parent for a script: how can I find what initially launched the script?

The box in question is RHEL/CentOS 5.5 x86_64. It has been up for 80+ days. A custom watchdog script exists on the server which performs a variety of tasks and this particular script accepts a few ...
1
vote
3answers
291 views

Update saved password for basic authentication using a script

I have a website that uses basic authentication as described on this webpage. Each of the computers I manage have the password saved in their browser. There is only one username and password for ...
2
votes
1answer
260 views

startup script not executing on amazon linux

i'm trying to forward syslog to logentries.com which requires a line added to /etc/rsyslog.conf , so far so good. however, i'm running on amazon elastic beanstalk and have 3 environments ...
2
votes
2answers
2k views

Uninstalling software via startup script in AD

There is an antivirus package that exists on most of our machines that needs to be removed. I did not deploy this software and it was not deployed via GPO - it was installed manually by the previous ...
1
vote
1answer
180 views

Office 2007 Installer Not Logging When Run During Startup Script

I'm using a startup script to deploy Microsoft Office 2007 Standard. It's not working quite right and I'm trying to find logging information for it. Unfortunately, no log is being generated by setup. ...
2
votes
2answers
2k views

GPO startup script not copying files

I created a GPO startup script to execute for computers in a specific AD container. The script takes a file from the AD netlogon share and places it on a directory on the computer. Given the right ...
1
vote
1answer
772 views

Run unison in background on startup?

I'm running Debian 6 64bit. What I'm trying to do is run Unison on startup to constantly monitor files on the LAMP server I have running on my VM and sync that with the VM Shared folder. while true ...
4
votes
2answers
105 views

Windows 2003 DC GPO Asking for Password on Startup

Simple answer I am sure...I an trying to deploy Office 2010 to clients via the GPO startup script but am having issues. Soon as the computer starts, it prepares network connections then goes on to ...
2
votes
0answers
335 views

Is it possible to embed TCL directly into a Cisco startup-config?

Is it possible to embed TCL directly into a Cisco startup-config? From the (lack of) information I'm finding, it doesn't look do-able. I have a tool that generates Cisco configurations based on some ...
1
vote
1answer
80 views

control which version of PostgreSQL starts

I have three versions of Postgres (8.4, 9.0, 9.1) running on my Ubuntu box. Each version is configured to listen on a different port. When I reboot the machine, only the 9.0 version starts ...
1
vote
1answer
2k views

Group Policy Startup Script Not Working

I have a startup script on my server that is suppose to run at startup and install Office 2010 on my workstation computer however it is not working. Running rsop.msc it shows that the startup script ...
0
votes
1answer
1k views

Login/Startup Scripts Not working

My test network setup is as follows. A Windows 2008 R2 Server acting as a DC (AD, DNS, DHCP) it is on its own vlan (10.20.99.0/24). I then Have two XP test computers each on there own vlan ...
2
votes
1answer
1k views

How do I register a user logon script using PowerShell?

My company manufactures a medical instrument and the software that runs on it. Under the hood, it's got a PC running Windows 7. I'm developing a process so that untrained technicians can configure the ...
4
votes
2answers
1k views

Exactly HOW are machine start-up Group Policies processed and what is required?

We have Server 2008 R2 and Windows 7 Enterprise. I'm asking this because we have several hundred laptops and netbooks at our organization. We do'nt have a NAC or a RADIUS server so all the wireless ...
1
vote
1answer
715 views

Running Script on EC2 Boot

I want to mount my EBS volume and start up the Apache/MySQL servers on my EC2 machine, but I can't even get my script to run at startup. I've tried putting it in: /etc/init.d/ /etc/rc.d/rc5.d/ ...
2
votes
2answers
10k views

How can I set environment variables when I ssh login to my Unix box by passing custom arguments?

I want to pass some parameters as part of my ssh connection that I can use to set custom variables for my login to do certain things or run certain scripts. How do you do this running Putty on Windows ...
1
vote
2answers
6k views

Group policy startup script needs elevated priviledges

I have a script that I want to run at startup but that requires elevated priviledges. Is there a way of doing this with Group Policy? I tried adding it in as a startup script using GPO but it ...
1
vote
1answer
545 views

EC2 startup script?

We're using Amazon's 32-bit Linux AMI. What is the best way to automatically run a script after the OS is loaded (not on ssh login, just after it has booted up)?
2
votes
4answers
1k views

Best way to tag/identify processes for killing them later?

In my linux startup scripts, when I start a process like (openvpn used for this example, but the question is general to any process); openvpn --config /etc/myserver.conf what is the best way to ...
0
votes
2answers
609 views

What are best practices writing parallel startup scripts in Unix shell (ksh,bash)?

I have a piece of software with different components running on the same Unix machine (web server, DBMS, middleware, different daemons). Startup of the few components depends on the success of the ...
-1
votes
1answer
93 views

Spawned Process Terminated in GP Startup Script

I have a Group Policy Startup Script which runs synchronously. I now need this script to run one process asynchronously. So far I have managed to get the spawned process running via the command below, ...
0
votes
3answers
123 views

Need a script that runs every OSX server restarts

I need to run a script every time my OSX server (10.5.8) the server restarts. The closest I could find was to add the script to my login items but this would only apply to one use and I need this ...
0
votes
2answers
925 views

Where do I put a startup and shutdown task?

I have written the below program to notify me by email when my Linux system has been rebooted from a power failure. The way I do this is enableing power-fail recovery in the BIOS, and then register ...
2
votes
3answers
218 views

Start Linux scripts sequentially with blocking

I want to create a script to start two different scripts in sequence. The first script start an application server, which although the process has started (and i'm back at the prompt), it will only ...
2
votes
5answers
5k views

Ubuntu 9.10: how do I troubleshoot a startup script that doesn't appear to run?

I've created a bash script 'foo'. I've made that script executable with chmod+x and added it the the start-up by running sudo update-rc.d foo defaults 80 Despite that, it doesn't appear to be ...
1
vote
5answers
1k views

Apple Mac Startup Scripts

I'm running Mac 10.6 (Snow Leopard). I would like to have a shell script that handles some routing/vpn and server tasks executed on Machine startup. This script should be preferably executed before ...