Search Results

Search: Posts Made By: mshilling
Forum: AIX 09-23-2011
3,386
Posted By mshilling
like I said, something stupid. that seems to...
like I said, something stupid. that seems to have straightened it out
Forum: AIX 09-23-2011
3,386
Posted By mshilling
[Solved] cron off by 5 hours
stupid question im sure, but its frustrating

My cron jobs are off by 5 hours. My system time is right but all of my cron jobs are running approximately 5 hours late. Any idea why?
Forum: AIX 09-22-2011
1,593
Posted By mshilling
Thanks. It does not need to be mounted on both...
Thanks. It does not need to be mounted on both boxes at the same time, but for my test, thats what I did. In theory the 2nd box would be a standby server that I would just be importing the VG from...
Forum: AIX 09-20-2011
1,593
Posted By mshilling
LUN Behavior
Aix 6.1, working with a nim master and nim_altmaster

both LPARS have access to the same data LUN, /nimdisk

I do realize the risks of having 2 servers access the same LUN, however it serves the...
Forum: AIX 04-29-2011
14,769
Posted By mshilling
No, I do like that process and will look into all...
No, I do like that process and will look into all the values that are set.



When you did this, did you see the process through to the end then go back and look at the created user? The...
Forum: AIX 04-29-2011
2,124
Posted By mshilling
cat <file> | wc -l cat <file> | wc -c cat...
cat <file> | wc -l
cat <file> | wc -c
cat <file> | wc -w
Forum: AIX 04-29-2011
14,769
Posted By mshilling
adding users via smit
I apologize if this is a simple/stupid question. When I add users in smit as root, many(most) of the fields are automatically popluated with some basic default values.

Some other admins here...
5,780
Posted By mshilling
perfect. thank you very much!
perfect. thank you very much!
5,780
Posted By mshilling
this is working great. One scenario I didnt...
this is working great. One scenario I didnt anticipate is if I need to add 2 zeros, 3, etc, to make it a total of 7 digits.

I put it in a while loop and that seems to function fine, but the nawk...
5,780
Posted By mshilling
excellent, thank you! I will make the username...
excellent, thank you! I will make the username field an argument on the script itself and our app security people can use this instead of modifying the passwd file directly.
5,780
Posted By mshilling
our application spawns unix shell processes and...
our application spawns unix shell processes and it is not LDAP authenticated so it still uses the passwd file. band aid after band aid after band aid and you get the world I've inherited :)
5,780
Posted By mshilling
This is a process that I inherited from years of...
This is a process that I inherited from years of doing it this way. the departments here are so separated, reverse engineering this whole thing would be a nightmare. I agree that hand modifying the...
5,780
Posted By mshilling
its no the username, but the uid that needs to be...
its no the username, but the uid that needs to be appended with a zero. This is because our LDAP configuration requires that the uid in unix match the uid in the LDAP tree and our business uses...
5,780
Posted By mshilling
Modify /etc/passwd via script
We have a business need to modify the /etc/passwd file every time a new user gets added, because the user ID begins with a zero. When you create the new user in smit, even if you put the leading...
1,578
Posted By mshilling
wow thats great. I really should learn awk. ...
wow thats great. I really should learn awk.


I used my above code but continued on and ended up with the same output, just much more work

for username in $(who |cut -d " " -f1 |sort |uniq -d)...
1,578
Posted By mshilling
Thanks for the fast reply, however I run into...
Thanks for the fast reply, however I run into issues. I even tried sending the output of who to a file first, but my results are not the same. This is on AIX 6.1 if that matters.



$ who >>...
1,578
Posted By mshilling
comparing output of who command
I have a need to take the output of the who command and first strip out users with only 1 session, then of the remaining users I need only to list the ones who are using more than 1 IP address
...
Showing results 1 to 17 of 17

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