Search Results

Search: Posts Made By: blane
8,739
Posted By blane
Actually, I went a little further than that just...
Actually, I went a little further than that just for security, and now it's working.

Here's the entry in the sudoers file now:

autosys ALL =(weblogic) /opt/home/autosys/test.sh,...
8,739
Posted By blane
One more thing. If I login to server B as...
One more thing. If I login to server B as autosys and run "sudo su - weblogic", it works.
8,739
Posted By blane
Sudo help needed
Scenario: I have two servers, A and B. Server A is using autosys to connect to server B via ssh in order to run scripts. The scripts to be run on server B must be run by user "weblogic".

So...
7,669
Posted By blane
Oh man. I really wish I'd tried this when I...
Oh man. I really wish I'd tried this when I thought of it. Instead of running a specific command via ssh you're just running a script which does all the work. I gotcha.

Trying and will let you...
7,669
Posted By blane
Okay, I got a chance to try those things and it...
Okay, I got a chance to try those things and it didn't work.

If I just ssh to box b from the autosys id and then sudo from there it works wonderfully - no password needed for either.

It seems...
7,669
Posted By blane
Hi! Thanks for the response. User A is...
Hi! Thanks for the response.

User A is autosys' login.
User B is weblogic.

Unfortunately the command is to start a weblogic process and, if it's started by the autosys id, it won't work...
2,334
Posted By blane
Does this help? Worked for me. find . -type...
Does this help? Worked for me.

find . -type d -name "Print\ Production" -exec chmod -R 775 '{}' \;
7,669
Posted By blane
Sudoers problems.
Hi!

I'm trying to come up with a way for me to automate some processes. I have to do this via ssh. What I'm trying to do is have "box A" connect to "box B" as "user A" and execute a command as...
3,543
Posted By blane
You're exactly right. I had just figured it out...
You're exactly right. I had just figured it out and was going to post that up when I saw you've replied.

Thanks again :)
3,543
Posted By blane
Thanks for the reply. When I run that I'm...
Thanks for the reply.

When I run that I'm getting an error which says:

syntax error near unexpected token `('

If I take out the -exec rm () \; then it works fine to find the files.
3,543
Posted By blane
Searching directory tree
I'm currently trying to write a script that will do the following:

search a given directory tree for a file with MMDDYYYY in the name.
delete those files only.

I can't figure out how to make...
Showing results 1 to 11 of 11

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