Search Results

Search: Posts Made By: dagamier
2,232
Posted By dagamier
so been working with the customer SA and they...
so been working with the customer SA and they state they're using sshd.conf to limit access. They're using AllowGroups for their delineation. I'm sure other customers are likely using other options,...
2,232
Posted By dagamier
I would not know this going in. I would need to...
I would not know this going in. I would need to read the config file during script execution which is why I was hoping someone with a bit more experience might provide examples. If you can suggest a...
2,232
Posted By dagamier
I'm already running a generic LDAP query. The...
I'm already running a generic LDAP query. The problem is, the results are the same on every server. For Identity and Access Management, this isn't what I want as not all uses have access to all...
2,232
Posted By dagamier
LDAP Query - host allowed option
I have an in interesting dilemna that I am trying to address. I have some ldap queries that I use to retrieve user information to perform access validations on a quarterly/annual basis. I can...
1,519
Posted By dagamier
So after much playing around with this, it really...
So after much playing around with this, it really came down to a simple command that often gets overlooked. I just had to use the tee command to redirect the output back to the screen. I just...
1,519
Posted By dagamier
I am definitely stumped. When I run with set -x,...
I am definitely stumped. When I run with set -x, I can see everything being output. However, whenever I run it without it, the output from the called functions is suppressed until they return back to...
6,841
Posted By dagamier
does the line begin with user1? does it end with...
does the line begin with user1? does it end with it? do you have a sample line that includes this user1 record? Will user1 always be lower case or could it be mixed case?

And as Corona688 said,...
1,519
Posted By dagamier
Thanks Rudi, I had already tried that before...
Thanks Rudi, I had already tried that before posting. It all runs correctly, weird thing is, that the output is being delayed to screen until the commands all complete and then they all pop up. Was...
1,519
Posted By dagamier
Bash function problem
I am trying to figure out why I am having a "problem" with some functions in a bash script I am running. The reason for air quoting is that the functions are working, they are just not displaying...
6,203
Posted By dagamier
How to find out which server is LDAP/NIS master?
I have some scripts where I go and do some LDAP/NIS queries to report on users on Unix servers. What I am trying to figure out is, how do I know which server is the LDAP? The configs have been in...
1,737
Posted By dagamier
Both solutions worked, but your solution RudiC...
Both solutions worked, but your solution RudiC gave me the "just a few seconds" type of result I was looking for.

Thanks to you as well Aia as you taught me a different way to deal with "while...
1,737
Posted By dagamier
Stripping unwanted characters in field
I wrote myself a small little shell script to clean up a file I have issues with. In particular, I am stripping down a fully qualified host/domain name to just the hostname itself. The script works,...
1,568
Posted By dagamier
that looks like it should do the trick for...
that looks like it should do the trick for converting the data to pipe delimited. i can strip out the extra quotes after the fact. thanks a million, you just saved me a ton of work.:b:
1,568
Posted By dagamier
Pipe delimited to csv
I have a small quandry. I had server reports that I pulled from a database that came out pipe "|" delimited. The developers have now changed the format to CSV. The issue is that some fields have...
862
Posted By dagamier
Thanks Corona688. That solved my problem. And now...
Thanks Corona688. That solved my problem. And now that I see it in the code, the problem is a bit more obvious. Appreciate the explanation.
862
Posted By dagamier
Multi column join
Hello folks, having a new problem with an old solution I previously had working, but think i'm missing something here.

File1:
900001093|HAMU1|SUDO_ALIAS
100100361|IAM_IDS|SUDO_ALIAS...
1,992
Posted By dagamier
RudiC, Thanks so much. This actually worked...
RudiC,

Thanks so much. This actually worked and I like the idea of using the "MATCH=" to set what I want to look for. Totally makes life easier. The only thing I had to do was change the RLENGTH...
1,992
Posted By dagamier
Apologies for not posting actual data. I cleaned...
Apologies for not posting actual data. I cleaned it up a bit for outside consumption and limited the amount for brevity, but made sure to include problem samples. Based on these three lines, I would...
1,633
Posted By dagamier
Just curious, it seems that your original Unix...
Just curious, it seems that your original Unix based file is not a CSV file at all and actually has |_| as the delimiter? If so, that changes things a bit with the approach needed.
1,992
Posted By dagamier
Thanks MadeInGermany. That got me closer to...
Thanks MadeInGermany.

That got me closer to what I needed. Failure on my part to say that I could "MY_TOKEN1" could be anywhere in the field, but I worked around that by removing the caret....
1,317
Posted By dagamier
deleted post
deleted post
3,759
Posted By dagamier
If you are using a telnet client of any sort...
If you are using a telnet client of any sort (putty is most common), then you could have the mapping being done by that application. It is also possible that Informix does its own mapping (been a...
1,992
Posted By dagamier
awk parsing problem
Hello fellow unix geeks,

I am having a small dilemna trying to parse a log file I have. Below is a sample of what it will look like:


MY_TOKEN1(group) TOKEN(other)|SSID1
MY_TOKEN2(group,...
2,094
Posted By dagamier
I forgot that one too. The reason I can't change...
I forgot that one too. The reason I can't change my logic is because i'm dealing with human inputs and for some reason people can't seem to follow simple guidelines so I have to go search for all the...
5,241
Posted By dagamier
That makes a lot more sense. I was wondering why...
That makes a lot more sense. I was wondering why it was just grabbing everything. I totally forgot that the "asterisk" matched 0 or more references and that I needed to add the "dot".

Thanks so...
Showing results 1 to 25 of 61

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