Search Results

Search: Posts Made By: fluoborate
7,910
Posted By fluoborate
vbe: I think your final suggestion worked. Prior...
vbe: I think your final suggestion worked. Prior to you posting the final suggestion, I independently discovered that sudoers doesn't like double-quotes. It was actually kind of annoying, because the...
7,910
Posted By fluoborate
I am trying to do that sudoers magic, but it...
I am trying to do that sudoers magic, but it doesn't work. It either prompts for a password for everything or nothing, but I want it to only not prompt for:

sudo /etc/init.d/apache2 reload
...
7,910
Posted By fluoborate
More clarification: This script does not...
More clarification:

This script does not prompt for a password:
rsync /path/on/local/box/ foo.com:path/on/remote/box/
ssh foo.com ls
...that script will happily perform the rsync and then print...
7,910
Posted By fluoborate
ssh foo.com sudo command - Prompts for sudo password as visible text. Help?
I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this:

#!/bin/bash
rsync /path/on/local/machine/ foo.com:path/on/remote/machine/
ssh foo.com sudo...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 09:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy