Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by exsnafu

  1. exsnafu

    boot lpar up w/bootp using etherchannel-enabled ethernet adapter

    make use of your IVE ports for this kind of stuff, get a cable run to an IVE port and split it up amongst your VIOS for maintenance access. my 2 cents.
  2. exsnafu

    user may chown files to anyone else???

    and as a final post to this misplaced thread, we found the root cause. I'll post it here because it turns out to affect linux just as easily as AIX(both normally disallow this behavior and many others I suspect also normally only allow root to chown) on one of the netapp filers we had an option...
  3. exsnafu

    user may chown files to anyone else???

    and oops. after reading the SElinux post with some confusion i realized i posted this to the wrong forum. i meant to post it in AIX. :D ah well, i don't see any way to move it.
  4. exsnafu

    user may chown files to anyone else???

    directories, ownership, permissions don't appear to make any difference. at this point i've got a call open with ibm and after some traces they believe somehow the netapp filer is allowing this... although still investigating. i had kind of figured this would be more of an OS control...
  5. exsnafu

    user may chown files to anyone else???

    I have a weird one and at this point i'm not sure if its a bug or a feature. i have two NFS mountpoints from two different Netapp filers. on one netapp filer mountpoint, a user who owns the mountpount directory may create a file in the mountpoint and then chown that file to any other...
  6. exsnafu

    Layer 2 VLAN vs. Layer 3 "tagged" VLAN?

    so i've never done this in linux and i might be misunderstanding your question but here's the way i read it: your network guy is suggesting that you run the LLT/GAB VLAN traffic over the same physical NIC for production traffic. basically doubling up those ports. not a bad idea since LLT/GAB is...
  7. exsnafu

    preserving a variable inside a while loop subshell

    aha, thanks.. i reversed the use but same difference.. this way i can keep $port as the global and have a new var just for the one offs inside the loop. while read server nport; do echo "devcreate ${server%%.*} $server ${nport:-$port}" done < $file
  8. exsnafu

    preserving a variable inside a while loop subshell

    I set the value of $port outside of a while loop read in a file and pull two variable out of it, sometimes the second variable(port) is set, sometimes not.. but if not, then i want it to have a default value seems to be the only way i can solve this is by explicitly checking for $port on each...
  9. exsnafu

    open port question

    possible that it's bound to a specific ip/interface rather than listening on all. netstat -na|grep 2025 = is it 0.0.0.0:2025 or?
  10. exsnafu

    Expect Scripting

    you probably need to expect the prompt and then send your command one question though, do you have to use telnet for this? it'd be much easier to accomplish with ssh if the servers support them as you can run non-interactive sessions through ssh and with keys.. no need for password prompting...
  11. exsnafu

    history

    monitoring their shell history file(s) as Annihilannic said is the most simplistic way.. lots of caveats there. one way to "watch" real time another persons terminal is for them to use GNU Screen, you can then attach to their session. google has a lot more detail on how to use screen. without...
  12. exsnafu

    What is the difference between the AIX and Kernel?

    pretty sure AIX is not or ever has been based on the linux kernel. i'm sure over the years there have been ideas picked up by one or the other for use in their own design but thats about it. sjm2 describes it pretty well, the kernel is a component of AIX, its just the middleman between the...
  13. exsnafu

    sort hdiskpower devices

    lsvg -p vgname | awk '!a[$0]++'
  14. exsnafu

    Get HMC name from LPAR command line

    just as an fyi, i have a little function in my .profile that does the same thing, only pretty. :) might find it handy to add if you're in an environment like me with many hmc's. [3896][xxxxxx]:/home/jeffq> lshmc xxxx.com is 10.xxx.xxx.65 xxxx.com is 10.xxx.xxx.66 [3897][xxxxxxx]:/home/jeffq>...
  15. exsnafu

    simple bash question

    guess im a little fuzzy on your requirements but if you just want to see if a file contains a string and do something if it does then simply: grep <string> <file> && <command>

Part and Inventory Search

Back
Top