Tag Info

New answers tagged

1

In addition to /etc/sudoers, sudo will also read files in the /etc/sudoers.d directory. The cloud-init application, commonly used on AWS instances, places a sudoers configuration in that directory for allowing the default user to sudo without a password.


0

I updated my script to following code. Although it is not able to create pidfile but it is working as I want. If anybody has better script then kindly post your answer. #!/bin/bash # chkconfig: 2345 95 05 # description: MY Application # Source function library. . /etc/init.d/functions RETVAL=0 prog="myserver" PIDFILE=/var/run/$prog.pid ...


0

To do this, you need access to your DNS server - either through your domain hoster or whatever you use to manage your DNS zone. The easiest would be to have a wildcard DNS entry (http://en.wikipedia.org/wiki/Wildcard_DNS_record). This will send all subdomains .yourdomain.tld to your EC2 instance(s). Once you have that, you only need some logic in you ...


2

The file names you show look like the temporary files that rsync creates while transferring files (upon successful completion, those are then atomically renamed to the proper name; without the leading dot and trailing six-character extension). They are normally deleted if the rsync transfer is interrupted cleanly (perhaps because the connection has been ...



Top 50 recent answers are included