Search Results

Search: Posts Made By: bouncer
9,302
Posted By bouncer
That's what I needed. Thank you for your...
That's what I needed. Thank you for your assistance. Sorry, for the delay in responding, I was out of town.
9,302
Posted By bouncer
Syntax to see if two variables match
I have a simple shell script to read create a mysql database as a particular user. Right now, I have the password set as a variable to make sure someone does not mistype the password. I want to...
11,269
Posted By bouncer
That did the trick. Thank you for your...
That did the trick. Thank you for your assistance.
11,269
Posted By bouncer
Thank you for the followup. What I want the...
Thank you for the followup.

What I want the script to do is keeping repeating it's self until the exit is called in f5. For example, when the user selects 1 to start/stop tomcat. After that...
11,269
Posted By bouncer
Menu driven script.
I'm a beginner at scripting and have been putting this script together over the past week. It's no where as polish as it could be. Any tips/suggestions on improving this script would be appreciate...
1,989
Posted By bouncer
Extracting several lines of text after a unique string
I'm attempting to write a script to identify users who have sudo access on a server. I only want to extract the ID's of the sudo users after a unique line of text. The list of sudo users goes to...
2,633
Posted By bouncer
Thanks for the suggestion - I'll give this a try...
Thanks for the suggestion - I'll give this a try when I get to work.
2,633
Posted By bouncer
Jim, This is a sample of what is in the...
Jim,

This is a sample of what is in the file. The only thing that changes is the sudo user, pwd and the command

sudo: pam_tally(sudo:setcred): unknown option: no_magic_root
sudo: usera :...
2,633
Posted By bouncer
Simple grep script
I'm trying to write a simple script to identify every user who tried to “sudo” on the system. I have the first portion down to grep the log file

grep “sudo” /var/log/secure.

What I...
Showing results 1 to 9 of 9

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