Slashdot Mirror


Top Ten Linux Configuration Tools?

jman251 asks: "I am presenting at a conference in September on a couple of Linux-centric topics. One of these is a collection of tips, tricks, and tools for configuring, securing, and maintaining a Linux-based server. I have a short list of tools I use, but would like some community input on the subject. What tools do you use that make your admin responsibilities easier or more automated on the Linux platform?"

651 comments

  1. They all start with "nano -wiR /etc/" by Ayanami+Rei · · Score: 3, Interesting
    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:They all start with "nano -wiR /etc/" by Pillager · · Score: 1

      Don't you mean 'vi /etc/'?

    2. Re:They all start with "nano -wiR /etc/" by Anonymous Coward · · Score: 0

      No, vim.

    3. Re:They all start with "nano -wiR /etc/" by BJH · · Score: 1

      $ which vi /bin/vi
      $ ls -l /bin/vi
      lrwxrwxrwx 1 root root 20 Jan 28 2003 /bin/vi -> /etc/alternatives/vi*
      $ ls -l /etc/alternatives/vi
      lrwxrwxrwx 1 root root 9 Jan 28 2003 /etc/alternatives/vi -> /bin/vim*

    4. Re:They all start with "nano -wiR /etc/" by Anonymous Coward · · Score: 0

      you should update your .sig
      It's now :Results 1 - 10 of about 370,000,000 for b [definition]. (0.23 seconds)

    5. Re:They all start with "nano -wiR /etc/" by kristaps.kaupe · · Score: 3, Funny

      mine usually starts with `mc' :)

    6. Re:They all start with "nano -wiR /etc/" by Gherald · · Score: 1

      How about:

      Results 1 - 10 of about 3,550,000,000 for +a (0.27 seconds)

    7. Re:They all start with "nano -wiR /etc/" by Anonymous Coward · · Score: 0

      quicker to type:

      ls -l `which vi`

    8. Re:They all start with "nano -wiR /etc/" by machacker · · Score: 0

      what kind of crappy editor requires the user to memorise half a million commands just to edit file??

    9. Re:They all start with "nano -wiR /etc/" by Master+of+Transhuman · · Score: 1

      Any editor running on UNIX.

      Except maybe my current favorite, jEdit.

      Just wait until you actually get the file open and see what fun UNIX editors force you to have then!

      --
      Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
    10. Re:They all start with "nano -wiR /etc/" by Anonymous Coward · · Score: 0

      well. favorites (in order):
      zsh
      vim
      perl
      less
      sed,awk,cut,tail,he ad (all those standard tools)

  2. Only one... by Foofoobar · · Score: 1

    Make :)

    --
    This is my sig. There are many like it but this one is mine.
    1. Re:Only one... by nocomment · · Score: 1

      you left out vi, nano, pico, ed, and for you zealots, emacs.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    2. Re:Only one... by I_Love_Pocky! · · Score: 1

      You don't think it would take a zealot to be using ed?

    3. Re:Only one... by Johnny+O · · Score: 1

      Yeah, my first reaction was 'vi' also ;-)

    4. Re:Only one... by nocomment · · Score: 1

      hehe ya, it was more of a dig at the whole vi/emacs thing.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
  3. rm by bobthemuse · · Score: 5, Funny

    rm -rf /home

    That'll teach those pesky users....

    1. Re:rm by Punk+Walrus · · Score: 4, Insightful

      Only as root... and then you created them, so hush! :)

    2. Re:rm by DrEvil-47 · · Score: 1, Funny
      Device configuration...

      rm -rf /dev/*

      This really happened to me when my "assitant" attempted to recover disk space by deleting all of those extra entries in the /dev directory. *sigh*

    3. Re:rm by geekoid · · Score: 4, Funny

      you can't have users to torment, if you don't create any.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    4. Re:rm by Homology · · Score: 5, Informative
      I used

      $ chflags uchg /home/dude

      So now "rm -fr /" won't work even as root as it will properly give you :

      rm: /home/dude: Operation not permitted

      So there you are, you pesky root of all evil. Oh bummer, now I can't make any new files in /home/dude ....

    5. Re:rm by Soko · · Score: 1

      Ahh, the Black and Arcane Art of Being a BOFH. Make sure the young ones have promise, though, before you go teaching them how to use the more deadlier weapons, though.

      <Clickety-Click>

      Soko

      --
      "Depression is merely anger without enthusiasm." - Anonymous
    6. Re:rm by rootofevil · · Score: 1

      what about me?

      --
      turn up the jukebox and tell me a lie
    7. Re:rm by Thinman · · Score: 1

      My ten fingers!!!!

    8. Re:rm by Anonymous Coward · · Score: 0

      That's just like, your opinion, man.

    9. Re:rm by craqboy · · Score: 1

      dd if=/dev/zero of=/dev/hda

    10. Re:rm by dubl-u · · Score: 1
      I prefer:
      touch -- '-rf .'
    11. Re:rm by Myolp · · Score: 1

      According to a friend of mine, you should also add a & at the end...

    12. Re:rm by Anonymous Coward · · Score: 0

      What kind of idiot admin gives a clueless noob root access?

  4. Xconfigurator by superpulpsicle · · Score: 2, Interesting

    Xconfigurator used to be the key thing if you had any graphical needs. But the KDE GUI makes all that graphical tweaking as transparent as windows desktop nowadays.

    1. Re:Xconfigurator by drinkypoo · · Score: 1

      Does KDE actually write new X config files now? Because if it doesn't, changing resolutions is dependent on the config files.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:Xconfigurator by fore1337 · · Score: 1, Insightful

      I like using XConfigurator
      You're right about not needing it lately. However it's been useful for notebook displays of uncommon resolution. (my 14" 1400x1050) Xconfigurator is the only way I know how to get it working properly.

    3. Re:Xconfigurator by mattyrobinson69 · · Score: 1

      yes, kde does write to the X config file.

      krandrtray can change resolution (and other stuff) on the fly, and make changes to the x config file

    4. Re:Xconfigurator by Fred_A · · Score: 1

      On one of my laptops, Kde won't even come up (actually X won't even come up) after a new install unless I first tweak the X config file with $EDITOR and add Option "overrideValidateMode". The native resolution of the display is 1024×480. I haven't yet found an X installer that will do this by itself.

      Note that it took me a bit of reading to figure this one out back when I did my first install on that machine (not to mention the other assorted weirdness of this old Vaio).

      --

      May contain traces of nut.
      Made from the freshest electrons.
  5. Webmin all the way by tntguy · · Score: 5, Interesting

    Webmin. Grab Usermin while you're there.

    1. Re:Webmin all the way by desiderius7 · · Score: 5, Insightful

      Amen to that. Being responsible for the administration of about 10 linux boxes that each provide a unique variety of services, Webmin has been invaluable. If I didn't have Webmin, all of my tasks performed through the shell would take about 10 times longer than they currently do from a browser that can lay out my options much more nicely. The key is to know/learn how to do what you want to do from the shell first, so that you have the understanding (and for emergencies), but to then use Webmin to boost your efficiency and help remind you of things that a blank console doesn't.

    2. Re:Webmin all the way by wo1verin3 · · Score: 2, Interesting

      At the risk of being redundant, when I stumbled across Webmin I was amazed at how simple it made some tasks such as playing with mysql DBs without knowing the syntax. I was new to linux at the time and although knowing the syntax for commands is important, this was a good tool to help me learn.

    3. Re:Webmin all the way by Anonymous Coward · · Score: 4, Informative

      Webmin's all well and good for a few machines. But if you're employed maintaining 100s of machines, there are very few real and free options, and I don't personally think webmin is one of them, unless it's become much more scriptable than when I last checked.

      cfengine works really well, but you don't appreciate its features until you hit the 70+ machine mark - the "trick" is that cfengine with it's inheritance and boolean class logic excels for systems that are different but have bits in common. Such different bits ALWAYS turn up with 70+ machines, simply because PC-class hardware's failure rate means something will have been changed on some machine somewhere at any given time. But if you've only got tens of machines runnning one OS rather than hundreds running five different OSes, it all seems like very hard work to set up your cfengine configuration files. The other "trick" is that cfengine is mostly multiuser and you can allow different users perform different actions, so when you've got a team of admins of different ability,
      johnny-adds-visitor-laptops-to-vlan-17 just can't fuck up mordred-rules-production-database-servers-with-iro n-fist's work, yet _can_ have role-based limited admin abilities.

    4. Re:Webmin all the way by Anonymous Coward · · Score: 0

      This is a must for any Linux administrator.

    5. Re:Webmin all the way by Codifex+Maximus · · Score: 1

      Yep! I'll throw a vote in for webmin also. Very nice tool.

      --
      Codifex Maximus ~ In search of... a shorter sig.
    6. Re:Webmin all the way by Anonymous Coward · · Score: 0

      Pure Bullshit!!!

      I bet you are less than two years on system administration!

  6. vim by mnemonic_ · · Score: 0, Flamebait

    Fuck you, vim 4 lyfe.

  7. Webmin is nice by arfonrg · · Score: 3, Informative

    I use it on several of my servers to do basic configuration.

    --
    Your thin skin doesn't make me a troll
    1. Re:Webmin is nice by rainman_bc · · Score: 1, Informative

      I like webmin as well. Much less overhead than KDE or X... Definately gets the job done for most server management needs.

      --
      09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    2. Re:Webmin is nice by Terragen · · Score: 1

      I'll second that - Webmin is a great tool.

    3. Re:Webmin is nice by John+Hurliman · · Score: 4, Informative

      I'd put Webmin on my #1 list for best Linux admin tools. phpmysql is probably second (or the postgresql equivalent), and all the necessary toolkit apps like nmap, ethereal, netcat, etc.

    4. Re:Webmin is nice by nharmon · · Score: 0

      Webmin is a good "bandaid" for people learning server administration and need to do something quickly. However, it does come with some inherit security problems. Most notably there have been exploits in the past that allow free shell access. Also, it requires you to run httpd, which on many servers is not worth the security risk.

    5. Re:Webmin is nice by cdrudge · · Score: 1, Funny

      Remember that SCO has contributed to webmin. Using webmin obviously means that you are violating their IP rights and will be sued for $1b per day of infringement. Of course you likely were already violating their IP rights by using the Linux kernel, java, and if you use RedHat, rpm.

    6. Re:Webmin is nice by Anonymous Coward · · Score: 0

      I thought webmin didn't require httpd as it ran its own http server (I might be wrong).

    7. Re:Webmin is nice by mkro · · Score: 2, Insightful
      Also, it requires you to run httpd, which on many servers is not worth the security risk.
      You let the webserver only accept connections from localhost, and the daemon runs as an unpriviliged user. What am I missing here?
      --
      I shall go and tell the indestructible man that someone plans to murder him.
    8. Re:Webmin is nice by nharmon · · Score: 2, Insightful

      I would say that you're missing that fact you don't run X on a production server (at least...i don't)...

    9. Re:Webmin is nice by Anonymous Coward · · Score: 0

      Hmm..I thought Webmin came with its own little miniserver written in perl. It doesnt start up httpd does it?

    10. Re:Webmin is nice by Gramie2 · · Score: 1

      Note, though, that it can easily be configured to run using the https protocol.

    11. Re:Webmin is nice by LodCrappo · · Score: 1

      Webmin does not require you to "run httpd". It uses it's own internal webserver. Not sure that makes it any safer than using apache or similar, though.

      --
      -Lod
    12. Re:Webmin is nice by mkro · · Score: 2, Insightful

      Sorry, not trying to troll here, but X for what? I asume accessing the web interface can be done with [e]links/w3m/lynx. No, never tried, but the web pages don't look THAT advanced.

      --
      I shall go and tell the indestructible man that someone plans to murder him.
    13. Re:Webmin is nice by SpeedMan · · Score: 1

      httpd is *not* required to run Webmin. Webmin uses a small perl script called miniserv instead of Apache.

      --
      Regards, SpeedMan
    14. Re:Webmin is nice by ThisIsFred · · Score: 4, Interesting

      It doesn't require you to run a separate webserver, it comes with its own. There are potential security problems, because in order to modify system configuration files, Webmin must be superuser-equivalent. However, Webmin modules have ACLs, and you can choose to not allow your lesser sysops access to things that might be dangerous.

      Webmin has lots of thoughtful touches, like the ability to block certain UIDs and GIDs so that a lesser sysop cannot change the root account (for example). Another bonus is that Webmin users don't have to be regular shell accounts. It's not perfect, but it's still the Swiss Army Knife of configuration utilities.

      --
      Fred

      "A fool and his freedom are soon parted"
      -RMS
    15. Re:Webmin is nice by guroove · · Score: 1

      This is interesting. I've always used webmin and it has helped me save lots of time. I always suspected that it must be compromising security. Aside from an authorized person using the webmin interface, are there any other huge inherent security risks to running webmin? Does restricting the IP addresses work? That's what I've been doing and I don't think anyone has rooted any of my machines. Does anyone have any good security advice for people who want to use webmin?

      --
      Someone stole my old sig.
    16. Re:Webmin is nice by Anonymous Coward · · Score: 0

      How on earth did this moronic comment get marked insightful?

    17. Re:Webmin is nice by perler · · Score: 1

      what the hell are you talking about? you don't need httpd at all (webmin brings it's own with it) and the last (known) security problem was some months ago and was fixed immediately.

      PAT

    18. Re:Webmin is nice by tchernobog · · Score: 1

      As long as they have cookie support. Links didn't, if I reckon correctly.

      --
      42.
    19. Re:Webmin is nice by rokka · · Score: 2, Informative

      Oh but really. You don't have to run it when you're not configuring something. I guess the lazy guys just lets the deamon run constantly. I do that at home, but I wouldn't keep it alive on a box that actually -does- something. You can always start it when needed.

      --
      I could be wrong. I'm always wrong...
    20. Re:Webmin is nice by Anonymous Coward · · Score: 0

      Stupid question, but why would you leave it running? /etc/init.d/webmin start
      do webminnny stuff /etc/init.d/webmin stop

    21. Re:Webmin is nice by Anonymous Coward · · Score: 0

      WTF is phpmysql?

    22. Re:Webmin is nice by Zorak+Man · · Score: 1

      I dunno which, but I use Lynx, Links and elinks at different times and I know at least one of them has cookie suppost, if not all.

      --

      404 .sig not found
    23. Re:Webmin is nice by Anonymous Coward · · Score: 0

      Lynx has cookie support

      Shortest. Post. Ever.

    24. Re:Webmin is nice by Anonymous Coward · · Score: 0

      I think he means phpmyadmin :|

    25. Re:Webmin is nice by Nailer · · Score: 1

      As the other guy said, Webmin doesn't need X.

      The default install is limited to localhost. If you want to use it remotely, use SSH. You get a polished GUI web based config tool, without needing X on your server at all.

      That said, personally I have no problem with running X on my servers. It doesn't require much RAM, has no more impact on stability than any other app, and can make troubleshooting much faster.

    26. Re:Webmin is nice by versus · · Score: 1
      use ssh port-forwarding to make webmin port available to your localhost.

      ssh -L 10000:localhost:10000 -N -f webmin-host

      --
      Brain is my second favorite organ.
  8. Dave Lettermans Top 10 by Anonymous Coward · · Score: 5, Insightful

    su
    df
    du
    ls
    rm
    passwd
    chown
    vi
    more
    bash

    Hey, you asked for it - No clicky links to read.

    1. Re:Dave Lettermans Top 10 by vicviper · · Score: 2, Insightful

      su
      df
      du
      ls
      rm
      passwd
      chown
      vi
      more
      bash

      s/more/less/

      Your comment has too few characters per line (currently 3.6).

    2. Re:Dave Lettermans Top 10 by Anonymous Coward · · Score: 2, Interesting

      but he said configuration tools.
      rm, su and bash don't seem to relate.
      ls could, but thats a stretch

      Dave Letterman's IT crew's Top 10

      9) your distro's install disks
      8) that other distro(that is better)install disks
      7) fdisk
      6) ???
      5) Profit!
      4) google.com or tldp.org (rtfw!)
      3) lspci (plug and pray baby!)
      2) man (it helps to know what your doing with it)
      1) your text editor (vi|emacs|jed|nano|whatever)
      0) man (rtfm!)

    3. Re:Dave Lettermans Top 10 by Badanov · · Score: 2, Interesting

      1) BASH and that means any program that can be included in a BASH shell, ls, cd, rm, mv, chmod, chown, chattr, etc
      2) emacs or if FreeBSD, edit
      3) PERL
      4) IPTables, or if FreeBSD, ipfw
      5) ssh
      6) telnet
      7) gzip/gunzip
      8) any of the c compilers, plus gmake or make
      9) If setting up a Unix/Linux server inside a private network, nfs
      10) If a database is needed then postgreSQL, plus the DBI stuffies, plus DBD, etc. May as well include an Apache web server with mod_perl

      --
      Dawn of the Dead
    4. Re:Dave Lettermans Top 10 by hackstraw · · Score: 5, Informative

      su -- better sudo keeps your root password better kept, does more logging, etc

      more -- better less (Its not the 70s anymore people, you can search and go backwards in files since less first came about in the mid 80s. With the LESSOPEN varible set to something useful you can "browse" many, many filetypes too).

      bash -- better zsh My shell can do anything your shell can do, but better!

    5. Re:Dave Lettermans Top 10 by geekoid · · Score: 1

      Microsofts newest slogon:
      "Do more with less."

      Stupid really, I don't even know a Less.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    6. Re:Dave Lettermans Top 10 by ari_j · · Score: 1

      I'll swap less for more and cron for du. If I could have a few more than 10, I'd keep du (and cron) and add ps and find.

    7. Re:Dave Lettermans Top 10 by dragonman97 · · Score: 1

      `cd` is pretty useful, no?

    8. Re:Dave Lettermans Top 10 by Anonymous Coward · · Score: 1

      what are the advatages of zsh over bash? Pros Cons? I actually have never heard of anyone using zsh. Linux uses quit a bit of bash. Please expand...

    9. Re:Dave Lettermans Top 10 by duncangough · · Score: 0

      Is there a problem - you don't seem sure of what you're saying?

    10. Re:Dave Lettermans Top 10 by ewtrowbr · · Score: 3, Interesting

      I recently discoverd that I can use nohup to start a lengthy process from a remote ssh session, hang up, and check on it later. for example...

      nohup emerge sync &
      ( or nohup make && make install & )
      tail -f nohup.out
      exit

      This is the coolest thing in the world, because I can logout, the process keeps running, and I can check on the progress later from another location.

      This is probably no suprise to the graybeards out there, but is sparkly to a n00b like me.

    11. Re:Dave Lettermans Top 10 by stevey · · Score: 4, Informative
      I can logout, the process keeps running, and I can check on the progress later from another location.

      Whilst you are correct this works for non-interactive processes, you can't use nohup to keep a copy of say, Lynx, running when you logout. Then return to it later and pick off where you left it.

      Instead you should look at GNU Screen which allows this and more.

      (It's essentially a windowing system for consoles, with the ability to detach and resume at will, and definately one of my top ten Unix utilities).

      Here is one Screen tutorial which explains basic operation well.

    12. Re:Dave Lettermans Top 10 by hackstraw · · Score: 5, Informative

      what are the advatages of zsh over bash

      1) programable tab completion - yes folks there is more to tab completion besides beeping all the time. When I hit cd fooTAB the list of completions only shows _directories_ beginning with foo

      2) sane invocation - zsh is the only shell that has one file that is sourced _on all invocations of the shell_ so you can do stuff like have a consistant PATH and other env stuff

      3) global aliases - zsh provides an alias that works _anywhere on the commandline_ I have 'G' mapped to '| grep -i', I have 'L' mapped to '| less' and 'vi' mapped to 'vim' (why? So sudo vi FILE gives me vim if the system has vim), etc, etc

      4) the only shell that supports working 'vi' style history editing

      5) multiple commandline commands are not rewritten as commands with ';' in them (what I typed is what I get, see 4)

      6) too many features to name. Like I said, my shell can do anything your shell can do, but better.

    13. Re:Dave Lettermans Top 10 by dragonman97 · · Score: 1

      I personally like using screen for stuff like that - this way you can even leave interactive apps running, detach the screen, and reattach at a later date and time.

    14. Re:Dave Lettermans Top 10 by Steepe · · Score: 1

      Your forgetting some of the biggies.

      find - a sysadmins BEST friend
      less - much better than more as pointed out alredy
      man - so you know what do put after all the above commands to make them do something
      visudo (sudoers) so your users can get off your back with normal everyday stuff
      that should get you started. :)

      --
      Just three more hours seapeople and you can finally take me away from this crappy God Damned planet full of hippies
    15. Re:Dave Lettermans Top 10 by Jeffrey+Baker · · Score: 1
      • perl
      • apt-get
      • zsh
      • nagios
      • tcpdump/ethereal/tethereal
    16. Re:Dave Lettermans Top 10 by kabocox · · Score: 1

      Hey, what about cd?

    17. Re:Dave Lettermans Top 10 by kurt555gs · · Score: 1

      Number 1

      YaST

      No others needed

      --
      * Carthago Delenda Est *
    18. Re:Dave Lettermans Top 10 by Janek+Kozicki · · Score: 1

      and reattach at a later date and time

      correction: any date, time and place

      --
      #
      #\ @ ? Colonize Mars
      #
    19. Re:Dave Lettermans Top 10 by stefanlasiewski · · Score: 1

      You don't want just any old 'ls', you want the GNU Fileutils. The native versions on most other Un*x's are horrible in comparison. 'less' on Solaris is (was) horribly broken.

      Life is so much more readable and organized with 'ls --color' and 'mv --verbose', the sensable scrolling commands of GNU less (In comparison to 'less' on Solaris).

      --
      "Can of worms? The can is open... the worms are everywhere."
    20. Re:Dave Lettermans Top 10 by alanw · · Score: 1
      gawk
      talk
      nice
      date
      wine
      grep
      touch
      unzip
      strip
      touch
      gasp
      finger
      gasp
      lyx
      mount
      fsck
      more
      yes
      gasp
      umount
      more
      yes
      suck
      make clean
      make mrproper
      sleep

      and a long string of text to get around the lameness filters

    21. Re:Dave Lettermans Top 10 by carlos_benj · · Score: 1

      the only shell that supports working 'vi' style history editing

      Are you talking about something beyond what I can get with "set -o vi"?

      --

      --

      As a matter of fact, I am a lawyer. But I play an actor on TV.

    22. Re:Dave Lettermans Top 10 by Rei · · Score: 5, Funny

      I'm reminded a bit of the ABCs of UNIX here...

      A is for awk, which runs like a snail
      B is for biff, which reads all your mail
      C is for cc, as hackers recall
      D is for dd, the command that does all
      E is for emacs, which rebinds your keys
      F is for fsck, which rebuilds your trees
      G is for grep, a clever detective
      H is for halt, which may seem defective
      I is for indent, which rarely amuses
      J is for join, which nobody uses
      K is for kill, which makes you the boss
      L is for lex, which is missing from DOS
      M is for more, from which less was begot
      N is for nice, which really is not
      O is for od, which prints out things nice
      P is for passwd, which reads in strings twice
      Q is for quota, a Berkeley-type fable
      R is for ranlib, for sorting a table
      S is for spell, which attempts to belittle
      T is for true, which does very little
      U is for uniq, which is used after sort
      V is for vi, which is hard to abort
      W is for whoami, which tells you your name
      X is, well, X, of dubious fame
      Y is for yes, which makes an impression, and
      Z is for zcat, which handles compression

      --
      Very well; let this abomination unto the Lord begin!
    23. Re:Dave Lettermans Top 10 by hackstraw · · Score: 1

      I said: the only shell that supports working 'vi' style history editing

      you said: Are you talking about something beyond what I can get with "set -o vi"?

      Yes, you missed the key word "working". By this I mean multiple line support the whole deal. Trust me, I've tried them all, there is something in each shell that is not quite right.

    24. Re:Dave Lettermans Top 10 by FarrisGoldstein · · Score: 1

      s/less/most/g

    25. Re:Dave Lettermans Top 10 by tjw · · Score: 2, Informative
      what are the advatages of zsh over bash? Pros Cons?
      Personally I find both useful. I prefer zsh for my interactive shell because it has many features that I think make it a better tool for that job:
      1. vi bindings work like tcsh
      2. preexec function that allows me to update xterm title bars before the command runs in them
      3. multiple output redirection (e.g. date > out1 > out2)
      On the other hand, I much prefer bash for writing shell scripts because it has many features that make it a better tool for that job:
      1. supports TCP and UDP filehandles (e.g. /dev/tcp/localhost/80)
      2. nice array variables
      3. installed on just about every linux system
      YMMV
      --

      XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UB E-TEST-EMAIL*C.34X
    26. Re:Dave Lettermans Top 10 by cayenne8 · · Score: 1

      emerge

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    27. Re:Dave Lettermans Top 10 by Anonymous Coward · · Score: 1

      Bash has had programmable tab completion for years now. Just thought you should know. Most of your other points stand, though. And of course, Bash has working emacs-style history editing, rather than vi, but nobody seems to use it much.

    28. Re:Dave Lettermans Top 10 by dragonman97 · · Score: 1
      That's nearly always a given when talking about shell stuff like this. It's only not true if you background a process and then try to foreground it. But yeah, I get to my screen sessions from lots of places, either through a TTY, SSH session in xterm or TTY, or PuTTY. I *heart* screen. Some stuff I find useful:
      $ cat .screenrc
      # provided by Miciah Dashiel Butler Masters <gcgs-gnu-screen@g...>
      caption always '%{-b}%{= wb}%-Lw%{= wr}%50>%{+b}%n%f %t%{= wb}%{-b}%+Lw%{= wr}%-017= %c %Y-%m-%d'
      vbell off
    29. Re:Dave Lettermans Top 10 by sonicattack · · Score: 3, Informative

      1) programable tab completion - yes folks there is more to tab completion besides beeping all the time. When I hit cd fooTAB the list of completions only shows _directories_ beginning with foo

      "Bash" also supports programmable tab completion - it's possible to do stuff such as:

      Tab completion after the command ...

      ... unzip, which will only complete filenames ending with ".zip"

      ... kill, will give you a full list of PID's to kill.

      ... killall, will complete process names.

      ... ping, telnet, ftp, will complete to entries in /etc/hosts

      ... insmod, will complete module names to be loaded.

      ... rmmod, will complete to loaded modules to unload.



      And my favorite:

      apt-get install, which will complete to packages known to apt

      There are lots more of them, and of course, since it's programmable, more can be added to suite ones needs.

    30. Re:Dave Lettermans Top 10 by carlos_benj · · Score: 1

      Multiple line support? Is it similar to what I do in ksh by typing 'v' in command mode and pulling the multiline command into vi or is it something different?

      Are you saying that I can use :g/something/s//something_else/g

      and globally replace every occurance of "something" in history? Is there a way to restrict that to a particular multi-line command or does it do that by default (since I can't see replacing stuff not pertinent to the task at hand)?

      --

      --

      As a matter of fact, I am a lawyer. But I play an actor on TV.

    31. Re:Dave Lettermans Top 10 by Anonymous Coward · · Score: 0

      can't sleep; chown :wheel eatme

    32. Re:Dave Lettermans Top 10 by LinuxHam · · Score: 1

      `cd` is pretty useful, no?

      Not as a configuration tool!

      --
      Intelligent Life on Earth
    33. Re:Dave Lettermans Top 10 by hackstraw · · Score: 1

      Learn something new everyday. But for me its a day late and a dollar short. But bash still does not expand '!commandTAB' so that you can go back and edit it. Also bash has wierd backtick stuff with '!'s. I do this all the time, and bash just complains.

      for i in `!ls`
      bash: !ls`: event not found


      Grrr. I guess one could argue that bash is doing the 'right' thing, but zsh just has more utility for me. Again, zsh can do anything any other shell can do, and more.

    34. Re:Dave Lettermans Top 10 by N1KO · · Score: 1

      Bash doesn't have menu selection, which makes it much easier to work with directories that have lots of files (lets you move with the arrow keys and select an item from the list of possible completions).

      Completion is also much more customizable than with bash. Also, the default completion for zsh seems better to me than the bash-completion package (things like descriptions for command line options, great with mplayer).

    35. Re:Dave Lettermans Top 10 by benwb · · Score: 1

      s/most/less/

    36. Re:Dave Lettermans Top 10 by SquadBoy · · Score: 1

      Really it is good advice less is *much* better than more.

      --

      Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
    37. Re:Dave Lettermans Top 10 by Lenbok · · Score: 1
      But bash still does not expand '!commandTAB' so that you can go back and edit it.

      M-C-e performs shell-expand-line, which does what you want.

    38. Re:Dave Lettermans Top 10 by Dwonis · · Score: 1

      What's gasp?

    39. Re:Dave Lettermans Top 10 by kzinti · · Score: 1

      B is for biff, which reads all your mail

      Always thought it should be "B is for biff, which watches for mail".

      Sit, biff, sit. Good dog.

    40. Re:Dave Lettermans Top 10 by Biogenesis · · Score: 1

      How did you forget grep man!

    41. Re:Dave Lettermans Top 10 by macshit · · Score: 2, Insightful

      zsh also has some extremely annoying properties, especially its tendency to assign essentially every[*] single non-alphumeric character a "magic" meaning (e.g., = as a filename prefix seems to be something like "which").

      Personally I think zsh is a great example of "lots of features and no taste."

      [*] Yes, I'm exaggerating -- I'm sure there are a few without... :-)

      --
      We live, as we dream -- alone....
    42. Re:Dave Lettermans Top 10 by Anonymous Coward · · Score: 0

      less - much better than more as pointed out alredy

      So you are saying less is more? I'm confused

    43. Re:Dave Lettermans Top 10 by Anonymous Coward · · Score: 0

      Seriously, why did this get modded down? It's freakin' hilarious and the only one of those commands I can't verify the existance of is 'gasp'

    44. Re:Dave Lettermans Top 10 by hackstraw · · Score: 1

      The '=' sign prefixed to a command means do the raw command from the path and not an alias or whatnot. Its a feature that I also use to 'unalias' things when I want to undo my default flags (I use it for 'ls' all the time).

    45. Re:Dave Lettermans Top 10 by Master+of+Transhuman · · Score: 1

      Depends on your symlinks, right?

      Less could be vi and make everybody happy.

      --
      Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
    46. Re:Dave Lettermans Top 10 by TastyWords · · Score: 1

      That Microsoft slogan is correct!
      (It just needs an elliptical clause)
      "Do more with less [in your pocket]"

      Kind of like:
      What's in your wallet?
      Nothing. I just bought a PC capable of running Windows XP.

    47. Re:Dave Lettermans Top 10 by Master+of+Transhuman · · Score: 1

      David Letterman knows UNIX?

      Anybody got the Stupid Admin Tricks list?

      --
      Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
    48. Re:Dave Lettermans Top 10 by Anonymous Coward · · Score: 0

      Except when I don't want it to clear the previous contents of the window when I quit. How do I do that in less?

      But I do like dog better than cat...

    49. Re:Dave Lettermans Top 10 by ckaminski · · Score: 1

      I fucking HATE less. Get that piece of shit out of my sight. If you have $PAGER=less, and you man "anything", if you quit "man/less" at a specific page, it clears the whole fucking screen, making it useless for on the fly command comprehension. It's the one default in SuSE that I utterly despise and wish they hadn't inflicted upon all my servers.

    50. Re:Dave Lettermans Top 10 by Matt+Perry · · Score: 4, Informative
      1) programable tab completion
      Bash has programable tab completion. In fact, you should check out the Bash Programmable Completion package if you are a bash user. That contains a bunch of completions for commonly used commands and their options.
      5) multiple commandline commands are not rewritten as commands with ';' in them (what I typed is what I get, see 4)
      That's the default in bash, too. If you aren't getting that behaviour it's because you turned the cmdhist option on (or your distro did). "shopt -u cmdhist" will turn that back off.
      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    51. Re:Dave Lettermans Top 10 by ckaminski · · Score: 1

      Please explain yourself. I personally find less annoying, but I'm old school...

    52. Re:Dave Lettermans Top 10 by MrDelSarto · · Score: 2, Interesting
      If you read the man page

      -X or --no-init
      Disables sending the termcap initialization and deinitialization strings to the terminal. This is sometimes desirable if the deinitialization string does something unnecessary, like clearing the screen.


      you can even set it with LESS=X ; export LESS
    53. Re:Dave Lettermans Top 10 by Anonymous Coward · · Score: 0

      remove !
      my bash expands
      plonk!

    54. Re:Dave Lettermans Top 10 by fferreres · · Score: 1

      While I think Screen is much better (from what I read, i have to try it yet), there is also a "kind of" nohup that is also very usefull.

      Suppose you ALREADY started a lengthy process, thinking you'll have enough time to see it finished before disconnected. In this case you can do this:

      1) Sleep the process (CTRL-Z) ... suppose it's %1
      2) Put it back but in the background (bg %1)
      3) Detach it (disown %1)

      Then disconnect, and it's somewhat similar to nohup.

      --
      unfinished: (adj.)
    55. Re:Dave Lettermans Top 10 by /dev/trash · · Score: 1

      Have you tried screen?

    56. Re:Dave Lettermans Top 10 by ca1v1n · · Score: 1

      Clearly you need to use cfengine to change this default on all your servers.

    57. Re:Dave Lettermans Top 10 by alanw · · Score: 1
      What's gasp
      http://packages.debian.org/cgi-bin/search_contents .pl?word=gasp&searchmode=searchfiles
    58. Re:Dave Lettermans Top 10 by tigga · · Score: 1
      I fucking HATE less. Get that piece of shit out of my sight. If you have $PAGER=less, and you man "anything", if you quit "man/less" at a specific page, it clears the whole fucking screen, making it useless for on the fly command comprehension. It's the one default in SuSE that I utterly despise and wish they hadn't inflicted upon all my servers.

      In FreeBSD less behave as less if called as less. If you call it more it behaves as more (and much better than Linux's more).

    59. Re:Dave Lettermans Top 10 by Wolfrider · · Score: 1
      --I use "screen" pretty much every day, very useful.

      --In addition, if you want to logout and still keep background jobs running, here's an entry from " man bash ":
      disown [-ar] [-h] [jobspec ...]
      Without options, each jobspec is removed from the table of
      active jobs. If the -h option is given, each jobspec is not
      removed from the table, but is marked so that SIGHUP is not sent
      to the job if the shell receives a SIGHUP. If no jobspec is
      present, and neither the -a nor the -r option is supplied, the
      current job is used. If no jobspec is supplied, the -a option
      means to remove or mark all jobs; the -r option without a job-
      spec argument restricts operation to running jobs. The return
      value is 0 unless a jobspec does not specify a valid job.
      --Basically you start a long-running command in the BG:
      ' time bzip2 thisfile & '

      And then disown it:

      ' disown %1 '

      --Then you can safely logout and the job will still be running.
      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    60. Re:Dave Lettermans Top 10 by Dwonis · · Score: 1
      Hmm... That's not all that useful, but this is. Apparently it's the "GNU Assembler Macro Preprocessor".

      I initially ran apt-cache search gasp, which turned up nothing relevent. I suppose I should have tried harder to figure it out.

      Bah, who am I kidding? This is Slashdot!

    61. Re:Dave Lettermans Top 10 by Dwonis · · Score: 1
      Sigh. s/relevent/relevant/

      I should really not post after 2 AM...

    62. Re:Dave Lettermans Top 10 by mindriot · · Score: 1

      The only problem with programmable tab completion at the moment is that you provide functions for different completion schemes, and all these function definitions clutter the output of 'set' (which I sometimes like to look at). That gets a bit on my nerves.

    63. Re:Dave Lettermans Top 10 by StressedEd · · Score: 1

      Sounds cool, y' learn something every day! Can you post up a list of your bash "complete" specifications?

      With "complete" would there be a sane way of telling it about common command line arguments eg...

      tar -[TAB] lists up

      -c - create
      -t - list
      -x - extract
      -z - gzip compression

      tar -xz [TAB]

      lists up all files ending in .tgz .tar.gz

      --
      Be nice to people on the way up. You will meet them again on your way down!
    64. Re:Dave Lettermans Top 10 by StressedEd · · Score: 2, Interesting

      Of course I could read other posts before hitting "Reply", as mentioned in another thread:
      bash completion
      is a good start.

      --
      Be nice to people on the way up. You will meet them again on your way down!
    65. Re:Dave Lettermans Top 10 by anti-trojan · · Score: 1

      C is for cc, as hackers recall

      No no no... C is for cookie, that's good enough for me

    66. Re:Dave Lettermans Top 10 by gregm · · Score: 1

      more or less

    67. Re:Dave Lettermans Top 10 by Anonymous Coward · · Score: 0

      I've been using UNIX for only 10 years or so but still, I have to ask the question: why haven't I seen this poem before? It's the cat's pyjamas.

    68. Re:Dave Lettermans Top 10 by draxil · · Score: 1

      Surely..

      grep
      sed
      perl
      find
      xargs

      Should be added unless you really like unnessasery finger excersise?

    69. Re:Dave Lettermans Top 10 by ckaminski · · Score: 1

      I was just introduced to this cfengine thing in another thread. I took a look at it, and I'm interested. Thanks for the tip!

    70. Re:Dave Lettermans Top 10 by Rei · · Score: 1

      I first ran into it thanks to fortune. So, perhaps you never use fortune?

      --
      Very well; let this abomination unto the Lord begin!
    71. Re:Dave Lettermans Top 10 by torpor · · Score: 1

      Its open source, dude. You're completely and utterly missing the point.

      If you don't like the behaviour, simply compile yourself a new binary. Sheesh. Not like thats actually hard, you know ...

      --
      ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
    72. Re:Dave Lettermans Top 10 by ckaminski · · Score: 1

      Why, when more does exactly what I need it to do. :-)

      I was just trolling on about everyone's obsession with less when more (contemporary versions anyway) is just as capable. More on a SunOS 5.4 machine sucks, but geez, that's 9 year old software...

    73. Re:Dave Lettermans Top 10 by torpor · · Score: 1

      whatever. there are versions of 'less' which don't do this annoying behaviour. just because you're installing the wrong one doesn't mean you have a right to complain about it!

      or, it does, or something ...

      --
      ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
    74. Re:Dave Lettermans Top 10 by Matt+Perry · · Score: 1
      Yeah, that is a pain. As a workaround, you could add the following alias for set so that it suppresses output of any functions that begin with an underscore, like the bash programmable completion ones do:

      alias set="set|perl -ne 'print unless /^_.* \(\)\s*$/ .. /^}$/'"
      If you end up needed the full output just type "command set" and it'll skip the alias and run the real command.
      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    75. Re:Dave Lettermans Top 10 by Anonymous Coward · · Score: 0
    76. Re:Dave Lettermans Top 10 by dillkvast · · Score: 1

      I can use nohup to start a lengthy process from a remote ssh session, hang up, and check on it later.

      The same can be acomplished using "atd" and secheduelling the job for "now". The advantage is that the output is mailed to you when its done.

      example:
      # echo "tar cf /dev/st0 / " | at now

      I'v often used this to run backups that failed for som reason during the cron task.

      Another tip: If you have access to run at-jobs, but not cron-jobs, jou can make a shell script that rescheduels itself with at when it is executed.

      --
      Scitne aliquis remedium potimum crapulae?
    77. Re:Dave Lettermans Top 10 by latroM · · Score: 1

      Those are GNU, not linux.

    78. Re:Dave Lettermans Top 10 by Progman3K · · Score: 1

      >Really it is good advice less is *much* better than more.

      Of course:

      Less is not More, More is More!
      - Miss Piggy

      --
      I don't know the meaning of the word 'don't' - J
  9. The one true Text Editor! by teamhasnoi · · Score: 1, Troll

    Pico! All bow before it!

    1. Re:The one true Text Editor! by mishan · · Score: 1

      cat is the only "one true" text editor, but emacs is the "one true" text-editing, interactive lisp environment. pico is simply the "one true" piece of crap which doesn't even have a "Goto Line" function; use nano instead.

    2. Re:The one true Text Editor! by alexborges · · Score: 5, Funny

      Vi user 1: KILL THE TROLL

      Vi user 2: Mesmerize this so-called-pico-mesiah

      Slashdot winfiend1: I for one....

      Slashdot winfiend2: Imagine a ....

      Emacs user 1: Damn, the vimers beat us to the hangin!... we cant say kill him, they already did...

      Emacs user 2: Its Gnu-Pic.... oh wait...

      --
      NO SIG
    3. Re:The one true Text Editor! by Le'BottomEh · · Score: 1

      If you are talking about going to a specific line number, it is: Ctrl W T

    4. Re:The one true Text Editor! by Cowculator · · Score: 1

      Try ^W ^T in pico. It looks like a perfectly good "Goto Line" to me...

    5. Re:The one true Text Editor! by It'sYerMam · · Score: 1
      Windows luser: Bah, they all have crazy keyboard shortcuts and no nice pictures... They're all the same. Rock on, notepad!

      *shudder* notepad was the root of all evil.

      --
      im in ur .sig, writin ur memes.
    6. Re:The one true Text Editor! by manWorkSucks · · Score: 1

      I first used pico on VMS on a VAX system at UW-GB (or was it on the shell account at my ISP at the time). either way, simple and easy for a kid who grew up using EDIT in DOS. now i use nano when i ssh into my server since i'm to lazy to learn vi or emacs and run with the big dogs.

      --
      NERDS!!!!
    7. Re:The one true Text Editor! by jdray · · Score: 1

      Windows luser2: Who needs Notepad? Long live regedit!!!

      --
      The Spoon
      Updated 6/28/2011
    8. Re:The one true Text Editor! by I_Love_Pocky! · · Score: 1

      i'm to lazy to learn vi or emacs and run with the big dogs.

      Being lazy is the reason to learn the shortcuts. The time investment is worth it, believe me.

    9. Re:The one true Text Editor! by Anonymous Coward · · Score: 0

      real men hexedit user.dat

    10. Re:The one true Text Editor! by mishan · · Score: 1

      Well pico doesn't seem to advertise it.. nano advertises it right on the front screen as ^_ which seems better than ^W^T .. Need I also mention pico's licensing problems?

    11. Re:The one true Text Editor! by Master+of+Transhuman · · Score: 1

      UNIX luser:

      We don' need no steenkin mnemonics!
      We can mem'rize the fucking phonebook!

      And what's wrong with black and white dumb terminals? Color is for lamers (except green)!

      What's a mouse?

      Lasers? We use CHAIN printers only here!

      --
      Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
    12. Re:The one true Text Editor! by macdaddy · · Score: 1

      Troll? I don't think so. I use it every day. What person in there right mind would use vi or emacs? Both as asininely complicated for even the simplest of tasks. Now I will say that I'm going to pay more attention to nano more. It sounds like a nice hack on pico. I believe in the KISS theory.

  10. Add tool name here - once. by ehack · · Score: 1

    Add a one-liner with the tool name here to create a quick overview.

    --
    This is not a signature.
    1. Re:Add tool name here - once. by AkaXakA · · Score: 2, Interesting

      PHPMyAdmin

  11. Not The FP by jo42 · · Score: 5, Insightful

    man and vi

    Seriously.

    1. Re:Not The FP by Anonymous Coward · · Score: 1, Interesting

      stikeout man and replace it with google.

      No Seriously.

    2. Re:Not The FP by john_anderson_ii · · Score: 1

      I agree.

      --
      Be Safe! Sleep with a Marine. Semper Fi!
    3. Re:Not The FP by Havokmon · · Score: 1
      man and vi

      And apropos - sometimes you need to find out _what _ to 'man', before you can 'vi'.

      --
      "I can't give you a brain, so I'll give you a diploma" - The Great Oz (blatently stolen sig)
  12. Vim and regex by sielwolf · · Score: 3, Insightful

    That's all ya need ;p

    --
    What is music when you despise all sound?
    1. Re:Vim and regex by Anonymous Coward · · Score: 0

      Yeah. After all, what can fdisk & dd do that vim & regex can't?

  13. Doom... by lordbry · · Score: 4, Interesting

    As admin tool.

    http://www.cs.unm.edu/~dlchao/flake/doom/

    1. Re:Doom... by lordbry · · Score: 1

      Perhaps I should have explained myself better...

      Someone took the code for doom and wrote the above mentioned admin tool with doom as the interface.

      Try checking out the link before modding something down.

    2. Re:Doom... by Anonymous Coward · · Score: 0

      Now if someone would port this to Doom3 i could finally explain to my boss why i needed a GForceFX5600 for my workstation :-)

    3. Re:Doom... by Mr.G5 · · Score: 0

      That's actually a really cool idea, but this line just cracks me up:

      "...after I took the screenshot of myself being attacked by csh, csh was shot by friendly fire from behind, possibly by tcsh or xv, and my session was abruptly terminated."

  14. mc by Coneasfast · · Score: 1

    most configuration takes place in config files, in /etc , etc... sometimes you can never find the right tool for configuration, so i just stick to editing them manually

    i like using 'mc' as a good editor and file manager, helps me setup and configure my system very quickly

    --
    Marge, get me your address book, 4 beers, and my conversation hat.
    1. Re:mc by Seabass55 · · Score: 1

      I use mc all the time...definatly up towards top 3.

      centericq
      bitchx :-D
      iptraf
      fwlogwatch for a nice way to parse your iptables logs
      linuxconf - haven't used it for quite some time but it was nice when I did use it
      ntop - another one I haven't used in a while :(

  15. Webmin by Gramie2 · · Score: 1

    I find Webmin indispensable. There are plugins for almost any application/daemon imaginable!

  16. In a word by Camel+Pilot · · Score: 4, Interesting

    "What tools do you use that make your admin responsibilities easier or more automated on the Linux platform"

    Perl is your friend

    1. Re:In a word by geekoid · · Score: 0, Flamebait

      "Perl is your friend"

      yet, most PERL programmers are not.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    2. Re:In a word by kidgenius · · Score: 1

      I prefer to manage my systems instead of writing poetry.

    3. Re:In a word by DoctorHoe · · Score: 1

      Actually "Perl is your friend" is 4 words.

    4. Re:In a word by Anonymous Coward · · Score: 0
      Perl is your friend

      Annnnd, they're off, for another exciting round of perl-vs-python flamewars!

    5. Re:In a word by mike77 · · Score: 4, Funny
      Perl is your friend


      my ass, perl is GOD

      --

      --Keeping the flame wars alive, one post at a time

    6. Re:In a word by Anonymous Coward · · Score: 0
      Perl is your friend

      my ass, perl is GOD

      Jesus is your friend.

    7. Re:In a word by OverlordQ · · Score: 1

      you mean perl v. php-since-php-isnt-just-web-stuff-and-it-even-has- it's-own-tcpstack-in-php-and-even-opengl-in-php war

      --
      Your hair look like poop, Bob! - Wanker.
    8. Re:In a word by duncangough · · Score: 0

      Well, in the continuing absence of Perl 6, 'Perl is your friend' is about all that's left of Perl for now. Which is a massive shame.

    9. Re:In a word by AvantLegion · · Score: 5, Funny
      >> Perl is your friend

      Well it sure doesn't act like it sometimes.

    10. Re:In a word by tomhudson · · Score: 1
      "What tools do you use that make your admin responsibilities easier or more automated on the Linux platform" Who are you calling a tool, Willis?

      Q: So why didn't the original poster who asked the question post his top 10 lest, since he says he has one?

      A #1: Because he doesn't have one

      A #2: Because he doesn't want us to laugh - "you use that POS? Bwahhhahahhahahahahhhaaaa"

      A #3: Becaue he doesn't understand that, for many of us, an editor is the best configuration tool and everything else (all those clicky-on-me buttons) just get in the way of understanding what's really going on.

      And the winner is: Slow News Day!

    11. Re:In a word by Anonymous Coward · · Score: 0
      Perl is your friend

      my ass, perl is GOD

      Your ass is my friend?

    12. Re:In a word by Anonymous Coward · · Score: 0

      You named your ass "Perl"?

    13. Re:In a word by Anonymous Coward · · Score: 0

      Make that: "CPAN is your friend! Perl is GOD" and I'min agreement.

    14. Re:In a word by Anonymous Coward · · Score: 0

      Ah, the Mechanic approach.

      Perl can inject elegance where none was, and can duct tape that which is rattling or loose.

    15. Re:In a word by happyfrogcow · · Score: 1

      even your best friend has to kick your ass occasionally, or -w you of ill doings.

    16. Re:In a word by rastin · · Score: 1

      The power of Perl compels you! Taken from the exorcist or amnity, can't remember anymore!

    17. Re:In a word by BollocksToThis · · Score: 1

      If perl is your friend, then python is your girlfriend's hot cousin.

      --
      This sig is part of your complete breakfast.
    18. Re:In a word by greydmiyu · · Score: 1

      YODA: Code! Yes. A programmer's strength flows from code maintainability. But beware of Perl. Terse syntax... more than one way to do it...default variables. The dark side of code maintainability are they. Easily they flow, quick to join you when code you write. If once you start down the dark path, forever will it dominate your destiny, consume you it will.

      --
      -- Grey d'Miyu, not just another pretty color.
    19. Re:In a word by Simon+Brooke · · Score: 0, Troll
      my ass, perl is GOD

      If you think PERL is God, you are an ass.

      --
      --Give a monkey a hand grenade, and sooner or later he will pull the pin.

      Yes, but give a monkey PERL, and he can do serious damage.

      --
      I'm old enough to remember when discussions on Slashdot were well informed.
    20. Re:In a word by rob_au · · Score: 1

      At least Perl doesn't drag you onto the Jerry Springer show to tell you that it's slept with your wife who has been sidelining as a prostitute ...

      (At least that's not what I hope Perl has asked me to go onto the Jerry Springer show with them about ...)

    21. Re:In a word by AELinuxGuy · · Score: 1
      Perl is your friend

      That's what I thought, until I caught him in bed with my girlfriend. Some friend...

    22. Re:In a word by glitch23 · · Score: 1

      I thought geeks on this site denounced God a long time ago?

      --
      this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
    23. Re:In a word by Antique+Geekmeister · · Score: 1

      *Good* perl is your friend. Bad perl is an abomination of S7t7n, written by n00bs to task those who actually have learned to check error results and learned that recursion is not your friend, documentation is for when you are actually writing the code, and one letter variable names are for consultants who want to guarantee a return call to fix what doesn't work anymore and can't be read by anyone else.

    24. Re:In a word by Anonymous Coward · · Score: 0

      YODA: Code! Yes. From code maintainability a programmer's strength flows. But of Perl Terse syntax beware ... to do it more than one way ... default variables. The dark side of code maintainability are they. Easily they flow, quick to join you when code you write. If once down the dark path you start, forever will it dominate your destiny, consume you it will.

    25. Re:In a word by greydmiyu · · Score: 1

      Nice try but, uh, here's the original. You're trying to out-Yoda Yoda? What next, going to bounce around like Kermit the Frog on crack *and* Mt. Dew? ;P

      Yes, a Jedi's strength flows from the Force. But beware of the dark side. Anger, fear, aggression; the dark side of the Force are they. Easily they flow, quick to join you in a fight. If once you start down the dark path, forever will it dominate your destiny, consume you it will, as it did Obi-Wan's apprentice.

      --
      -- Grey d'Miyu, not just another pretty color.
  17. Hmm.. by wbav · · Score: 5, Funny

    Most of the pc's I see are windows, so I'd have to say my most used tool is fdisk.

    Knoppix is a nice solution too when I don't have time.

    --

    =================
    Unix is very user friendly, it's just picky about who its friends are.
    1. Re:Hmm.. by Anonymous Coward · · Score: 0

      Using fdisk is a great start to making a Linux box more easily maintained! What's the next step - are you sticking with Windows 2000, or have you jumped to 2003? :)

    2. Re:Hmm.. by Anonymous Coward · · Score: 0

      And get stuck in the, "fdisk, format, reinstall, doo da, doo da" loop? No. How about a gentoo install optimized for the system I'm installing on.

    3. Re:Hmm.. by Anonymous Coward · · Score: 0

      I thought he was getting out of that loop, and installing Windows. I guess you could try a different Linux distro and get frustrated again before you eventually give up and go to Windows, but why bother? I say just fdisk, and install Windows. It would save a lot of hassle.

    4. Re:Hmm.. by os2fan · · Score: 1
      In my younger days, i used fdisk as a defragger. Works a treat - and great for downloading lots of empty space.Later on, i converted to OS/2, which had a GUI fdsik!

      Mind you, ghost is pretty nifty for fixing machines as well: prolly the unix dd might do it too: just put a new image over the top of the old one!

      I suppose now-a-days, i use partition magic. Does the job just swell.

      fwiw, the Windoze NT version:

      • 4nt
      • regina rexx
      • g32 (semware editor)
      • maintini
      • rar
      • secon32
      • files found in the legacyXP, legacy2K &c
      --
      OS/2 - because choice is a terrible thing to waste.
    5. Re:Hmm.. by TimButterfield · · Score: 1

      and great for downloading lots of empty space

      EmptySpace 3.1.4.1.5.9.2.6.5 was an awesome download, well worth the time. I just wish I could find the url again.

  18. Computer Management.. by bdigit · · Score: 5, Funny

    I use Computer Management. It's located under Administrative Tools in the Control Panel. It's really great for... wait a minute... looks around... wrong site...

    takes a couple steps back...

    1. Re:Computer Management.. by nharmon · · Score: 1

      Bah, computer management sucks. Try Start->Run->MMC.exe

    2. Re:Computer Management.. by Anonymous Coward · · Score: 0

      Yes, this is a forum for Lunix "administrators" to brag about the arcane tools they use to "maintain" their "servers". See the dispute above as to whether cd is more important than ls. Please don't bother us with your luser Windows concerns.

    3. Re:Computer Management.. by SuprChickN · · Score: 1

      Slink away boys, slink away

    4. Re:Computer Management.. by sharkey · · Score: 1

      If you liked MMC.exe, you should try FDISK /MBR

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  19. don't forget by Evanrude · · Score: 1

    aptitude

    --

    ~.Evanrude
  20. Webmin for President :) by ehack · · Score: 1

    Webmin for me :)

    --
    This is not a signature.
  21. Webmin by PhoenixIce · · Score: 1
    The key tool for me (besides manually editing the files) is without a doubt webmin (http://www.webmin.com/).

    -Brint
    http://bekit.net

  22. Has to be said... by Alphanos · · Score: 1, Offtopic

    Portage;).

    (For any who don't know, portage is Gentoo's awesome application distribution system, which makes it very easy to keep software up to date.)

    --
    Alphanos
    1. Re:Has to be said... by Anonymous Coward · · Score: 0

      when it doesn't install a "unistd.h" with syntax errors.

    2. Re:Has to be said... by Stevyn · · Score: 1

      Alright, I'll nitpick in hopes of better karma. Portage just handles the hassle of finding all the dependencies and passes that information to the compiler. Now while this saves a lot of headaches (enough for me to actually go through the time to install gentoo), it doesn't take care of the configuration files. If you get the message saying you need to run "etc-update" then you're left with using a tool that could bork your system. I did that once because I blindly told it to just overwrite all the files. Now most of those files don't mean anything to me so when it asks if I want to apply a change I don't know what it always means.

      I think portage is great, but editing the configuration files can still be tricky and even risky.

  23. Make your life easier... by MadWicKdWire · · Score: 2, Informative

    My at least top 4...

    grep
    gawk
    xargs
    for

    --
    Sig (appended to the end of comments you post, 120 chars)... oops
    1. Re:Make your life easier... by BRSloth · · Score: 1

      xargs is a nice complement for find, IMHO (another nice tool, but not for configuration - unless you have dozen of configuration files that need to changed in the same way).

      To me, my configuration tool is vi(m) (or any other variant, like elvis) [yeah, yeah, I know, Emacs is the only true editor, but it's hard to leave modal editing once you get it]. I can't configure any system without it, even with Pico, Nano and/or Emacs installed. Call me nuts.

    2. Re:Make your life easier... by pclminion · · Score: 1
      xargs has some potentially useful flags like -n, -r, -P but I've never actually had to use those.

      You can universally replace foo | xargs bar with bar $(foo).

      I've never needed xargs for anything...

    3. Re:Make your life easier... by deputydink · · Score: 1


      $ grep test $(find ~/src)
      -bash: /usr/bin/grep: Argument list too long

      thats why I use xargs.

  24. Shouldn't you be asking by MattGWU · · Score: 1, Offtopic

    "What's your favorite text editor?" Seems more accurate, but you definately do not want to re-open that can of worms.

    P.S.: Jed.

    --
    "These people look deep within my soul and assign me a number based on the order in which I joined" --Homer re:
    1. Re:Shouldn't you be asking by kidgenius · · Score: 1, Interesting

      OOwriter :-)

    2. Re:Shouldn't you be asking by geekoid · · Score: 1, Insightful

      there is nothing wrong with that question.
      The real problem is when someone asks:"What is the best text editor?"

      Silly question, cause the answer is edlin.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    3. Re:Shouldn't you be asking by Sivar · · Score: 4, Funny

      "Ed is the standard text editor."

      And ed doesn't waste space on my Timex Sinclair. Just look:

      -rwxr-xr-x 1 root 24 Oct 29 1929 /bin/ed
      -rwxr-xr-t 4 root 1310720 Jan 1 1970 /usr/ucb/vi
      -rwxr-xr-x 1 root 5.89824e37 Oct 22 1990 /usr/bin/emacs

      Of course, on the system *I* administrate, vi is symlinked to ed.
      Emacs has been replaced by a shell script which 1) Generates a syslog
      message at level LOG_EMERG; 2) reduces the user's disk quota by 100K;
      and 3) RUNS ED!!!!!!

      "Ed is the standard text editor."

      Let's look at a typical novice's session with the mighty ed:

      golem$ ed

      ?
      help
      ?
      ?
      ?
      quit
      ?
      exit
      ?
      bye
      ?
      hell o?
      ?
      eat flaming death
      ?
      ^C
      ?
      ^C
      ?
      ^D
      ?

      ---
      Note the consistent user interface and error reportage. Ed is
      generous enough to flag errors, yet prudent enough not to overwhelm
      the novice with verbosity.

      "Ed is the standard text editor."

      Ed, the greatest WYGIWYG editor of all.

      --
      Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra
    4. Re:Shouldn't you be asking by Anonymous Coward · · Score: 0

      Ahhh my favorite sysadmin tool.. a rootkit!

    5. Re:Shouldn't you be asking by Anonymous Coward · · Score: 0

      Normally I dont do this, but since you're at +5 funny already..

      ROTFLMAO!

    6. Re:Shouldn't you be asking by Anonymous Coward · · Score: 0

      ack. That hurt my sides :)

    7. Re:Shouldn't you be asking by Anonymous Coward · · Score: 0

      Oh my god, that has to be one of the best "in" jokes I've ever seen. And worse yet, I remember being that guy...

    8. Re:Shouldn't you be asking by Brent+Nordquist · · Score: 1

      A quote I picked up somewhere -- it's in some of my Perl code, the code that's poorly error-checked ;-)

      Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the numerous idiot lights which plague the modern driver. Rather, if the driver makes any mistake, a giant "?" lights up in the center of the dashboard. "The experienced driver," he says, "will usually know what's wrong."

      --
      Brent J. Nordquist N0BJN
  25. CVS (or insert your favorite alternative here) by -dsr- · · Score: 5, Insightful

    CVS or your favorite equivalent is vital in any multi-sysadmin environment. Operating without your configurations in CVS is like juggling priceless eggs in variable gravity.

  26. Hmmmmm. by eigerface · · Score: 5, Funny


    Emacs! No, vi! No, Arrrrrrgh!

    1. Re:Hmmmmm. by KjetilK · · Score: 1

      GNU/Emacs! KjetilK ducks...

      --
      Employee of Inrupt, Project Release Manager and Community Manager for Solid
    2. Re:Hmmmmm. by Tezkah · · Score: 2, Funny

      You forgot about ed!

      Computer Scientists love ed, not just because it comes first alphabetically, but because it's the standard. Everyone else loves ed because it's ED!

      "Ed is the standard text editor."

      And ed doesn't waste space on my Timex Sinclair. Just look:

      - -rwxr-xr-x 1 root 24 Oct 29 1929 /bin/ed
      - -rwxr-xr-t 4 root 1310720 Jan 1 1970 /usr/ucb/vi
      - -rwxr-xr-x 1 root 5.89824e37 Oct 22 1990 /usr/bin/emacs

      Of course, on the system *I* administrate, vi is symlinked to ed. Emacs has been replaced by a shell script which 1) Generates a syslog
      message at level LOG_EMERG; 2) reduces the user's disk quota by 100K; and 3) RUNS ED!!!!!!

      "Ed is the standard text editor."

      Let's look at a typical novice's session with the mighty ed:

      golem> ed
      ?
      help
      ?
      ?
      ?
      quit
      ?
      exit
      ?
      bye
      ?
      he llo?
      ?
      eat flaming death
      ?
      ^C
      ?
      ^C
      ?
      ^D
      ?

      - ---
      Note the consistent user interface and error reportage. Ed is generous enough to flag errors, yet prudent enough not to overwhelm the novice with verbosity.

      "Ed is the standard text editor."

      Ed, the greatest WYGIWYG editor of all.

      ED IS THE TRUE PATH TO NIRVANA! ED HAS BEEN THE CHOICE OF EDUCATED AND IGNORANT ALIKE FOR CENTURIES! ED WILL NOT CORRUPT YOUR PRECIOUS
      BODILY FLUIDS!! ED IS THE STANDARD TEXT EDITOR! ED MAKES THE SUN SHINE AND THE BIRDS SING AND THE GRASS GREEN!!

      When I use an editor, I don't want eight extra KILOBYTES of worthless help screens and cursor positioning code! I just want an EDitor!! Not a "viitor". Not a "emacsitor". Those aren't even WORDS!!!! ED! ED! ED IS THE STANDARD!!!
      TEXT EDITOR.

      When IBM, in its ever-present omnipotence, needed to base their "edlin" on a UNIX standard, did they mimic vi? No. Emacs? Surely you jest. They chose the most karmic editor of all. The standard.

      Ed is for those who can *remember* what they are working on. If you are an idiot, you should use Emacs. If you are an Emacs, you should not be vi. If you use ED, you are on THE PATH TO REDEMPTION. THE SO-CALLED "VISUAL" EDITORS HAVE BEEN PLACED HERE BY ED TO TEMPT THE FAITHLESS. DO NOT GIVE IN!!! THE MIGHTY ED HAS SPOKEN!!!

      ?

    3. Re:Hmmmmm. by DarkHelmet · · Score: 5, Funny

      Pico: A choice that will piss both sides off equally.

      --
      /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
    4. Re:Hmmmmm. by Skald · · Score: 5, Funny
      Emacs! No, vi! No, Arrrrrrgh!
      While Emacs may be your Top Ten Configuration Tools, I'm pretty sure Vi only counts as one. :-)
      --

      "The best we can hope for concerning the people at large is that they be properly armed." - Alexander Hamilton

    5. Re:Hmmmmm. by override11 · · Score: 4, Funny

      Ed is teh suck, Notepad rules!

      N073P@D OWNZ JOO!

      --
      No I didnt spell check this post...
    6. Re:Hmmmmm. by Anonymous Coward · · Score: 0

      And since the OS is internal to emacs I'm not sure you could even fairly count it in this argument.

      vi wins again, h0h0!

    7. Re:Hmmmmm. by NinjaPablo · · Score: 1

      I am Ed. Ed uses ED. Ed is pleased with ED. (not really, I'm actually Jim, and I'm a bastard child who uses Bluefish)

      --
      SmashTech - No smashing of tech involved
    8. Re:Hmmmmm. by Anonymous Coward · · Score: 0

      Only stupid people use pico. You obviously don't know what a real text editor is capable of.

    9. Re:Hmmmmm. by hawaiian717 · · Score: 5, Funny
      You obviously don't know what a real text editor is capable of.

      Editing text files?

      --
      End of Line.
    10. Re:Hmmmmm. by sploxx · · Score: 1

      Hey, that's amazing, a post in a _VI vs EMACS_ discussion (!!) which is both funny and well-balanced!

      Kudos to you!

    11. Re:Hmmmmm. by Anonymous Coward · · Score: 0

      luser$ Arrrrrrgh!
      bash: Arrrrrrgh!: command not found
      luser$

      oh and BTW:

      luser$ Emacs
      bash: Emacs: command not found
      luser$

      did you mean "emacs"?

    12. Re:Hmmmmm. by r11132a · · Score: 1

      Arrrrrrgh --

      The new editor that combines both emacs and vi,
      giving you the worst of both worlds!

      Oh wait, that's pico...

    13. Re:Hmmmmm. by alvint · · Score: 1

      Skald wrote:
      >
      >While Emacs may be your Top Ten Configuration Tools, I'm pretty sure Vi only counts as one. :-)
      >

      you dolt! VI counts as 6!

  27. CSSH by olympus_coder · · Score: 2, Interesting

    Run all the servers (or lab gentoo boxes) at once. Great for mass updates,testing, etc.

    Source Forge Page

    --
    Spell check? Why bother. That is what grammer/spelling Nazi freaks who waiste band width posting "spell right" are for.
  28. List is here... by ReluctantBadger · · Score: 1, Funny

    Surprisingly, Microsoft give a list of Linux support tools for use with their "Services For UNIX" software.

  29. grep -sir foobar /etc/rc.d by redelm · · Score: 1
    What else could you want? I sup[pose you could pipe the found filenames into `vim` and get it to open on the regex.

  30. Tripwire by nharmon · · Score: 5, Informative

    Tripwire is a very easy to use intrustion detection system. If you follow the documentation, and implement it properly (storing the statically linked binary + database files on read-only media), it will make things very hard on a potential hacker.

    1. Re:Tripwire by Nicholas+Evans · · Score: 1

      And of course, making things hard on the poor hackers is a great thing. I mean, we don't want hackers writing great code, do we?

      I *think* you mean cracker. ;)

    2. Re:Tripwire by wwest4 · · Score: 1

      also makes it easy to prove when some dolt changed something without notifying anybody. i've found stuff with changed mtimes but different md5 sums that solved aan otherwise inexplicably isolated failure.

    3. Re:Tripwire by nharmon · · Score: 1

      I'm sorry, my Webster dictionary defines a hacker as "a person who illegally gains access to and sometimes tampers with information in a computer system."

      At what point do I trust your definition of the world?

    4. Re:Tripwire by Anonymous Coward · · Score: 0

      Webster is an idiot. Webster has been brainwashed by the media.

    5. Re:Tripwire by challahc · · Score: 2, Interesting

      AIDE is good too. I think tripwire is only open source if you get the academic source release. AIDE is open source.

      --
      01100010 01101001 01110100 01100101 00100000 01101101 01100101
    6. Re:Tripwire by EvilAlien · · Score: 2, Informative
      Tripwire != IDS

      Tripwire is a file integrity auditing tool to ensure that files that should remain static do in fact remain static.

      I would have to say that the top of any config tool list will have to be $favoritetexteditor. Each distribution is going to have a number of tools, both text and GUI, but the text editior rules *NIX when it comes down to indispensible configuration tools. Webwin deserves to be on the list just because it is a non-distro specific config tool... I personally don't use it, but lots of people do.

      Otherwise, toss YaST, redhat/fedora-config-foo, drakfoo, etc-update, and so on to the list.

      If the list was to be extended beyond Linux, the AIX people out there would probable love to see smitty on there.

      --
      perl -e 'print $i=pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10)'
    7. Re:Tripwire by Anonymous Coward · · Score: 0

      Mod parent down! This is for *multiple* computers?

      Samhain and Yule are the only way to go. Centralized file integrity with a web interface.

      http://la-samhna.de/samhain/

    8. Re:Tripwire by More+Trouble · · Score: 1

      The Trouble with Tripwire is that you can't tell whether the reports reflect work done by sysadmins or hackers. Radmind is the cure for this issue. Not only does it differentiate between patches & hackers, but you can use it to actually deploy the patches (or other software).

      :w

    9. Re:Tripwire by wasme · · Score: 1

      Tripwire for Linux is under the GPL. Versions for other unixes are not. (Of course there's nothing to stop people from porting the GPL'd version to other OS's, but the commercial and GPL'ed version have diverged somewhat since the initial release.)

  31. /bin/bash by llywelynelysium · · Score: 5, Insightful

    What good are all your commands with no shell? ? ?

    --
    Llywelyn Fawr
    1. Re:/bin/bash by Will2k_is_here · · Score: 1

      Agreed. Further, the most useful program is a personalized shell script.

    2. Re:/bin/bash by Anonymous Coward · · Score: 0

      /usr/bin/emacs is my shell

    3. Re:/bin/bash by the+unbeliever · · Score: 1

      Please go into more detail?

      I am intrigued by this idea, and would like to subscribe to your newsletter.

  32. BIND by TheRealMindChild · · Score: 2, Interesting

    I would really love a nice BIND configuration utility. Something where a whole package like webmin isnt necessary, but it makes life a whole lot easier. Redhats bindconf/redhat-bind-config was nice once upon a time, but getting it to run on anything but redhat requires about 2 gigs worth of obscure dependancies... I want something I can throw on say, a slackware machine, and it just go.

    Even better would be something that also tied into dhcpd (these are the ISC daemons Im talking about, folks), that would serve to configuring them both, even on working together in a ddns/dhcp setup.

    --

    "When life gives you lemons, don't make lemonade. Make life take the lemons back!" -- Cave Johnson
    1. Re:BIND by ldspartan · · Score: 1

      *cough*screwitandusdjbdns*cough*

  33. Bastille and Chkrootkit by Anonymous Coward · · Score: 0

    The Bastille project can be a bit of a pain to install sometimes (usually when I'm tired and not reading :) but it does help tighten up a server in a hurry. It's not complete or all encompasing but it does the easy (and tedious) things fast.

    chkrootkit is nice for maintenance provided you don't leave it installed in a manner that can be trojaned. It's not fool-proof either, but can detect the script kiddies in a lot of cases.

  34. Cfengine: It's all you need by kognate · · Score: 5, Informative

    cfengine (http://www.cfengine.org) is
    the best automation tool for unix and unix-like
    environments. Hands down.

    It's a little hard to configure sometimes, but
    worth the effort.

    1. Re:Cfengine: It's all you need by brysnot · · Score: 1

      I thought you said "caffiene".

      Well.. maybe.

    2. Re:Cfengine: It's all you need by Anonymous Coward · · Score: 0
      cfengine's documentation is great! The tutorial is the parts that change, and the reference is the parts that don't change! Isn't that fantastic?!

      I worked at the physics department of a major university and we used it to maintain lots of things; any changes had to be made very, very carefully, since things were so fragile. It could be that the original scripts were something like 6 years old, and had passed through four maintainers. It could have been, but looking at the syntax of the language, I tend to believe it's just due to the fundamentally half-assed nature of cfengine itself.

    3. Re:Cfengine: It's all you need by swopinion · · Score: 1

      Yes - cfengine - it almost makes your systems configure themselves.

    4. Re:Cfengine: It's all you need by Anonymous Coward · · Score: 0

      I have to believe that it's actually the fact you're an utter idiot.
      Seriously, cfengine works fine for hundreds of machines here. It's syntax isn't perfect, I guess, but neither is it exactly difficult...

    5. Re:Cfengine: It's all you need by dannyrap · · Score: 2, Informative

      I wholeheartedly agree. A combination of cfengine and cvs makes maintaining hordes of systems SO much easier. You can start thinking of a server in terms of +cvsserver +dnsserver +mailclient +kerberosclient and know that the right sets of configuration files will get on each machine. It is a steep learning curve to get it going. You'll have to pretty much lock yourself in the server room for a couple of days. But you'll gain the time back easily within a couple of months.

      We use this in combination with OS autoinstallation scripts to deploy new servers really quickly. Autoinstall to get a base OS on. A few minutes to get hostname/IP right. Cfengine to blast the right packages and config files. Voila...working dns server, or web server, etc.

      Danny

    6. Re:Cfengine: It's all you need by More+Trouble · · Score: 1

      cfengine is the best automation tool for unix and unix-like environments. Hands down. It's a little hard to configure sometimes, but worth the effort.

      cfengine is a reasonable framework for writing scripts, not so powerful as say perl. It's like saying "Unix is the best automation tool for Unix." A true statement, but not really adding much to the conversation.

      :w

  35. Re:Interesting, but... by Anonymous Coward · · Score: 0
  36. Tim. by geekoid · · Score: 5, Funny

    It's easy to use, I just pick up the phone, ask Tim to fix this Linux thing.
    Easy-peasy.
    Or I just do what Vigor tells me to do.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    1. Re:Tim. by Keeper_to_late · · Score: 1

      This made my day :)

  37. RCS and Bastille-Linux by mrhandstand · · Score: 3, Interesting

    Bastille after I have the server built. The interactive mode also provides a great security tutorial.

    RCS to provide rollback and change control.

    No professionally administered Linux box should be without it.

    --
    Always value the individual over the system. --Bruce Lee "I don't need a Sig - I have a custom 191" - me
    1. Re:RCS and Bastille-Linux by bhsurfer · · Score: 1

      Interesting (coincidental) comment, considering that it's Bastille Day...

      --
      Those are my principles, and if you don't like them... well, I have others.
      Groucho Marx
    2. Re:RCS and Bastille-Linux by brarrr · · Score: 1

      so convenient that you post this on bastille day.

      should make for exciting tour coverage (don't tell me, I'm going to watch it at 8 PST)

      --
      to email me: take my /. handle and append .net preceded by charter.
    3. Re:RCS and Bastille-Linux by Anonymous Coward · · Score: 0

      The ONLY time I have ever had one of my boxes rooted was when I decided to "up"grade a mandrake server from 7.2 to 8.1 then ran bastille to harden it up a little. Since then I have been in the habit of using Debian on alpha with my own ipfilter rules for anything that is externally visible, and I haven't been hacked since.

  38. TweakUI by Anonymous Coward · · Score: 0

    TweakUI, I use it all the time!

  39. Hey, I could have started with, "One word: EMACS" by Ayanami+Rei · · Score: 1, Interesting

    :D
    But that's would be too easy. Seriously, I had to tell the truth (nano is awesome, so is vim, but then so is nano).
    And I don't think anyone can fill a top ten list with configuration tools... people use rarely more than one, if any. I know I don't.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  40. I've been using Ruby for little utilities... by tcopeland · · Score: 2, Interesting

    ...to help maintain various GForge systems.

    Nothing fancy, just twiddling configuration files (httpd.conf, etc), pushing data into a PostgreSQL database, automating StatCVS runs, etc. I keep them in CVS, of course, here.

  41. ifconfig by hal2814 · · Score: 1

    ifconfig

    Getting a working TCP/IP connection is typically the first step in properly configuring my systems. ifconfig is also handy when figuring out network configuration errors.

  42. Tools by abrotman · · Score: 1

    apt-get(debconf),vi,ssh

    Need I say more?

  43. Several points of view.... by gmuslera · · Score: 4, Insightful

    ... the most important tool is the brain :) As an admin, whatever you do, if you don't think enough on it you deserve what could happen.

    As "admin suite", i.e. a single program to do a lot of administrative tasks, maybe YaST could be a good start. I'm not use webmin, tried it some years ago and don't liked the idea, but could be useful for a lot of people too.

    And about individual tools, well, bash, vi, perl, mc, awk, the gnu text/file/shell utilities (cat, grep, ls, cut, chmod, etc) are essential.

    Last but not least, a "tool" is also something that help you to use what you have available already. Man pages, the HOWTO collection, a lot of O'Reilly books, and Google are examples of that kind of tools.

    1. Re:Several points of view.... by ViolentGreen · · Score: 1

      As "admin suite", i.e. a single program to do a lot of administrative tasks, maybe YaST could be a good start.

      Well the problem here is that if he is presenting at a confrence, he can't assume that everyone is running SUSE.

      --
      Not everything is analogous to cars. Car analogies rarely work.
    2. Re:Several points of view.... by zurab · · Score: 1

      Hopefully other distros will start using and improving YaST - it's an extremely valuable tool that used to be SUSE's exclusive advantage; hopefully, not anymore in the future.

  44. FLAMEBAIT? What the hell... by Ayanami+Rei · · Score: 1

    I wasn't kidding (personally).

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:FLAMEBAIT? What the hell... by Anonymous Coward · · Score: 0

      It's flamebait because only stupid people use nano and pico. They're the MS edit.com's of the UNIX world.

    2. Re:FLAMEBAIT? What the hell... by Anonymous Coward · · Score: 0

      VI is not for mortals. When you've seen a GOD-MAN make 7 changes in a file in less than 3 seconds, all while checking out the ass on that cute little secretary down the hall, you'll know what--and whom--VI was meant for!

    3. Re:FLAMEBAIT? What the hell... by JWSmythe · · Score: 1


      vi isn't really very hard. I usually write down a cheat sheet for newbies, that consists of the commands I usually use.

      i o x dd :wq :%s/old/new/g

      People look at me like I'm nuts when I'll fluidly zip through files like they're nothing. For example, to change networks that a machine is on (like for a new install)

      cd /usr/local/bin
      vi rc.inet1 :%s/1.2.3/1.2.6/g :%s/999/7/g :wq!

      vi /etc/HOSTNAME
      dd
      i new.hostname.tld :wq!

      passwd
      newpass
      newpass

      shutdown -r now

      It usually takes longer for me to tell them the IP and password for their server than it did for me to configure it.

      Half the time, I'm talking to someone while I'm doing it. But I guess kids of the hunt&peck school of typing may have a harder time of that.

      It's not rocket science, it's a few keystokes in a very basic (and powerful) text editor. Installations with elvis linked to vi still throw me, it doesn't take the commands as fast as I type them. I prefer vim. But hey, if all people know how to do is point&click on colorful icons, let 'em keep using Windows, and take twice as long doing changes.

      --
      Serious? Seriousness is well above my pay grade.
  45. sudo, screen by raddan · · Score: 3, Informative

    sudo!

    Learn it in detail. If you work with other people on the same machine, it will make your life a lot easier.

    screen is pretty handy, too. Being able to detach sessions is also nice for when you've started sprouting icycles from your nostrils from the cold, cold server room.

    1. Re:sudo, screen by drinkypoo · · Score: 1

      What screen is really good for, besides running interactive processes as daemons, is running your compiles or other lengthy interactive processes in a screen, so when your xterm blows up, your build keeps building.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:sudo, screen by ParallelJoe · · Score: 1

      Sudo is great. Especially when it isn't set up correctly.
      sudo vi junk
      :sh
      then do whatever you need to.

  46. admin tools by wwest4 · · Score: 1

    for monitoring/paging and secure intersite data exchange:

    fetchmail (say what you want, it works for what i do)
    nc
    gpg
    base64
    curl and wget
    good old cron, or self-referencing shell scripts

    these tools can get you alot, using only SMTP as a transfer protocol. avoid asking the NOC to turn the firewall into swiss cheese.

    free shell if you want it...

  47. It also has to be said... by hndrcks · · Score: 2, Insightful

    ...when you have portaged the very latest version and compiled it from source for your processor and architecture... it still isn't configured.

    ...which I believe is what this poll is about. Top Ten Configuration Tools.

    --
    Everyone will start to cheer when you put on your sailin' shoes.
    1. Re:It also has to be said... by Anonymous Coward · · Score: 0

      Sometimes you are right, but most often, once portage has done it's magic it all works.

      Sometimes you are told to update your config files using etc-config which allows you to merge old files with new ones or simply replace old files.

      So I guess my top ten are:

      emerge
      etc-update
      vi
      webmin
      hmmm I don't think I use any more :)

    2. Re:It also has to be said... by stratjakt · · Score: 0

      emerge doesnt save the world or do anything much more than script wget, ./configure, make, and make install for you.

      I still can't get any sound out of my KDE desktop as a normal user account (member of the audio group) no matter what permissions I set on what devices. The same user can play sound at the console "ie; aplay testsounds.wav"

      I dunno, some configuration bullshit with one of the 900 million components set up to do something simple (play sounds). ALSA, arts, kde, x, who the fuck knows it could be something in /etc/openldap/slapd.conf messing it all up.

      Linux is completely infuriating because of issues like this. (Hint; normal mom-n-pop users kind of expect sound). People bitch about MS's insecurity, how secure is my gentoo box that I need to run as root to make it play an mp3?

      Bah.

      In three days I'll try to fix it. Three days is how long it'll take "emerge openoffice" to complete.

      No, emerge is most certainly not "all that".

      --
      I don't need no instructions to know how to rock!!!!
    3. Re:It also has to be said... by Anonymous Coward · · Score: 0

      Since the OP just had to mention Gentoo's Portage, it should be noted that Debian's apt-get accomplishes nearly the same thing AND ties packages to their configuration (via a whiptail interface).

    4. Re:It also has to be said... by LodCrappo · · Score: 1

      why the fsck would a "mom-n-pop" user be running gentoo??? pop a knoppix cd in, i bet you have sound in less than a minute (just boot and play). install xandros, you'll very likely have sound and a much easier to use enviroment, one intended for those who cannot or will not figure out how to configure things like sound for themselves. if you use a distro designed for more advanced users, don't expect hold your hand features..

      --
      -Lod
    5. Re:It also has to be said... by stratjakt · · Score: 1

      But, gentoo zealots constantly extole emerge as the greatest of all "hold your hand" features, which was the point I was trying to refute.

      --
      I don't need no instructions to know how to rock!!!!
  48. My Top 10: by Punk+Walrus · · Score: 4, Informative
    Your needs may vary...
    • vi - Yeah, yeah... vi and emacs wars. I started with vi on a Sun system in 1989, and so it's what I like.
    • ifconfig - Without it, you're kind of lost, at least on the network.
    • testparm - I use a lot of Samba at work, and this is a great tool for checking what I screwed up in my smb.conf in vi!
    • man -k - Okay, what I want to do starts with...?
    • grep - Great trying to find that paramenter you want to change in httpd. or squid.conf. Even better, "grep -v '#'" to weed out all those comments...
    • tail -f - Great for keeping track of logs realtime in a vtty or xterm window. Like tail -f /var/log/messages
    • crontab -e - For keeping stuff on schedule.

    That's all I can think of now. I'll think of others later.

    1. Re:My Top 10: by Anonymous Coward · · Score: 0

      Oh, thanks so much for teaching us all what all those commands do.

    2. Re:My Top 10: by pseudochaotic · · Score: 1

      grep -v "^#" would work better for filtering comments. (Only filters the lines that start with #.)

      --
      And the l33t shall inherit the 34r7h.
    3. Re:My Top 10: by marcell · · Score: 1

      > tail -f - Great for keeping track of logs realtime in a vtty or xterm window. Like tail -f /var/log/messages

      or more fancy + still cool:

      # tail -f /var/log/*/* | ccze -A

      ccze

    4. Re:My Top 10: by Reteo+Varala · · Score: 1

      You forgot apropos... after all, how else will you know which 42 commands allows you to screw your system up?

  49. Dang! by itwerx · · Score: 5, Informative

    I can't believe with all these posts that the only one(s) that actually respond to the question are about Webmin!
    Don't get me wrong, Webmin is great, it's at the top of my list fer shure, but that's not the be-all and end-all of systems management!! What about actual convenient tools like MRTG, Novell's eDirectory, RedCarpet, etc. etc.?
    Heck, I'm reading this article hoping to pick up a few tips myself and all I'm seeing are scripting languages and text-editor flame wars, (all of which can/should be moderated Off-topic or Funny).
    So, anybody actually got anything useful to contribute besides Webmin?

    1. Re:Dang! by Anonymous Coward · · Score: 0

      LART -- best user management tool EVAR!

    2. Re:Dang! by lspd · · Score: 3, Informative

      Don't get me wrong, Webmin is great, it's at the top of my list fer shure, but that's not the be-all and end-all of systems management!! What about actual convenient tools like MRTG, Novell's eDirectory, RedCarpet, etc. etc.?

      Huh? I'm not that familiar with eDirectory or RedCarpet, but MRTG isn't an all in one configuration interface like webmin. I though the only webmin alternatives were commercial products like:

      Ensim
      Plesk
      Cpanel

      Are there free software uber-configuration products other than Webmin? I tend to stick to the command line over ssh myself.

    3. Re:Dang! by Anonymous Coward · · Score: 2, Informative

      Here are some very good tools IMHO.

      nagios - monitor remote server, setup notifications via email, pager, etc. Comes with many plugins to monitor specific thins like disk usage or ports.

      ganglia - sort of like mrtg geared towards clusters.
      Very easy to setup but requires multicast communication between nodes.
      You can see one here
      http://wulf.chem.valdosta.edu:8000/ganglia/

      Kerberos and OpenLDAP - if you ever need to maintain a large number of machines sharing common authentication. Kerberos enabled SSH is a great way to avoid typing passwords or sharing key for passwordless authentication.

      Systemimager - if you have many machine sharing common configuration (like corporate network or server farm) this is absolutely a must. Very easy to configure and use. Images that systemimager create can be chrooted to just like regular systems. Creating image, updating image, updating machines is very easy and fast.

      Finally Debian is the best tool (and a distro) for maintaining a stable, reliable Linux system that does not get in your way like YAST or other "candy " tools. While Debian is a bit harder to get used to then GUI-centric distros like Fedora and SuSe, the benefit of learning Debian is great if you are serious about Linux.

    4. Re:Dang! by ahaning · · Score: 2, Informative

      nmap
      ethereal/tcpdump
      I've also heard that nessus is nice to use.
      And, I've just remembered, google.

      But, really, it doesn't seem like it would be easy to have a Linux Sysadmin's Toolkit CD where you could run programs on a live system (rather than boot into another one like with Knoppix) due to the different systems out there using different distros with different file tree structures and different versions of [g]libc.

      Also, most of the tools are so simplistic that it's hardly worth mentioning them. Need to reset a root password and you don't know the current one? Mount the filesystem and edit /etc/shadow. Most things are done using simple tools, rather than complicated applications.

      Also, FWIW, screen is likely very useful to many admins. I just find it useful for keeping terminals available without cluttering up my desktop. An added benefit is that I can ssh in from elsewhere and work with them from there, too. I've wanted for a while to fiddle with ratpoison to get a similar effect for X programs.

      --
      Withdrawal before climax is very ineffective and those who try this are usually called "parents."
    5. Re:Dang! by kfg · · Score: 1

      So, anybody actually got anything useful to contribute besides Webmin?

      Well, I'd like to help out, but vim really is my primary configuration tool, and I believe, after going back and reading the question a few more times, that that actually does answer it.

      KFG

    6. Re:Dang! by itwerx · · Score: 1

      ...most of the tools are so simplistic that it's hardly worth mentioning them...
      This is very true.
      However, as the original article author (and myself) are all too aware, it takes many manhours to write enough scripts and set up enough of an interface for the average Helpdesk Droid (who knows crap-all about Linux) to be able to do anything useful. Similarly, I have found that it's very nice to find things that other, possibly even more knowledgeable, people have already thoroughly tested in a large-scale production environment.

    7. Re:Dang! by trashme · · Score: 1
      Well, I'd like to help out, but vim really is my primary configuration tool, and I believe, after going back and reading the question a few more times, that that actually does answer it.
      Well, it's a silly answer. It's very well known that you can configure a *n*x system by editing the config files with a text editor of your choice.

      What value does this answer add to the discussion? Esecially since so many before you have given the same answer.
    8. Re:Dang! by jcam2 · · Score: 1

      Webmin is really on a different level from other tools - it is designed for the non-expert admin, so that you don't have to remember commands and config file formats.
      For an experience admin managing multiple servers, Webmin may not be the best solution. Instead, tools like rsync, ssh and CVS are invaluable ..

    9. Re:Dang! by Dalcius · · Score: 1

      Depending on your environment, often it helps to only use vi for administration.

      Let me throw this at you folks: the reason most people use tools like webmin is to get to the heart of configuration and skip the cruft and confusing parts of configs, correct? To pull all the important parts together in one organized place.

      I think that for many ground-up distros, vi *is* the best tool. I hope I don't read like a zealot here; this is my honest observation.

      To explain what I'm getting at, compare Gentoo to Red Hat. In my experience with Red Hat, I always felt like I didn't know *exactly* what was going on. Any time I made a change without a GUI I felt like I missed a script or config file somewhere along the way. When I was running Red Hat, I used Webmin for just this reason.

      However, with Gentoo, the system is a little cleaner and you're also forced to get nitty-gritty and learn things in the process. There is more to learn, but the boundaries are more clearly defined. When you want to configure something, there isn't any hesitation about whether webmin is up to date or problems when webmin doesn't support a directive you want to tweak. You already know where the directive is and you go right to it. This also makes troubleshooting easier.

      This whole thing also brings up the debate between GUI and CLI. GUIs have to be programmed (in addition to the underlying application) and maintained, meaning they're generally not all-encompassing (lacking support for some directives) and occasionally not up to date. With a CLI editor, you have access to the full power of a configuration file. It's easy for a project to add a key=value configuration directive to a new version and you have immediate access.

      I think it will work differently for different people. Some people today prefer a more abstract but complex environment (Windows) and some people prefer a more clean-cut and hands-on environment (Linux). As Linux matures, what some would call needless complexity and abstraction will be added and the Windows-type administrators who move to Linux will just use the abstracted GUIs.

      I think the whole Linux/Windows debate is quite applicable to the CLI/GUI debate.

      Cheers

      --
      ~Dalcius
      Rome wasn't burnt in a day.
    10. Re:Dang! by kfg · · Score: 1

      What value does this answer add to the discussion? Esecially since so many before you have given the same answer.

      Only that so many give that same answer I suppose.

      KFG

    11. Re:Dang! by trashme · · Score: 1

      Well, the question is how to automate or make administration easier. Answering "I use vi!" is off-topic, it does neither.

    12. Re:Dang! by kfg · · Score: 1

      And regexp.

      Mind you I wasn't answering the question directly in the first place, but responding to your repsonse to the reponses, which is something rather different.

      KFG

    13. Re:Dang! by bobaferret · · Score: 1

      synaptic as a replacement for redcarpet since redcarpet can't seem to keep up with new distro releases very well.

      I like the Idea of CVS, never really thought about that before.

      nessus for network security

      ethereal/tcpdump for network problem solving

      etherape and iptraf from network monitoring

      mondo and amanda for backup and rescue

      Rav for antivirus (need a new one for this though)

      and every once in a while I find myself useing the redhat-config-X programs for general stuff. I belive some of them are cross distro.

      finally Linuxconf used to be one of my favorites. Makes setting up sendmail and everything elkse a snap. Came with neat little scripts to populate your dns from you dhcp leases file etc.

    14. Re:Dang! by sgtrock · · Score: 1

      Going off topic more than a bit here, so skip this if you're not interested in how choice of distros can affect sysadmin pain.

      While I'm a huge fan of Gentoo, I have been forced to concede to myself that the people who create ebuilds do have one very annoying habit. They constantly change where stuff is located from where the original authors intended. I wouldn't mind so much if they limited this activity to just user space apps, but when I find that they have deliberately deviated from basic things like rc.d, well, let's just say I get unhappy.

      Anyone maintaining a mixed environment (and who isn't these days?) knows that minimizing differences to just those that really count is A Good Thing (tm). IMO Gentoo's developers' insistence on doing things their own way just because they can makes Gentoo a poor choice for adoption in a large, mixed environment.

      It's too bad, too. I REALLY like portage. I've built up both of my home PCs with Gentoo and am very happy with the stability and speed. Both are noticeably faster than my Mandrake installs on those two boxes were, and I no longer have to rebuild from scratch every six months to avoid wierdnesses! W00t! :)

      I'm also debating putting up a home server with either Gentoo or Debian. My work laptop runs Debian. Any work recommendation would be for Suse, Redhat, or Debian, though, not Gentoo. At least those distros are actively striving to meet LSB compliance.

    15. Re:Dang! by trashme · · Score: 1

      Actually no, the original post was not by me. I just happened to be another person what got tired of everyone answering with 'vi!'.

      I'm not saying you are wrong because vi is your main config tool. It just has no place in this discussion. So many people answering with vi and the like doesn't answer the question and makes it difficult to filter out any useful answers.

  50. Linux Specific by jasoncc · · Score: 1

    These are 10 of my most commonly used utilities... iptables netstat top find ps ifconfig bash diff who cron

  51. Cluster SSH (the gui version)... by olympus_coder · · Score: 1

    Lets you open a set of terminals and input the same to all in an interactive manner. Extremly handy on farms, clusters and labs.

    Cluster SSH

    --
    Spell check? Why bother. That is what grammer/spelling Nazi freaks who waiste band width posting "spell right" are for.
  52. Lets see... by slimyrubber · · Score: 1

    In no random order.. Webmin/usermin linuxconf netconf cfengine Saint Nessus vim :) make menuconfig (cause my knowledge is failing me) 2 more :-/ COAS Yast

    --
    [ I can not bring myself to believe that if knowledge presents danger, the solution is ignorance ] -- Isaac Asimov
  53. sme server by coolguy81 · · Score: 1

    I would suggest checking out SME Server. Although it a complete OS rather than a config tool, it has a really simple web interface that can be used to administer the most common tasks of the server. Almost any non-linux user can have a stable web/intranet/mail/ftp server in a fraction of the time and there is almost no learning required :)

  54. The coolest tool: by john_anderson_ii · · Score: 1

    screen Start a process, detach the process from you tty, log out, goof around, go to work, login remotely, reattach said process to your pty. Very useful.

    --
    Be Safe! Sleep with a Marine. Semper Fi!
  55. google's getupdates by bogolisk · · Score: 1

    http://www.computerworld.com.au/index.php/id;13062 81842;fp;16;fpid;0

    it's good for google's giant farm, it should be good for any lab.

    --
    Bogus
  56. bash/sed/awk by Mateito · · Score: 1

    Yeah... I never learned perl, so sue me :) Almost anything that needs to be done more than once can be done via: for i in `cat list.txt` do # something funky with awk and sed done

  57. Same as other UNIX servers by br00tus · · Score: 1
    I do the same thing on Linux servers that I do on most UNIX servers.

    The first thing I do is security - if any programs are running on any ports that I don't need, I shut it down. The only port open will be ssh, plus whatever the server is doing. I also unSUID any SUID programs I don't plan on using. Plus getting security updates.

    Then I get programs I like to have on my servers if they're not there already. Like ntp, which I set up so that the clock will not drift. GNU findutils is another one - I run updatedb regularly and can locate filename, which is much quicker than find / -name filename. I also like the screen program, so I can have multiple sessions from one terminal. I like to use BASH.

    I also do customizations - my shell prompt is usually hostname:/file/system$ I put PATHs I need in my PATH. And so forth.

    Another thing I do on many systems is log at debug according to facility for syslog. Everything gets logged, according to its facility. If too much is being logged, I can lower it from debug. You usually don't have to, as only mail usually fills it up, but you usually want to log that.

    All of this makes my life easier. I am logged into a host and know if I am me or root, what host it is, what directory I am in, where a file is located if I need to know, and the clock and all of the log files are logged normally. And with screen I can have multiple sessions on that host or multiple hosts in that one window.

  58. One acronym.. by slayer99 · · Score: 0, Offtopic

    apt

    --
    Martin Brooks / Slayer99 #linux / UIN 2178117
  59. my top 10 by geekoid · · Score: 1

    vi

    man

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  60. Re:CVS (or insert your favorite alternative here) by hackstraw · · Score: 4, Informative

    Also, it kills me to see *NIX people still using passwords all the damn time. CVS + ssh keys = godlike.

    Things I do. syslog to a common place. I have cloning scripts to dup a machine to a basic setup (poor mans jumpstart but faster and easier).

    Perl and sed come in handy. Rsync (again with ssh keys) is good.

    Oh yeah, /usr/local over nfs is good too. The only issue is that you may have to configure some packages to use a local filesystem for configuration files, keys, etc.

    With these tips and tricks I can do whatever I need to do over a dialup connection anywhere in the world (I've only tested this from coast to coast in the US thought, but I believe it will scale worlwide :)

  61. The ultimate server admin tool by lspd · · Score: 2, Interesting

    netstat -nlp

    Turn off all the services you don't need.

  62. There's lots. by drunkennewfiemidget · · Score: 1

    Powertweak, which provides basically a user interface for lots of fun /proc entries that most of us would have never otherwise taken the time to play with. Webmin is pretty damned useful. But the vast majority of all system maintenance comes by way of bash, perl, cron, and mysql. ALL of my configuration files are in a MySQL db that's rewritten every 5 minutes if the 'dirty' flag is set to 'y'. Extremely useful for writing your own front-ends for system configuration.

  63. sed by dtfinch · · Score: 1

    sed leaves vi in the dust in terms of ease of use.

  64. My Answer by nealfunkbass · · Score: 0

    My main computer tool is AOL (so that I can download the internet onto my hard drive)

    --
    - Donny was a good bowler, and a good man.
  65. My 10 by thenextpresident · · Score: 2, Informative

    vim
    sudo
    apt-get
    wget
    rsync
    ssh
    ps
    php
    per l
    make

    --
    Jason Lotito
  66. Perl, vi and cron by kevin_conaway · · Score: 2, Insightful

    vi for editing perl.
    vi for adding perl scripts into crontab.

    theres not much else to do

  67. Nothing by suckfish · · Score: 1

    Well my favourite is one that doesn't exist because it doesn't need to.

    Most hated is one that exists despite the fact that it shouldn't.

  68. Infrastructures.org by redux · · Score: 1

    Infrastructures.org. Learn it, love it, be happy. It is an overall theory of administration pointing to the idea of keeping all software and configuration information for the entirety of your system in a central place and allowing changes to "emmanate" outward as necessary.

    -Shane

  69. SSH. by Olinator · · Score: 4, Informative
    Don't know if this is quite what you were looking for, but it's the first thing that popped into my mind...
    There are four of us who do *nix admin for over 600 *nix machines, more than half of which are linux boxes (both workstations and servers.) SSH with X displayback on a 100Mbit switched network is such a godsend I can't even begin to imagine life without it. I probably generate more SSH sessions in a normal workday than I do HTTP sessions. (Yes, that does include /. reloads, why do you ask? :-)

    I also think it's well worth your while to understand SSH's more esoteric tunneling capabilities... Recently I had to support a research group who was doing a demo at JPL and they were behind a very restrictive firewall but needed to do control and image transfer from a robot framework here in Massachusetts, and the researchers who'd coded the software hadn't implemented any kind of authentication layer. We were able to do everything using SSH tunneling over one of the three ports allowed through JPL's firewall (and they could IMAP their mail from our servers as a side bonus) without exposing our servers or JPL to unencrypted protocols of any kind.

    Ole
    1. Re:SSH. by codepunk · · Score: 2, Funny

      Hey you cannot possibly admin 600 machines with 4 guys, Microsoft said so!

      I was thinking the same thing, I have active ssh connections to servers nearly around the clock.

      --


      Got Code?
    2. Re:SSH. by rdr2 · · Score: 1

      you should definately look at fanout then if you are using ssh.

    3. Re:SSH. by Anonymous Coward · · Score: 0

      Yes, I was thinking the same thing. Above all other tools ssh -X is the #1 most important. Sure, things like webmin are nice, but they pale in usefulness to ssh. I can't remember the last day I didn't use ssh for something. I probably use it just as much as cd and ls. Without it, would be teh suck.

    4. Re:SSH. by Olinator · · Score: 1

      Blockpoth the quoster:

      Hey you cannot possibly admin 600 machines with 4 guys, Microsoft said so!

      Sdh, don't tell my boss*, 'cause they're going to be down to 3 in a month. (I'm moving to Colorado -- know anyone who needs a linux guru in the Boulder/Denver area?)


      Luckily, they're not all guys, so no worries! (Senior software specialist is a woman who worked on the original OSF/1 and has forgotten more about UNIX than I'll ever know...)

      Ole

      *: meaning: don't tell my boss that he can't admin 600 boxes with 3/4 folks. He already knows I'm leaving; he's gratifyingly unhappy about it. :-)

    5. Re:SSH. by ThisIsFred · · Score: 1

      FYI, Webmin includes a Java SSH client, so it's right there for your operators that know how to use it.

      --
      Fred

      "A fool and his freedom are soon parted"
      -RMS
  70. swaret by joey.dale · · Score: 1

    swaret is a slackware tool to add, remove, and update packages. www.swaret.org -Joey

  71. My fvorite tool by secondsun · · Score: 1

    My favorite tool is midnight commander (mc). I fail to see how people can do without it.

    --
    There is nothing wrong with being gay. It's getting caught where the trouble lies.
    1. Re:My fvorite tool by Anonymous Coward · · Score: 0

      Actually, "wiccan" is a code word for "looser."

  72. you pussy by Anonymous Coward · · Score: 0

    [root@localhost root]# vi /etc/named.conf

    I hate little girls who are afraid of editing a config file. Go back to Windows.

    1. Re:you pussy by Anonymous Coward · · Score: 0

      I hate little girls who think editing a config file by hand is both more productive, and more efficient. Go Back to DOS.

  73. chkconfig --list by Anonymous Coward · · Score: 0

    If you are using SysVinit (most modern Linux systems), chkconfig --list is the quickest way to get a thumbnail overview of all services in all run levels. It is presented in a neat tabular format, packing a lot of information onto the screen. You can see at a glance the way services are configured.

  74. YaST by v1x · · Score: 1

    YaST is the only config tool you'll need if you have Novell/SUSE linux. Since it has now been GLPed, there's some potential to port it to manage other distros as well.

  75. The tools I use to configure my servers by Anonymous Coward · · Score: 0

    My fingers.

  76. YaST by Anonymous Coward · · Score: 0

    YaST is the best configuration tool I've used on Linux, because it can be run from X or in the command line with good functionality both ways. It's very complete and intuitive.

  77. chkconfig by ch-chuck · · Score: 1

    handy for turning services on/off and setting what runs at what runlevel. Thanks SGI.

    --
    try { do() || do_not(); } catch (JediException err) { yoda(err); }
    1. Re:chkconfig by sakshale · · Score: 1

      chkconfig is one of my favorite system administration tools. Being able to list and quickly change what is started at every boot level is wonderfull. I really miss it on those brain dead systems, such as Solaris :) and OpenBSD.

      --
      For every problem there is a solution that is simple, obvious and wrong.
  78. SIS by rdr2 · · Score: 1

    System Imaging Suite. www.sisuite.org

  79. Ever notice... by davidej · · Score: 2, Insightful

    how boring it gets wading through all the posters trying to be clever..?

  80. Apt with supercow powers! by ozzy_cow · · Score: 1

    Anyone familiar with debian knows apt, now available in rpm flavors (http://apt4rpm.sourceforge.net/)

    seriously, takes away all package management headaches. and repo-janitor (http://imsb.au.dk/~mok/repo-janitor.php) makes running your own repository easy

  81. also... by wwest4 · · Score: 1

    A collection of different live and rescue CDs - RIP, Knoppix, mandrake move, and a USB key.

  82. Clippy! by Prince+Vegeta+SSJ4 · · Score: 1

    Who wouldn't use the helpful mascot! Clippy for Linux

  83. Power Cockpit by Anonymous Coward · · Score: 0

    Besides the usual stuff (OpenSSH, Perl, the regular bag of utilities) I use Power Cockpit by MountainView Data (http://www.powercockpit.com/us/index.html) Used to be part of TurboLinux but there is a confusing history.

    It lets you simply image and deploy servers (while still customizing the network/hostname/etc on each 'clone' as in a cluster environment) and let you run a command or series of commands across all or any part of your farm. MUCH easier to do a "yum install ntpd" and let PC run it across the servers then to log into each one.

    The open source solutions for this (SystemImager) don't even compare.

  84. Re:CVS (or insert your favorite alternative here) by Anonymous Coward · · Score: 0

    CVS is overkill. RCS does the trick for configuration files.

  85. Yast by krgallagher · · Score: 1
    Currently it is SuSE specific but now that Novel has GPL'ed it I am hoping it will become the standard for all distributions. One of my favorite things about it is that the terminal version and GUI version work and act the same.

    When I do not have shell access I use Webmin.

    --

    Insert Generic Sig Here:

  86. You forgot: +1, Patriotic by Anonymous Coward · · Score: 0
  87. Tools? by jarich · · Score: 1
    Tools?? You want to use tools?

    Back in The Day we didn't use no stinking tools! We just sat around and watched the lights on the hub... if it blinked too much, someone was hitting your box! That's all ya need! ;) That and watch the hard drive light!

    Seriously, the best "tool" is an admin who keeps up to date on a broad range of issues. To harden a box, never depend on a tool, unless Slashdot or Security Focus.

  88. Re:CVS (or insert your favorite alternative here) by Dezer · · Score: 2, Insightful

    It's all about subversion . Quite mature - can import former CVS collections, too.

  89. Bother by pjt33 · · Score: 1

    There doesn't appear to be a Debian package for Arrrrrrgh yet.

  90. Uh...Perl? by Anonymous Coward · · Score: 0

    It's probably not exactly what you're looking for, but c'mon. Scripting is, at best, 70% of administering a server.

  91. hwd for my Archlinux install by Thundertje · · Score: 1

    Works great. Just type hwd, let the thing work for a little while, and when that's done type hwd -h and you get a complete list of what you have to do get your stuff working without going through a zillion man pages. It even builds it's own xf86config based on your system, no more xf86config hell \o/
    Anyone knows if there's a similair program like this for other distro's? Because I want to try some other distro's like Debian and such but I don't like figuring out every little shitty detail everytime because some programmer decided he didn't want a .config on the standard place etc.

  92. Python by mslinux · · Score: 1

    We use Python to admin Linux, *BSD, Windows and Mac OS X... desktops, laptops and servers. It's the best, most flexible, cross-platform scripting language available... and it's free.

  93. Cluster management by Anonymous Coward · · Score: 0

    I am running a small HPC cluster which presents some additional challenges in maintaince. These are some of the tools I found very useful:

    dsh - distributed shell - ssh/rsh wrapper which can execute command on multiple nodes.

    systemimager - I absolutely loved this one. Create a single machine, configure it as you want. Two commands and you have an image on the main node. Create bootable floppy, cd, or use pxeboot to start installation on new machines. Really easy to customize image and installation process.

    ganglia - set of daemon using multicast to monitor almost anything you can think of. Add Sara PBS extension and you can monitor PBS as well.

    C3 - cluster specific utilities that mimick rm, cat, etc. Couple commands for pretty good intagration with systemimager.

    emacs - no cluster should be without it :-).

  94. Redhat system-config by hey · · Score: 1

    I am surprised nobody mentioned the RedHat system-config-* programs.

    system-config-authentication
    system-config-date
    system-config-display
    system-config-keyboard
    s ystem-config-language
    system-config-mouse
    system -config-network
    system-config-network-cmd
    system -config-network-druid
    system-config-rootpassword
    system-config-samba
    system-config-services
    syst em-config-soundcard
    system-config-time
    system-co nfig-users

    They are nice and easy and work on the real
    config files -- usually.
    Formerly redhat-config-*

  95. knoppix by Stevyn · · Score: 1

    I'm not ranking this, but I used it once to generate an XF86Config-4 file for a gentoo installation. It worked fine to my knowledge.

    As for others, I like ksambaplugin for generating smb.conf files for samba. It has worked better than swat for me every time. Mandrake's Control Center worked well too, but that is obviously limited to mandrake.

    I think sometimes the best generator is just copying someone elses file and modifying it. Setting up an XF86Config-4 file for use on a system with an nvidia card took a lot of time. Yeah, I could have read through the 400 page readme file, but I'm lazy and I still would have had trouble.

  96. Cannot resist with this response... by rdr2 · · Score: 1

    To harden or secure a linux box, my preferred tool is a cable snip to cut the lan cable... :) To fix the system I prefer to use a hammer. :D

    1. Re:Cannot resist with this response... by Beolach · · Score: 1

      One great thing about these tools is that they are 100% platform independant. You can use the to secure/fix *nix, MS Windows, Apple, or anything else. They'll even work on other things besides computers, like copy machines, toasters, and tangled jumpropes. Really, these have got to be two of the greatest tools of all time.

      --
      Join moola.com, play games to earn money.
  97. Command line by kbahey · · Score: 4, Interesting

    Whatever runs from the bash command line is good enough for me.

    No bloated fancy GUI needed, can run remotely over a secure ssh connection, and has all the raw power you need.

    I am not a luddite. For some tasks, I will use the GUI tool (e.g. Mandrake Control Center, or Webmin) to do things, when it is faster to do so. But the bulk of what I do is command line.

    1. Re:Command line by AntiOrganic · · Score: 1

      By "bash" you mean "zsh" right? ;)

    2. Re:Command line by macdaddy · · Score: 1

      You know, I can't recall the last time I had X running on any of my Linux servers. It would have to be at least as far back as 1999. At least. I do everything with the CLI. I don't count ncurses environments as GUIs either thought I know some really odd ducks that do (never understood that train of thought). CLI is the only way to go. Learn to use that; then you can pretty tools.

  98. A tendency toward self improvement by delcielo · · Score: 4, Insightful

    Seriously, you need to have a drive to constantly learn more. That's more valuable than any pre-written config tool out there.

    I know that's not what you wanted; but it's really true. A desire to constantly increase your own knowledge is paramount.

    --
    Hot Damn! It's the Soggy Bottom Boys!
  99. gcc by kkith · · Score: 1

    "What tools do you use that make your admin responsibilities easier..." gcc Luckily, some people wrote some code that compiled under that gcc tool thingy...code like... iptables nfsd samba cupsd cron snort

  100. Nagios by Etyenne · · Score: 1

    We are really hot about Nagios here. A nice thing to have to keep check on a fleet of servers.

    Personnally, I am really enthusiast about centralizing user info and various config via nss_ldap (just need to convince my co-worker now). Directory services are cool.

    --
    :wq
  101. Vim. by Inominate · · Score: 1

    The only configuration 'tool' needed is vim.
    Everything else is needless complexity added on top of a relativly simple system.

  102. To ten tools by Anonymous Coward · · Score: 0

    Slashot should mod anything in the "funny" category to zero.

  103. Maybe not Tools, but indispensable by Ridgelift · · Score: 1

    Asking what tools are the best is a lot like asking lego users what bricks are better than other. The answer is it depends.

    The three "tools" I can't live without are O'Reilly's "Unix Power Tools" and Limoncelli's "The Practice of System and Network Adminstration" and Google. Those two books have done more for me as a Systems Administrator than anything else I've used. And of course Google is...well, it's Google!

    At the end of the day, your brain is the most valuable tool, and tools that help you find the right way to fix something are invaluable. Everything else is just syntax.

  104. #1 on my list by C60 · · Score: 1

    Whichever program is responsible (there are so many) for removing windows from my machine. No single piece of software has ever made me feel so good about life.

    --
    Karma: 0 (But I wield a mean +10 Vorpal Apathy)
  105. XConfigurator, anyone? by psychoid · · Score: 1

    Well, OK. Maybe not. How about: YaST SSH PHP MyAdmin ps top or from FreeBSD, /stand/sysinstall

  106. My List by np_bernstein · · Score: 4, Informative

    1. Nagios: monitors your servers/services, amails, pages, sends a carrier pigeon when one goes down.

    2. Logwatch: Logwatch is something that should be used by every Unix/Linux SA everywhere. It gives you a daily snapshot of events in your logs

    3. Mon: Nice, simple, easy. If your webserver goes down, your secondary can bring up a virtual ip a couple of seconds later. No more annoying three am phone calls

    4. Snort/ACID: lets me know if a virus breaks out, or if there are stupid script kiddies trying to brute force their way in.

    5. Nessus: run it early, run it often. Figure out any holes you have in your security, and make sure you fix them.

    There's more, but you should really do some of your own homework.

    --
    RandomAndInteresting.comdefending the world from stupidity since 1979
    1. Re:My List by bobaferret · · Score: 1

      hey, you mono like is broken. where was that supposed to go?

  107. MOD PARENT UP by Anonymous Coward · · Score: 0

    Poster is saying that s/he simply edits his/her configuration files with the editor 'nano'

    Sheesh....

    1. Re:MOD PARENT UP by Anonymous Coward · · Score: 0

      You forgot the ending / on that regex.

    2. Re:MOD PARENT UP by pseudochaotic · · Score: 1

      Well, given how seriously people take their editors here, that actually IS flamebait.

      --
      And the l33t shall inherit the 34r7h.
  108. I like... by jbmarsh80 · · Score: 1

    Nagios (www.nagios.org). It's a great way to manage a network and keep track of your systems. My favorite part is it's notification system. It will e-mail me, page me, etc. until i fix the problems :)

  109. Chris.... by bfg9000 · · Score: 1

    ... he's the guy I call to fix all this stuff for me.
    Don't quote me, but I think his proper name may be Gnu/Chris.

    --

    I'm not normally an irrational zealous dickhead, but I figure "When in Rome..."

  110. these are some of my favorite things by mchallis · · Score: 1

    01. ssh
    02. su
    03. mc
    03. lynx
    04. google
    05. man
    06. ifconfig
    07. netstat
    08. ping
    09. history
    10. email

  111. only two needed by An+ominous+Cow+art · · Score: 1

    bash and emacs. Or more generally, use any shell and any text editor.

  112. Yet another Setup Tool by DrugCheese · · Score: 1

    YaST is the very best setup tool EVER!!

    Works perfectly for configuring most (if not everything) for the system. Both in a GUI and across the globe via SSH.

    Just my opinion, blows other distrobutions' setup tools out of the water.

    --
    *DrugCheese rants*
  113. free ipod by Anonymous Coward · · Score: 0

    lets all get a free ipod by helping each other out. sign up for ancestry.com for fastest delivery! :)

  114. #1 Tools by Anonymous Coward · · Score: 0

    Yum, up2date, apt-get.

  115. chkconfig by jjp5421 · · Score: 1

    vi echo chkconfig #Guilty pleasures Xconfigurator (only way I can get X to work) CUPS (only way I have printed easily)

  116. Configuration Tool: by Ynazar1 · · Score: 1

    I cannot believe that no one mentioned YaST. While being a Gentoo fan-boy and in love with Portage and USE flags, I love the tools and capabilities that YaST gives to the user and cannot wait until it makes its way into distributions other then SuSe.

  117. useful stuff by hysteresis · · Score: 1

    apache gtk gcc perl php rm -rf /home/a user you hate rm -rf /mail/a user you hate

  118. One word by smatt-man · · Score: 0

    google

    --

    ---
    Lousy rotten karmic retribution.
  119. YaST by general_consultor · · Score: 1

    On SuSE, YaST all the way.

    YaST on SuSE 9.1

  120. Pico/Nano by EconomyGuy · · Score: 1

    Okay... so its not the be-all-end-all, but I remember quite clearly during my early years learning linux from a friend how vital pico was.

    Its a very light weight, non-nonsense text-editor that runs in the terminal. It is ideal for editing little conf files that are the number one stumbling block to someone trying to understand how linux works. When you find something you want to look at, you type "pico joe.conf" and up comes the file. UP/DOWN keys work as you expected (not to mention general insertion of characters), and when you are ready to exit, there is a helpful little box that says press "CTR + x". Its just that easy... No, it is not ideal for programming, go use emacs or vi, or whatever the kids are using these days... but non is still ramains one of my most used apps... as ubiquitous as 'ls'.

    Small Free Software plug: Even though I'm a student at the University of Washington (makers of pico and pine) I use the Free Software alternative nano, readily available in most distros. Its EXACTLY the same (plus additional feature if you look for 'em) but without that nasty license stuff my alma matter feels necessary to include.

    --
    Only 120 characters... who can summarize their entire world understanding in 120 characters?!
    1. Re:Pico/Nano by Anonymous Coward · · Score: 0

      If you use up/down to move around your file, you're wasting your time. People who use real editors can jump to the place they want almost instantaneously.

  121. Mouse... by SadPenguin · · Score: 1

    ...and Keyboard. Without them, you're sunk.

    --
    sigSEGV - doy!
  122. cfengine, shell scripts, fanterm by briany · · Score: 1

    I would be seriously swamped if I didn't have cfengine setup to do a lot of the grunt work (ie. patches, copying config files around, checking that daemons are still runnning, etc).

    When I need to do one-off things, I generally turn to fanterm and/or shell scripts.

    I knew perl once. then learned to use bash more effectively.

    CVS, awk, sort, vim all necessary tools in my toolbox.

  123. Your Distro's Tools by InodoroPereyra · · Score: 1

    Besides webmin, the CUPS web interface and some other nice GUIs for generic, cross-distro sysadmin, I would pick the big commercial three, Fedora, Suse and Mandrake and showcase their admin tools. They have gotten pretty friendly these days (not so sure about Fedora though), and you can pretty much configure everything from the same "control center" or whatever the name. I think it is important to show people how easy and graphical GNU/Linux has gotten. I still hear people telling me "ah, Linux, yes, it is like DOS, you type everything in a console right ?"

  124. Vim and bash by djMedrzec · · Score: 1

    Vim for tuning, bash for automation :).

  125. Re:CVS (or insert your favorite alternative here) by zeromemory · · Score: 2, Insightful

    > CVS + ssh keys = godlike.

    Until someone steals your ssh key. Then they will be godlike too.

    Sure, ssh keys are convenient, but they don't always replace passwords.

  126. man, less, vim and galeon by nuggz · · Score: 1

    man - to read the docs
    less - to read more docs
    vim - to edit config files
    galeon - to read docs and howtos

    Works for me.

  127. VIM by Anonymous Coward · · Score: 0

    VIM > *

  128. Re:google's getupdates [LINK] by Anonymous Coward · · Score: 0
  129. Re:More or Less ? by Anonymous Coward · · Score: 1, Interesting

    (I am asking a serious question but now I've read it I think the chances of getting a serious answer are pretty low)

    Why would you substitute more for less ?

    I've had computers/OS' with more (amiga, riscos, win, I think bbc micros & spectrums also had more) but not seen less until Linux came along.

    Whats the diff, is less GNU ?

    God, I give up, this question is impossible to phrase without sounding trollish or flamebait, maybe thats why I've never heard the answer to it hehe.

  130. mod parent up. by Janek+Kozicki · · Score: 1

    possibly it was meant to be funny, but in fact is insightful too.

    that's the way that average aspiring hax0r is gonna install a linux distro (chosen by his personal guru) on his machine

    --
    #
    #\ @ ? Colonize Mars
    #
  131. YAST by RogerWilco · · Score: 1

    It's not the end-all to everything, but if you need something straightforeward, no hassle and it works in 10 minutes (on a 486)
    I suppose Novell has nicer stuff, but probalby not for free. You only need ssh to be able to admin the box remotely, much more secure as Webmin.
    YMMV and IANALE (linux expert) but it's almost all I use, and a little vi maybe. I have no connections to SuSE, I only use it since 6.1, from the 486 firewall to the P4 desktop, with or without X. The firewall is only accessible though ssh, no httpd, or other deamons running.

    --
    RogerWilco the Adventurous Janitor
  132. Emacs, I loth thee by toolshed7 · · Score: 0

    Every time i look at .emacs file. I praise myself.Emacs is the ultimate tool for editing, grinding coffee grains, and stump pulling, and oh yea my mp3 player.

    --


    Deserving got nothing to do with it.....shuffle
  133. Radmind by jonpublic · · Score: 3, Informative

    we at the university of michigan use radmind to update and deploy software to our linux environment. it is a great tool that helps us centrally manage our environment and rapidly deploy security updates. update one machine, take a snapshot of the differences, and push it out to 50 machines or more. command line freaks will love it.

    learn more at radmind.org

  134. cron by Anonymous Coward · · Score: 0

    werd to tha cr0n

  135. Gentoo emerge, rc-update by amightywind · · Score: 1

    emerge/rc-update make Gentoo administration almost handsoff

    --
    an ill wind that blows no good
  136. RTFM - Tools are no substitute for knowledge by LodCrappo · · Score: 1

    http://www.tldp.org

    In the time you spend finding, installing and learning a fancy config tool, you could probably learn how to do it for yourself. The guys at the ldp have done an awesome job of gathering HOWTO's, guides and other information to make finding the info you need simple.

    Another huge benefit to learning how to configure your system manually is that troubleshooting becomes much easier. In most cases you'll find in the long run that it's much faster to do things yourself once you know how. You might also find that the system can be configured more to your liking or discover new features and ways to use software by learning more about it.

    --
    -Lod
  137. my favorite linux tool is... by Anonymous Coward · · Score: 0

    duplicate slashdot articles.

    which is to say multiple stories on slashdot about the same topic.
    or in other words, redundant topics on a popular website.

    also known as, several news submissions about similar pieces of information and ideas which have been posted to www.slashdot.org

  138. Actually... by IronChefMorimoto · · Score: 2, Funny

    To configure Linux, I refer to the Windows XP blue CD-ROM boot screen AFTER I give up on installing Linux.

    Dammit. I hate being a Linux virgin. Or does a semi-successful installation of Mandrake Linux 8.x on a Dell laptop count? No? Still got the Linux cherry? DAMMIT!

    IronChefMorimoto

    1. Re:Actually... by Anonymous Coward · · Score: 0

      Next time just pop in a Knoppix CD...

    2. Re:Actually... by sharkey · · Score: 2, Funny
      I hate being a Linux virgin.

      You're preaching to the choir. Or did you mean that you're new to using/installing Linux?

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  139. just basic tools... by Siva · · Score: 3, Funny

    "Kill zcat," sed ed.
    "Awk!" sed perl.
    "Make sum nice tee, joe," sed man.

    --

    Keyboard not found.
    Press F1 to continue.
  140. cd? by Anonymous Coward · · Score: 0

    I don't know... I use Midnight Commander...

  141. Single machine or multiple machines? by ComputerSlicer23 · · Score: 5, Informative
    I've always like the "redhat-config" series of tools on RedHat or RedHat derived products.

    • chkconfig and service are valuable for doing things.
    • yum, apt, autorpm are all nice tools.
    • logwatch is great.
    • PAM isn't an application, but using PAM and LDAP can make having users spread across machines is a snap.
    • tripwire is a great tool
    • kickstart does wonders if you have to install lots of machines. I use it to completely document every scriptable part of an install.
    • WebMin is great, but it worries me from a security perspective.
    • gq is a great LDAP editor that I use to edit LDAP entries for users.
    • Software like Bastielle Linux (a script that attempts to harden a machine)
    • iptables, iproute2 (including ip and tc) are wonderful for networking.
    • cron, sh, sed, awk, perl and python are used in conjunction quite a bit.
    • fuser and lsof are used frequently by to to figure out what is going on.
    • ethereal and tcpdump are tools of the gods.
    • ssh is a thing of beauty.
    • encrypted swap is fun.
    • Nagios, MRTG, and sar are very useful for profiling and monitoring of your machines.

    Who exactly is your target audience? People who've never seen UNIX, people who've worked on UNIX environment for years? What is it you are attempting to accomplish with them?

    Most of my list would be boring to people who know a lot about UNIX, however some of them are Linux specific.

    1. Re:Single machine or multiple machines? by Nailer · · Score: 1

      Got more info or a link for that encrypted swap stuff?

    2. Re:Single machine or multiple machines? by Trogre · · Score: 1

      gq is a great LDAP editor that I use to edit LDAP entries for users.

      Just curious:
      Can you change a users password from within gq without seeing it, and without having to paste in an md5 hash?

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    3. Re:Single machine or multiple machines? by ComputerSlicer23 · · Score: 3, Informative
      http://www.flyn.org/projects/cryptoswap/index.html

      Googling around, that's the best link I've seen, but it's relatively short. I haven't looked into in about a year. There is a patch to mount that will allow you to use let you setup cryptoloop (the loopback block device with encryption built in). The maintainer of mount (Andries Bouwer), however wouldn't accept the patch for some legalistic reasons (copyright and/or encryption, I've forgotten the details). Try "man losetup" for information on how to get crypto loop working.

      What you do, is have no swap partition, then at the end of the bootup sequence run losetup to setup loopback encryption to either a file or a partition. Then initialize the swap file or partition using mkswap, then swapon /dev/loop0 (or whatever loop device you used).

      So something like this:

      losetup -e DES /dev/loop0 /tmp/swapfile mkswap /dev/loop0 swapon /dev/loop0 However, I can't seem to get that working, as my RHEL doesn't have DES as a modules, and losetup doesn't support AES yet. So there's probably a kernel patch to track down. However, it sounds like Mandrake supports this out of the box.

      Finally, I'm not much of a 2.6 user, what I described above will work in 2.4. 2.6 I believe either has in the main tree, or it's coming "Real Soon Now", a feature called dm-crypt. dm stands for device mapper. It's the low level replacement for the guts of LVM from the 2.4 kernel. It sounds like a layered/plugin type feature, one of which you can put LVM on top of. Some clever fellows decide to put crypto on top of it. I don't know a thing about that, and have never used it. However, search for dm-crypto in google, here's the most useful page I found in a single query:

      http://www.saout.de/misc/dm-crypt/

      Good luck.

      Kirby

  142. This is it! by Rootman · · Score: 1

    rm -Rf /users/*

    Works every time!

  143. emerge me my toolkit :) by micolous · · Score: 1
    emerge -a webmin vim joe phpmyadmin
    Joe is for when you go mad with vim. And vim is to a) prentend that you're cool ;) and b) when joe isn't enough. Though joe 3 is rather nice, it's not entirely there. I'm more accustomed to wordstar-style shortcuts than others. Don't blame me, it's what I was taught to use a computer with, I'm used to it, and joe offers me this familiarity. I'm more used to ^KX than ^O<cr>^X or <esc>:wqa. (Like others are used to using their favourite editor, that's their preference.)

    Webmin is really good, and has blown the previous solution (linuxconf) out of the water. Though manual editing is sometimes required, and configurations sometimes break after using webmin. That and holes in webmin itself; why I don't leave it open to the world.

    PhpMyAdmin is a great program. Especially when you can't remember complex SQL syntax at 3:30am, or creating complex tables, or modifing them.

    I'm aware that this isn't a distro-war, and "Which Package Management System Is Best", however the package manager is a tool that is used for system administration. Though there will be undoubtly lots of rpm vs. dpkg vs. portage vs. pkgtool etc. wars in comments attached to this article, on the basis they are system administration tools. Yes, that is correct, but you should probably argue which is the better frontend to do the job. "When on <distro> I prefer <package manager frontend>" would be a basis for package manager related arguments.
    --
    SSdtIGFzIGJvcmVkIGFzIHlvdSBhcmUK
  144. SSH and GPG by mech_knight · · Score: 1

    At times like these--OpenSSH and GPG.

    --
    "Size matters not. Look at me. Judge me by my size, do you?" --Yoda {whips out green light saber}
  145. Re:Only one... Ark Linux Mission Control by P.+Norbert+Ebersol · · Score: 1

    It's so great other newbie type distros are using it. It's a great front end to all the other graphical configuration tools that exist.

    Granted its very similar to microsofts configuration tools, but everybody knows how to configure microsofts stuff.

    www.arklinux.org.. i think theres screenshots.

  146. Hmm by intangible · · Score: 1

    fte (I just need an editor most of the time, not an automation tool)
    perl
    dd (I am amazed at the pure simplicity, yet effectiveness of this program)
    nmap
    synaptic (the best front-end to apt for X, I actually prefer it over the console tools most of the time now)
    cups (maybe offtopic, but simple printer administration is always welcome)
    ssh (really, is there any argument?)
    bash
    man
    cron

  147. See open files & sockets by wurp · · Score: 1

    I don't think I would bump any of yours, but I love lsof. All the time I'm wondering what file some program is messing about in and taking so long, or what is blocking port X, or what apps have sockets open, or what sockets app X has open, and lsof comes to the rescue.

    strace is pretty darn handy too. Lets me see a log of what a program did before it blew up. ("Oh! It didn't have permissions to open configuration file K. Let me fix that...")

  148. MOD PARENT DOWN by Anonymous Coward · · Score: 3, Informative

    Plagiarism isn't cool. the original post

    1. Re:MOD PARENT DOWN by Tezkah · · Score: 1

      Wow, it actually exists? I got it from here No, I dont mean to plagiarize... why would I take credit for using Ed? I'm not some sorta sadist... :(

  149. A *good* reason to cite the various editors... by i_r_sensitive · · Score: 1
    A lot of folk have pointed out text editors. No matter what else, $EDITOR is your best friend for configuring your Linux system.

    I've used various system configuration utilities/packages at various times, but each and every time they've been mv $TOOL /dev/null, usually for one of the following reasons:

    - I need to do something just plain out of the ordinary, no config tool could possibly anticipate every contigency for every user. So if you are going to have to $EDITOR $CONFIG_FILE even once, you may as well stick to it and build the habits, and the proficiency to be effective without $TOOL.
    - I don't trust them, and generally end up double checking everything they do anyways. In view of that, why take the extra step?

    Having said all that, the right configuration tool can be useful to help teach sys config and admin.

    An example of that would be sam, (HP/UX) which at least told you what it was doing.

    If you like opaque sys admin and config tools, there is this Windows distro from some Microsoft company...

    --
    "Talk minus action equals nothing" - Joey Shithead, D.O.A.
    "Talk minus action equals /." -
  150. cfengine by Wodin · · Score: 1

    What? Nobody mentioned cfengine?

    --
    -- Wodin
    1. Re:cfengine by c_dog · · Score: 1

      I would have...you beat me to it!

  151. One line, not ten tools by cwernli · · Score: 1

    #!/usr/bin/perl

  152. Computer Management ? by mailtomomo · · Score: 3, Funny

    Is it like Anger management ?

    1. Re:Computer Management ? by lawpoop · · Score: 1
      Qusfaba...

      Quuuusfaba.

      --
      Computers are useless. They can only give you answers.
      -- Pablo Picasso
    2. Re:Computer Management ? by BIGstan · · Score: 1

      Management that truly inspires...

      'cause i wasnt this angry when i started....

      --

      BIGstan!
  153. Re:More or Less ? by tntguy · · Score: 2, Informative

    "more", in its "standard" *NIX form, is forward-scroll only, among many other limitations. "less" takes care of all those limitations. Think if it as "less" is "vi" and "more" is "ex" (or "edlin", from the DOS days if you're unfamiliar with ancient tools).

  154. dselect by SlashDread · · Score: 1

    Sure, webmin is handy, so is rsync, so is samba.

    scoadmin is handy.. (ducks!)

    But nothing beats dselect. Well.. a RedHat network thingie for debian would be handy.. so I can schedule the dselect updates via the intarwebby, whilst I go back to tomatoe growing, or watching Moore's latest. Oh! Almost forgot bittorrent!

    "/Dread"

  155. Re:CVS (or insert your favorite alternative here) by hackstraw · · Score: 4, Interesting

    Until someone steals your ssh key. Then they will be godlike too.

    Sure, ssh keys are convenient, but they don't always replace passwords.


    Passwords suck. Oh, and I have a 10 character passphrase on my privatekey that sits on my password protected computer.

    I would guestimate that the liklihood that a password has been found or guessed or shown up in a plain text file (my ISP used to have a world readable radius logfile that had passwords in it) or sniffed is much greater than someone logging into my laptop (I have no remote services running) or physically beating me up and getting my key and passphrase from me.

    I love the classic:

    sj (misstyped su)

    followed by the root password in plaintext. Gotta love that!

  156. my favorites by Anonymous Coward · · Score: 0

    mc mcedit for CLI

    mc & NEdit on a GUI

  157. grrreeepp by Anonymous Coward · · Score: 0

    of course learning pico/nano, vi, ssh, etc is imperative.....

    but tell them to use grep. learn to use that shit. | grep is the shiznit.

  158. Re:More or Less ? by Anonymous Coward · · Score: 0

    Oh, as much as I can remember "more" has always scrolled back when I hit "b" or pageup. Newer versions seem to scroll back using the up arrow, can't remember if the older ones did.

    Is that just cos that was on linux and more was symlinked to less?

    (thanks for the answer btw!)

    I reckon we could be onto something, forget vi vs emacs, forget windows vs unix, we have the battle of the century, its more vs less!

  159. google by Anonymous Coward · · Score: 0

    My most frequently used tool is google.com ;)

  160. PHPMyAdmin by ehack · · Score: 1

    Just echoing parent's content into subject line.

    --
    This is not a signature.
  161. My Top Ten by genkael · · Score: 4, Insightful

    1) Yast (I know it's SuSE centric, but it's being open sourced!)
    2) OpenSSH... Oh yeah baby!
    3) GCC and make... DUH!
    4) FTP...I know I know SFTP if you prefer
    5) Perl...YUM and even better with perl expect
    6) Bash...we all need a CLI
    7) Jumpstart...If you manage a lot of solaris boxes, this is your friend
    8) Sendmail or postfix...pick your poison
    9) nmap...oh yeah, let the Windows guys drool
    10) Nagios...monitor that network in style!

    --
    GeneralKael -- Slacker Extraordinaire
    1. Re:My Top Ten by sparkz · · Score: 1

      If JumpStart is your friend, JET (http://www.sun.com/bigadmin/content/jet/) is your best buddy!

      --
      Author, Shell Scripting : Expert Re
  162. Screen and Links2 by Anonymous Coward · · Score: 0

    Screen and Links2.

  163. strace/truss by meshko · · Score: 1

    Weird that no one mentioned strace (aka truss on BSD and Solaris). Often it can save you from reading sources when error messages are less than perfect.

    --
    I passed the Turing test.
  164. Re:More or Less ? by facelessnumber · · Score: 1

    The difference, at least as far as I can tell, is just in the scrolling. Less give you a vi-ish ":" prompt at the bottom, and you can use the arrows to scroll up and down through all of the text, instead of having it just pause at the end of each screen to before filling it again. It's somewhere between using more and using a text editor to view it.

  165. Re:More or Less ? by Anonymous Coward · · Score: 0

    More likely GNU more. Remember GNU's Not Unix, and GNU tools often eschew Unix simplicity of yore. GNU "hello" was written as a piss-take of this.

  166. tools by Anonymous Coward · · Score: 0

    rsync
    nmap
    tcpdump
    and the best of all...
    screen

  167. Re:More or Less ? [OT] by Anonymous Coward · · Score: 0

    There's also most.

  168. vi by Chuck+Bucket · · Score: 1

    seriously, vi is where it's at. If you can admin Linux with just vi, you're on your way to taking any Sys Admin type gig. I ran SuSE 9.1 the other day at work on a sandbox rig, YaST totally got in my way, and when I wanted to install apache2, nope, couldn't find the dependancies. Uh, thanks!

    So yeah, if you're running Slackware/Gentoo/Debian like me, learn vi, and start editing those conf files.

    DCV*($@

  169. phpmyadmin by verbatim_verbose · · Score: 1

    As someone that doesn't know much about databases, I found this tool priceless when playing around with MySQL.

  170. Linux for newb by Anonymous Coward · · Score: 0

    I've been reading slashdot for 6 months now, and have finally heard enough about linux (read all the articles) to make me want to dive in.

    Problem is, educational, or how-to docs seem hard to find from the perspective of a very literate windows user wanting to learn linux.

    I tried installing debian (what a nightmare) - and gave that up, and am now stuck on hardware config in gentoo livecd.

    I'm really excited about learning linux, but am having troubles getting started. I had Red Hat 9.0 running for awhile, but couldn't find any good kids software ... any advice on starting points for MCSE/A+/NET+ types with almost no linux/unix experience?

    I think there's a lot of us that are a bit intimidated, but also intrigued by the linux , becuase it seems to offer a more "pure" form of g33k. I've been impressed by helpfulness in all the linux forums, but the help usually seems to assume a pre-existing "pretty good grasp" of linux. Help me convert ! Thanks for any links/help/advice you can provide.

    -- excited & lost ...

    1. Re:Linux for newb by porlw · · Score: 1

      Dunno - not much 'deep' knowledge about Windows is transferable to Linux, since they are fundamentally quite different.

      If you really want to get under the covers then some basic tips:

      o It's all about files - that's the single concept that drives pretty much everything. Your initialisation, configuration, hardware devices and system state can all be found in the file system. So learn the FS layout and how to navigate around with ease - commands like find, grep, locate, mount. Know what is found in /etc, /dev, /proc and so on. I've solved many configuration mysteries by simply grepping through /etc

      o I use gentoo, but not the livecd, so I don't know much about the hardware config stuff. However, Knoppix has excellent hardware detection, so it's often worth booting a Knoppix cd and using lsmod to see what modules (drivers) it's loaded.

      o If you're going to try something like gentoo or one of the other minimalist distributions, the best thing to do is take it slowly - don't worry about setting it up for all your hardware, just the basics (keyboard, mouse, CPU, etc). If your hardware isn't too unusual then a vanilla kernel (with no config changes) should probably work.
      Once you've got it up and running you can easily go back and add support for stuff like sound cards in the kernel configuration. If you get stuck use grep and find on the kernel source files to look for info about your hardware to help figure out what options you'll need. The file /proc/pci contains details of the hardware attached to your pci bus.

      "Fat" distros like RH, Mandrake, Suse avoid this by compiling support for all hardware and using a program to decide what drivers to load at boot.

      X doesn't need as much configuration as it used to but if you have problems try xorgcfg.

      o www.linuxforkids.org

      HTH

    2. Re:Linux for newb by Simkin1 · · Score: 1

      I think porlw is right in his response. Linux is all about files. My suggestions to all linux newbs is to take it very slowly and start with (what porlw calls) a "fat" OS such as RedHat. Start out doing a full install of everything, then sift through the programs reading man pages, or pick up one of the many "linux bibles" that walks you through an install, the OS, basic administration, etc..
      Very important! -- Be prepared to be frustrated and spend awhile learning new things. There is no such thing as knowing everything in linux... There are a couple good certs you can pick up, but reality is that the more exposure you have to linux, the better off you'll be in the long run. Never stop reading the man pages, asking questions, howto's, faqs, and poking around in your system...
      If you have the resources for it, find an old POS system, and go nuts with linux (key is that it can't be a main workstation for you with your childrens pictures at birth or anything...) I always stress for newbs the importance of a 'throw away' system where you can just hack away without fear of losing critical data. Until you have a 'firm' grasp (firm is a relative term) of how to admin, maintain, secure, etc. your system, don't use it as your mainstay.
      word of advice... beware of the advice you take in chatrooms and on message boards... and think before you cut/paste a command line from one of the above... you never know when a kiddie is playing with you and will either deliberately give you bad information, or be using you as a guinea pig to test a theory... rule of thumb -- if you don't understand the command, look it up and test it in a safe environment before using it.
      USE THE COMMUNITY RESOURCES!! Don't be afraid to ask a question when you know the response from 99% of the people will be RTFM ( USE GOOGLE!! Very important groups.google.com and www.google.com -- asking intelligent questions after you've done a little research will save you a ton of RTFM responses.
      There are a billion resources out there... use them and don't be intimidated by folks who appear to know-it-all (generally they know a lot about a little, and little about a lot)... Not sure that was useful, there are a ton of suggestions and I could go on, but it's almost 1 a.m.... Time to get some sleep...

  171. fdisk by _J_ · · Score: 1


    It's been my favourite tool since that time in '93 when my roomie went on vacation and I thought how cool it would be to dual boot his Win3.11 box and I ended up losing the partition. fdisk along with my lucky guess work over partition ID's saved my hide.

    More recently, it helped me when I was nosing around in my work laptop and wanted to have a look at this mysterious partition and I accidentally marked it "active." Knoppix came to my rescue then. There was nothing interesting on the partition, but at least I now know.

    IMHO, as per.

    J

  172. here by dmf415 · · Score: 1

    all you need is locate /

  173. dpkg-reconfigure / debconf by GrouchoMarx · · Score: 1

    I don't know if this is what you're looking for, and I don't know why no one has mentioned it yet, but even more impressive than apt-get for me is Debian's debconf. At any time, you can rerun the install wizard by typing dpkg-reconfigure packagename, and it will take care, cleanly, of making whatever changes you need to the package. It's configurable from "Ask me everything" to "I don't know what I'm doing", but defaults are very intelligent and it takes most of the mystery out of most things, as well as the manual config file editing.

    God I love Debian. :-)

    --

    --GrouchoMarx
    Card-carrying member of the EFF, FSF, and ACLU. Are you?

  174. mmm... by Anonymous Coward · · Score: 0

    dpkg-reconfigure

  175. Re:More or Less ? by Thomas+A.+Anderson · · Score: 1

    Not a stupid question at all.

    The explanation that I've heard is that less is better at recovering from reading a binary file - sometimes more freaks out and the console spits out junk until you close that shell.

    Hope this helps,

    Greg

    --
    Personally its not God I dislike, its his fan club I cant stand (bash.org)
  176. Knoppix by Richard_J_N · · Score: 1
    Knoppix is amazingly useful. It's a bootable Linux disc containing (nearly) everything you could want. I have in recent times used it for:
    • Running my laptop without a HDD (after an HDD failure)
    • Testing damaged/suspect hardware
    • Making backups of files from a working windows system over the net (it's easier to reboot and use knoppix to tar | ssh "cat > file" )
    • Backing up an entire windows disc using dd before installing Mandrake.
    • Travelling with.
    • Playing with the latest software without changing my harddisc install.
    • At a pinch, you can also use it to install Debian, run a terminal server, run apache,...
    • It's also a great demo disc, and can be obtained from www.knoppix.net
  177. Your question is flawed, thus you have no answers. by moorley · · Score: 4, Informative

    UN*X/Linux doesn't work that way. You are looking for a one size fits all administrative interface and it doesn't exist.

    But I can sum up some the key points and bits of wisdom I have picked up over the years.

    1) Ascii text is your friend. 98% of all the configuration files for UN*X programs live in ascii files and they "usually" live in /etc. You can use this to write program to update different pieces as needed. Any problem you do, you can undo. You can then run a program or use "kill -HUP" to get a process to reread that configuration.

    2) Pick a programming language. Perl, AWK, Sed, ksh, all of them. You can use that programming language to role out changes as needed, or make a lot of changes really quickly. RSH/SSH allows you to do that across multiple systems. Use it carefully!

    3) Design your environment. If you know what you are going to be using the servers, workstations and/or Linux embedded appliances for you can better decide how to automate it.

    4)"Crunchy Cookie, Liquid Center".
    In the end you will be automating certain administrative tasks over and over, but not all of them. That's why one size fits all won't work. It becomes a bloated security hole, so you only automate what you need and you automate it in an original and secure fashion.

    As for some rock solid TLA recommendations.

    SSH - SSH is your friend and as a replacement for RSH and its ilk you can use it to securely automate tasks. read up on ssh-agent for automating ssh access across multiple machines.

    mon - How do you know it's working if you don't test it? You need to turn on monitoring, the more specific the test and monitor the better. mon is a good PERL framework for performing any test, and it has a lot of prepackaged/contributed test scripts that come in handy.

    LDAP - Lots of UN*X environments are moving to LDAP to store enterprise wide information. It depends on how big of a UN*X environment you are setting up but having a centralized directory ala LDAP can be quite handy.

    PAM/NIS - Plug In Authentication Modules. You can use these to have a centralized authentication server, cuts down on password updates. NIS+ is a tried and true system for stitching UNIX Systems together but I've only seen it installed in 1 UN*X environment and I've worked in several.

    If you are looking for a prebuilt system or paradigm like Microsoft Server then you need to look to Redhat, Debian, else you are going to work from the need/application outwards.

    Whatever you do more than once you will automate. When you no longer can budget the amount of UN*X Admins you will need you will start to build "tools" to delegate routine tasks, these will eventually become web pages, the web page will become an application. The application will become an acronym. The acronym will become a skill. The skill will become a job requirement HR will use to backfill a position. That's the way it goes.

    Enjoy!

    --
    "Don't fear death... fear not living..." -me :)
  178. WRONG QUESTION by nusratt · · Score: 5, Insightful

    Ask for the Top Ten tools, and most of your time spent reading the responses will be wasted, because of the overlap of the answers. If people list what they *genuinely* think are the Top Ten, there will be very few answers which are unusual or surprising (and still useful).

    I think it would more useful to ask for the Top Ten MOST OVERLOOKED tools, or the most under-used, the most mis-used, or the ones whose full power is forgotten, unrecognized, or unused.

    1. Re:WRONG QUESTION by Simkin1 · · Score: 1

      Excellent response... so what do you think ARE the most overlooked, underused, misused, or whose full power is forgotten, unrecognized, or unused?

  179. Midnight Commander by grolschie · · Score: 1

    ...a tool no admin should be without. Combine mc and man and you have the killer combo!

  180. Midnight commander by Liquid+Len · · Score: 1

    Yep, "mc", "emacs" and "latex" do it for me.

  181. Not presenting to an experienced *NIX crowd? by Anonymous Coward · · Score: 0

    If so, focus on what the tools do rather than what their stupid names are; most of the world doesn't get (or care to get) the joke.

    Classic *NIX command-line tools are small, do one thing very well, and be used with the other tools to perform astonishing feats akin to voodoo, black magic, and corporate accounting.

  182. Re:More or Less ? by LinuxHam · · Score: 4, Informative

    and the console spits out junk until you close that shell.

    Just so you know, when you accidentally cat a binary file and it changes all the letters in your console to garbage characters, just blindly type

    reset

    and hit Enter. Fixes it every time.

    --
    Intelligent Life on Earth
  183. Cron overlooked? by huckda · · Score: 1

    cron
    at
    chmod
    chown
    cat

    5 to go...

    ah heck it all depends on which linux box we talk'n about...what's it's purpose...
    for instance...the box for WWW requires an entirely different TOP 10 list
    than my LTSP box....
    which requires an entirely different TOP 10 as the firewall router box...

    So...question is moot without more specifics...

    Bah hum bug..

    --
    "Just Smile and Nod." --Huck
  184. batch and at by bzzt · · Score: 1
    batch!
    $ batch <<EOF
    >make
    >EOF

    at!

    $ at noon tomorrow <<EOF
    >echo dude remember to check on that thingie you were working on yesterday.
    >EOF
    (ya know, i'm really trying to love firefox, and the web developer extension is teh BOSS, but wtf with rendering slashdot left hand fuckup? sheesh..)
  185. Firewall Builder by cornice · · Score: 1

    I like Firewall Builder for keeping track of complex firewall rules.

  186. top ten by Laroue · · Score: 1

    dmesg -always helps to see what happened
    ps -ef or ps awwx -nice to know whats running
    scp -great for file transfering
    sed, vi, cat, man
    kudzu (for the redhat world)
    apt-get
    cut -for modifying lists

    and lots of little scripts like
    for item in `ls`;do cat $item | sed s/com/org>$item.new;done
    for item in `ls`;do mv -f $item.new $item;done

    --
    #### ## Laroue ####
  187. init by Anonymous Coward · · Score: 0

    linux init=yourcommand :)

  188. Blbbbbph..... by Dr.+Evil · · Score: 4, Funny

    If Perl is God, then nobody would be able to understand the bible.

    ... oh wait.

    1. Re:Blbbbbph..... by thefroatgt · · Score: 1

      Ah, but people think they understand the Bible. No one even pretends about perl.

  189. phpMyAdmin by misleb · · Score: 1

    phpMyAdmin is better for web based mysql administration. Give it a try. Webmin is still pretty good for other stuff.

    --
    "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
  190. My very own hands, by Anonymous Coward · · Score: 0

    apt-get and vim will do for me, thanks.

  191. No way... by Anonymous Coward · · Score: 0

    He means for simple stuff. Webmin can't be beat. One click backup of text data in a db...

  192. gkrellm? Great visual health/diagnostic tool... by pjkundert · · Score: 1

    I'm using gkrellm to monitor the health of remote servers. It provides a visual indication of all of their vital statistics (disk and netowrk I/O, temperature, memory, swap.

    Sometimes, a visual indicator will give you hints about problems or activity patterns that are hard to see in a log file....

    --
    -- -pjk Perry Kundert perry@kundert.ca http://kundert.2y.net
  193. Two of my favorites... by Darth+Daver · · Score: 1

    are screen and lsof.

  194. network monitoring by Petaris · · Score: 1

    I didn't see it mentioned but ntop is a great way to keep track of network traffic. Also ethereal, iptraf, etherape, and nessus. Note: these are just monitoring tools and not firewalls or config tools. Hope it helps :)

    --
    ~Petaris "The world is open. Are you?"
  195. Pico, you dick mods. by teamhasnoi · · Score: 5, Funny
    WTF? I can't have Pico as my #1?

    When I don't have time to figure out goddamn control chars, and just want to edit a config file without having to resort to IRC, man pages, and poor documentation -

    I USE FUCKING PICO.

    All the commands are right there. On the screen.

    Maybe this elitist attitude is why Linux isn't ready for the desktop. Now mod me Troll, bitches.

    1. Re:Pico, you dick mods. by leperkuhn · · Score: 1

      I love pico for the very reason that the commands are on the sccreen. trying to edit a crontab and having to look up the vi commands is the worst.

      --
      http://www.rustyrazorblade.com
    2. Re:Pico, you dick mods. by spike2131 · · Score: 1

      power, brother.

      --
      SpyDock: Scientific Python in a Docker container
    3. Re:Pico, you dick mods. by hankaholic · · Score: 1

      Try joe -- it's got a broader feature set than PICO, but doesn't trade off much in terms of friendliness to the user.

      Additionally, it's under GPL, which allows for redistribution of binaries, unlike PICO, whose license is very restrictive regarding binary distribution. Some distros choose to ignore the license and redistribute modified binaries anyways, but for those who care, GPL can be a nice alternative to UW's license.

      You won't have to resort to "IRC, man pages, and poor documentation", and you won't have to worry about whether a crazy license will force distributions into scripting a source download and local compilation just to install the freaking editor (which is the way Debian does it, as distributing a patched version is illegal).

      Finally, distribution of joe often include jpico, which is basically joe with keys rebound to be friendly to those who were raised on PICO and are looking for a gentle upgrade.

      --
      Somebody get that guy an ambulance!
    4. Re:Pico, you dick mods. by Anonymous Coward · · Score: 0

      "Maybe this elitist attitude is why Linux isn't ready for the desktop."

      Which elitist attitude is that? The one where I'm constantly being berated for using a text editor of my choice (vi)? Just because you either don't want to learn or are incapable of learning what is undoubtedly a powerful editor, it does not mean that I'm an "elitist" for pointing out that it is.

      The only snobs I see in the UNIX world now-a-days are ones that are constantly moaning, "it doesn't look like windows", or "why can't my blind grandmother use it out of the box". Nothing will satisfy these user-interface "elitists" but the complete cloning of the MS-Windows interface du jour and the complete abolition of the UNIX legacy. I just wish they would fuck off.

  196. Re:More or Less ? by willy134 · · Score: 1

    less is smart. more (classic more that is) is dumb. less added moving through a document without re-"more"ing it.
    less also is GNU

    --
    Can you ping me now?... Good!
  197. Re:More or Less ? by raodin · · Score: 1

    I always wondered if there was a way to fix that. Thanks.

  198. My Tools by La+Camiseta · · Score: 1
    1. VIM
    2. OpenSSH
    3. Cronhttp://www.unixgeeks.org/security/newbie/unix/ cron-1.html
    4. Bash
    5. Perl
    6. TightVNC


    The beauty of TightVNC is that you can set it so that the VNC logo in the taskbar doesn't show, makes it all but impossible for regluar users to shut it down.
  199. Make a list as you go by taradfong · · Score: 2, Interesting

    To me, *nix mastery involves learning a bunch of little tricks. There is no 'grand unified front end' that will do it all. Over time, you'll memorize the ones you use all the time. But some you'll figure out but forget if you don't write them down somewhere (e.g., how to do a 'find' with regular expressions and execute a command on each result). I keep mine in a wiki, a bit haphazzard, but always ready on the web and easy to edit, which means you'll use it.

    Oh yeah, learn regular expressions. The O'Reilly book is great. The time investment *will* pay off.

    --
    Does it hurt to hear them lying? Was this the only world you had?
  200. VI? by Chanc_Gorkon · · Score: 1

    All I need is vi and maybe the Xfree86 configurator.

    --

    Gorkman

    1. Re:VI? by DaCool42 · · Score: 1

      I never use the XFree86 configuration program anymore. I always found it extremely annoying to go through all the junk in order to change one thing. Hand editing the config is much easier.

      --

      ----
      All of whose base are belong to the what-now?
  201. Screen by ovoskeuiks · · Score: 1

    I Find screen to be a very useful tool Especially when working over a dialup connection.. if I get dropped I simply reconnect and reopen the screen I was working in

  202. On the bandwagon... by c_dog · · Score: 1

    Most of my favs were covered by others (cfengine, sudo, nmap, nagios, mon, mrtg, nessus, perl, iptables, portsentry, etc.). A few I noticed were overlooked (in my quick pass through the posts) that I use almost everyday:

    * gkrellm (http://www.gkrellm.net) for visually seeing what's going on quickly
    * rdesktop (http://www.rdesktop.org/) for connecting via RDP to those pesky, legacy Windows boxes
    * vnc (http://tightvnc.org/) for remote X and Win32 shared connections for collaboration and instruction
    * ethereal / tethereal (http://www.ethereal.com) for capturing and viewing previously captured network traffic
    * gcombust (http://www.abo.fi/~jmunsin/gcombust/) a gui for mkisofs/mkhybrid/cdda2wav/cdrecord/cdlabelgen
    * netdisco (http://www.netdisco.org/) for network management, if that's your thing

    One tool I've needed only a couple of times is chkrootkit (http://www.chkrootkit.org)...but was very thankful to have it when needed. Checks for uglies that might have slipped through your security, and exploited your machine. In a perfect world, this is simply a "peace-of-mind" tool.

    One can never discount the awesome value of simply having a good browser (lynx, firefox, mozilla), and an Internet connection. http://www.google.com is an amazing tool when others are in short supply.

    Like most everyone has been saying, the tools you use have more to do with who you are, who mentored you, what you're doing, and the flavor of Linux you're doing it on...there is no "one-size-fits-all" answer...and even if there was, parts of the answer might change tomorrow. :)

  203. Solve 99% of remote problems by nottestuser · · Score: 1
    netstat -lntup
    I can't tell you how many machines I've had the misfortune to log in to where that command yeilded multiple screens work of output. Then you ask the admin, "Why are things listening on port 21, 111, 113, 137, 445, 901, and 8080?" and they say, "I duno. That's just the way it came."
  204. Re:Has to be said... [Off-Topic] by FreeForm+Response · · Score: 1

    I'd suggest using dispatch-conf instead of etc-update. It can be configured to use RCS to backup old configuration files, so if you bork one with the tool, it's easy to restore. And it will automatically merge/replace/ignore (as appropriate) trivial changes, like whitespace and version numbers. There isn't a whole lot of documentation floating around for it, but it's fairly self-explanatory and easy enough to get started with.

    I haven't looked back, myself. =)

  205. Re:More or Less ? by cyberon22 · · Score: 1

    less doesn't transparently support alternate character-encodings such as GB for simplified Chinese text.

    At least... it doesn't on my machine. So I use more :)

  206. Midnight Commander by chill_17 · · Score: 1
  207. pkgsync. by Sesse · · Score: 1

    pkgsync. Invaluable for keeping lots of Debian machines in sync with respect to installed packages. (But that's perhaps since I wrote it myself to solve my problems :-P).

    /* Steinar */

    --
    (This comment is of course GPLed.)
  208. just a few - cfg2html / cfengine / Ganglia by SiliconSlick · · Score: 1

    cfg2html - to have hardcopy of configurations
    http://www.cfg2html.com/

    cfengine - to ease management of multiple systems
    http://www.iu.hio.no/cfengine/

    Ganglia Monitoring Core and Web Frontend - makes it easy to check the status of many systems at once, even in non-clustered environments
    http://ganglia.sourceforge.net/

  209. I'm conflicted by YetAnotherDave · · Score: 1

    I somehow feel obligated to mark the parent funny, even though the joke is nearly as old as unix...

  210. Keychain by YetAnotherDave · · Score: 4, Informative

    I regularly access dozens of *nix systems (mostly linux & solaris). I love the fact that I can enter my privatekey password once on booting my laptop, and then have a tool handle all the ssh-agents in subsequent sessions. Entering one (very long and tangled :) password once is so much nicer than having to enter passwords every time I connect to a new system...

    http://www.gentoo.org/proj/en/keychain.xml

    Also, (obligatory) perl is great and larry wall is my hero...

  211. RPM by Nailer · · Score: 2, Interesting

    RPM records the MD5sum, change time, permissions, and a bunch of other stuff on every file it installs.

    This is saved into the RPM database in /var/lib/rpm.

    You can use RPM as an IDS by backing up the database to a read-only media and then use, for example:

    rpm -V coreutils procps net-tools --dbpath /mnt/cdrom

    To see if someone's installed a root kit (if someone has, they'll have to at least modify top, ps, and netstat, which are included in these packages).

    Unlike tripwire, you're not forever having to update policy files.

    1. Re:RPM by neds_dead · · Score: 1

      RPM database query !IDS

      just the facts, mam

    2. Re:RPM by Nailer · · Score: 1

      Thanks for your well justified technical opinion.

      Why is comparing the contents of files on hard disk to one off-line recorded database different to another?

      This functionality (--dbpath) was added to RPM with the aim of eliminating the need for Tripwire.

    3. Re:RPM by macdaddy · · Score: 1

      Unless your rpm command is compromised and replaced with one that either a) ignored dbpath or b) forces it to just the one in /var. They do it with ps and netstat all the time. No reason they couldn't just as easily do it to rpm. The trick is to put all binaries you need to validate your system on the read-only medium with the necessary data files.

    4. Re:RPM by Nailer · · Score: 1

      Unless your rpm command is compromised

      I thought this wouldd have been obvious, but the rpm binary works fine off read-only media (just as the database does).

    5. Re:RPM by macdaddy · · Score: 1

      It is obvious to people like you and I but to a person that's security-illiterate it's not something they know. Slashdot caters to every type so it's a good idea to speak to the lowest common denominator for discussions like these. Thinking back to when I was a newbie if I came across a discussion talking about the greatest SunOS config tools like this one I would have gobbled up every piece of information possible. If they didn't dumb it down for me though I probably wouldn't be understand the best recommendations.

    6. Re:RPM by Nailer · · Score: 1

      Point taken.

  212. /bin/sash by greydmiyu · · Score: 2, Funny

    What good is your shell without commands? :P

    --
    -- Grey d'Miyu, not just another pretty color.
  213. Top 2 for me by greydmiyu · · Score: 1

    apt-cache
    aptitude

    apt-cache to search for programs packaged up that I might not otherwise know about.

    aptitude to install them and any needed dependancies with those dependancies marked as automatically installed. If it doesn't do what I when I remove the package that installed them they, too, are removed unless needed elsewhere.

    I've learned of more new software with apt-cache than any other tool. I've kept my systems clean with aptitude.

    --
    -- Grey d'Miyu, not just another pretty color.
  214. CfEngine, PICA by Kell_pt · · Score: 0

    I use CfEngine a lot, mostly at the computer lab at uni, with about 20 machines. It scales very well. I also use it on a small network at the office, it's great to setup a workstation in a hurry. It's also good for single host admining. The Perl lovers outthere will probably enjoy PICA (Perl Installation and Configuration Agent) aswell.

    --
    "I don't mind God, it's his fan club I can't stand!" E8
  215. Too Distro Specific by POLAX · · Score: 1

    The problem with most Linux utils is that they're tied to each distro. I could easily say I love Portage or RPM but how useful are these outside their respective distributions?

  216. Nano? What about Joe! by Anonymous Coward · · Score: 1

    Nano has no utf-8 support (and I've looked at the code--it will be non-trivial to add utf-8 support). Joe
    has full utf-8 support, and a special "jpico" form that is almost 100% identical to Pico.

  217. Re:CVS (or insert your favorite alternative here) by Hatta · · Score: 1

    Passwords suck. Oh, and I have a 10 character passphrase on my privatekey that sits on my password protected computer.

    Sorry, what's the difference between a passphrase and a password?

    --
    Give me Classic Slashdot or give me death!
  218. My top 10 by vcbumg2 · · Score: 1

    try using VI

    --

    projects @ http://spectechnologies.net

  219. Rootkit Hunter (rkhunter) by MicroBerto · · Score: 1

    Everyone's posts are pretty good, but don't forget about rootkit hunter. Oh, this isn't a configuration tool, but it's good to make you sleep better at night.

    --
    Berto
  220. Re:CVS (or insert your favorite alternative here) by Paleomacus · · Score: 1

    I'm just guessing but...A passphrase can have spaces and is generally made up of words where a password is a word that may or may not be a real word.

  221. *drake by MicroBerto · · Score: 3, Informative
    OK, nobody is posting good config tools except for webmin. Even I am guilty as I first posted rkhunter.

    If you look at Mandrake, there's tons of great config tools there:

    diskdrake for disk partitioning

    harddrake for hardware configuration

    userdrake for user configging (or userconf)

    XFdrake for X config

    mousedrake for mouse config

    printerdrake absolutely rules for CUPS, better than localhost:631 if you ask me

    drakconf for ALL mandrake tools together

    rpmdrake is good for package managing...

    Oh and of course linuxconf is still nice! netconf is the network partition of that I think. The list goes on i bet

    --
    Berto
    1. Re:*drake by ReNeGaDe75 · · Score: 1

      Linuxconf? LINUXCONF?!?! The last time I used Linuxconf, it asked me if I wanted to save changes to /etc/resolv.conf after adding a user account... after that I never used it again.

      Not to mention it also had an ANNOYING habbit of changing the permissions on /var/named at random times.

      A fellow admin had to go to the colocation datacenter and bring his production web server home to fix it because linuxconf corrupted the IP config file (ifcfg-eth0) after he did something totally unrelated and rebooted.

      --
      Hypocrisy is the 8th deadly sin.
    2. Re:*drake by tweek · · Score: 1

      While I agree with your assessment of linuxconf, might I introduce you to my good friend Cyclades?

      I can't seriously imaging not having my ACS32 and PM10s at our datacenter. The only time I've come across a problem that I couldn't fix by using the ACS and PMs was because the RSA proccessor on one of our x445s died and the PM doesn't support the fucked up chinese (electrician's description - not mine) 220 plug on those servers. I've completely b0rked a router after-hours and was able to dial into the ACS, power cycle the router and then console in to redo the config. I used to be downright paranoid of kernel recompiles from afar but with everything from POST to GRUB to OS being redirected over serial, I'd have to REALLY fuck something up to have to drive to the datacenter and fix it.

      --
      "Fighting the underpants gnomes since 1998!" "Bruce Schneier knows the state of schroedinger's cat"
  222. ksysguard for monitoring? by JabberWokky · · Score: 1
    While I've used nagios, I've been seeing quite a few good things about ksysguard. I was unaware of how powerful it was until I read that linked article.

    --
    Evan

    --
    "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
  223. Re:CVS (or insert your favorite alternative here) by Anonymous Coward · · Score: 1, Informative

    10 characters??? Seiously, pasphrases should be longer. But I wasn't writing this post to flame the length of your pasphrase. I wanted to add to this by saying that keychain will save you from having to repreatedly enter your passphrase. It's a front end to ssh-agent that allows you to enter your passphrase once and have it available system wide. Normally you have to enter your passphrase for every login session. Most distributions include keychain. For a good how-to see this page.

  224. A versioning filesystem/tool is needed by Anonymous Coward · · Score: 0

    Cliff,

    It's definitely not easier or more automated, but I just HAVE to: "mkdir -p /RCS`pwd`; ln -s /RCS`pwd` RCS" in all directories where I modify configuration files, and then use RCS to manage them. I wish tools like webadmin did this underneath, or a versioning filesystem for configuration files was available.

  225. It sounds dumb, but... by Anonymous Coward · · Score: 1, Informative

    KDE's Print Manager. I've struggled for hours and hours trying to get my printer to work using the instructions from linuxprinting.org as well as CUPS documentation. I'm sure foomatic automates a LOT of stuff you'd have to do manually, but it still was falling pretty short. Such as the margins adjustment step and trying to set the hardware clipping plane... Even after I sit around with a ruler and doublecheck exactly which arrows on the page they're referring to, how do I enter stuff like "" or whatever? I tried at script's waiting prompt, and it just complained. After trying as many permutations of entering the data as I could think of, I finally gave up.

    And yes, I did try the web interface built-in to CUPS, but I would run into things like the "Location" blank. What's that? /dev/lp0? localhost? Just a comment for people to look at? It's probably in the documentation somewhere (if you even guess which piece of documentation you should look at for something simple like, say, USING the damn thing) but I must've just kept overlooking it.

    "There's got to be a better way," I said to myself. Lo and behold, KDE Print Manager. Worked like a charm. Even informed me that "location" was an optional string of text for users. Sure, Print Manager isn't perfect, but then again, who is?

    1. Re:It sounds dumb, but... by Anonymous Coward · · Score: 0

      I guess that should probably be hardware clipping boundaries. I guess I'm suffering from 3D graphics overexposure.

  226. Ahem by sparkz · · Score: 2, Interesting

    Good for you, though it's probably not a great idea to name customers on a public forum like this. Advertising "JPL have exactly 3 open ports on their firewall" isn't the kind of thing they'd necessarily choose to air in public. Just my 2p,

    --
    Author, Shell Scripting : Expert Re
    1. Re:Ahem by Anonymous Coward · · Score: 0

      Well, they *had* 3 open ports.

    2. Re:Ahem by Olinator · · Score: 2, Informative

      1. They have more than one firewall, and I didn't name the subunit of JPL.
      2. those are outgoing ports, so that's useful information only if you're already on the inside...

      Ole
  227. hrmmm by ShadowRage · · Score: 1

    e3
    pico/nano
    ps
    top
    ifconfig

    and othere I cant think of atm because I use them so much, I cant actually remember the programs, but know to use them.

  228. My favourite so far by mattyrobinson69 · · Score: 1

    yast (or yast2 for the gui), its gpl'd - does anybody know of a slackware port?

  229. These are a few of my favorite things... by Anonymous Coward · · Score: 0

    find foo | cpio -H newc -o | ssh host "cd /blah && cpio -iv"
    find . -type f -print0 | xargs -0 grep blah
    ls -c1 | perl 'while(<STDIN>){if($_ =~ /.../){...}}'
  230. make + cfengine + cvs + LDAP by MrChuck · · Score: 4, Insightful
    You don't admin a domain with "vi" [where by vi I mean all editors].

    • Task: Add this printer to 200 machines. You have 5 different un*xes (and different versions of each of those around).
    • We need to change the sudo file on 200 servers.
      no, nfs is not used
    • Update /etc/mail/access on 6 machines in 4 locations (and 3 continents). Oh, we forgot this, do it again.
    • Make sure $THIS is in the sybase's crontab on all the sybase server.
    • Patch all the Solaris 7 machines with this new patch cluster. It's urgent. (and we have 50 of those machines scattered around the world).
    • Change the (locally stored) root password on all the machines we take care of because X just got fired, but we couldn't tell you till now).
    • Rebuild the 2 HA database servers (one at a time) and make sure they have the current patches and access to the new partitions on the SAN
    vi! webmin. heh.

    My partner took the Solaris Advanced Certification tests (someone else was paying and what the hell). She screwed up the parts about AdminTool. Someone who'd been using Unix since the 80s. She came home raging: AdminTool!! If I ever hired a senior admin and they kicked up admin tool, I'd fire them before the windows finished opening.

    I find these single machine solutions quite quaint.

    No, I'm delighted to have my cfengine scripts that go through /etc/ and make sure that inetd.conf is stripped, and that rpcbind and nfs aren't running on standalone servers and that the Right Stuff is in the Right Config files and that permissions are correct.

    Best part is that I can run it again anytime later to redo that (or with '-n' to just show me what's changed).

    And if it uses CVS to pull down $Today's configs, then so be it.

    1. Re:make + cfengine + cvs + LDAP by Anonymous Coward · · Score: 0

      AMEN.

      Someone with a clue.

    2. Re:make + cfengine + cvs + LDAP by tigga · · Score: 1

      A lot of things could be done with running a ssh in a loop envoking remote sed and reloading/restarting programs/systems afterwards.

    3. Re:make + cfengine + cvs + LDAP by Anonymous Coward · · Score: 0

      Wow, good for you! Where's the line-up to suck your balls? I want in.

    4. Re:make + cfengine + cvs + LDAP by Anonymous Coward · · Score: 0
      Wow, good for you! Where's the line-up to suck your balls? I want in.
      I was gonna say. What a dick. Glad I don't work for him.
    5. Re:make + cfengine + cvs + LDAP by JWSmythe · · Score: 1


      We do changes to individual servers with scripts.. {sigh} If it takes more than a minute to do, and you have to do it a bunch of times, why keep typing it? Shell scripts are your friend.

      But hey, if they like their pretty GUI tool to do it, enjoy, and enjoy when you hose all your machines simultaniously because you sent the wrong command to all of them.

      I write scripts to do all kinds of fun things. Like, we upgrade softwares (like Apache) on heterogenos servers, and I have it down to:

      wget myserver.mynetwork.com/update.apache ; sh ./update.apache

      That's fairly easy to copy&paste, and if I wrote update.apache well, it'll do it's job without screwing up. (that's my job to write things that don't screw up)

      --
      Serious? Seriousness is well above my pay grade.
    6. Re:make + cfengine + cvs + LDAP by cashcraft · · Score: 2, Insightful

      Webmin can really screw you up though. I tried to use it on a Cobalt (old sun) server, and it totally messed the server up.

      Personally, I say that there is nothing better than a command line, your favorite text editor and Google (or any other searh engine to find answers). cfengine does sound nice, though.

      But, for those of you who dislike the command line, Linuxconf, http://www.solucorp.qc.ca/linuxconf/ works nicley for me under redhat and cobalt 5.

      And, for automation, what would we do without cron and at?

    7. Re:make + cfengine + cvs + LDAP by Anonymous Coward · · Score: 0

      Gee, I don't know, maybe fork() and then fork() and all of a sudden you have a daemon.

    8. Re:make + cfengine + cvs + LDAP by MrChuck · · Score: 1
      Right. shell scripts. Which do some things well. And suck at other things.

      If I need to make sure that a config file has a certain value, shell ain't the way to do it.

      Most likely is "cd /var/www/conf;cvs update"

      and pull down from the CVS server the entire setup I want.

      Actually, I usually want to not merge, so "sup" is your friend there.

      If I want to make sure a certain line is (or isn't) in a config, cfengine is your friend.

      Given the chance to screw it up, someone will. Shell scripts and sed does that nicely.

    9. Re:make + cfengine + cvs + LDAP by macdaddy · · Score: 1

      I've been wanting to learn cfengine for some time but haven't had the will to get through its steep learning curve. Mind sharing the non-sensitive parts of your config?

  231. Whatever I tried failed by dindi · · Score: 1

    Not because they are bad or anything, but every configuration tool has it's limits, and usually if you have control over a server you WANT CONTORL over a server, otherwise you run windows and just clickaround .. (pcanywhere or some other horror no-dialup bw sucking monster.)

    Anyway, so you install the newest apache, or ipfw, or ipchains or iptables, and you just realise that there is no option for that tiny special bit of config input that you need in webmin or whatever else you try....

    so you (ME always) end up ssh-ing and just vi /usr/local/etc/ or mcedit -ing it

    on the other hand I would say webmin is pretty decent .... and not really a config tool, but APT is your friend on a remote server where there are no handy CD-s (I would mention BSD ports system to, even better than APT (DO NOT FLAME ME FOR THAT - I love apt too))

  232. tldp by FrankDrebin · · Score: 1

    wget --recursive http://www.ibiblio.org/pub/Linux/docs/HOWTO/other- formats/html_single/

    --
    Anybody want a peanut?
  233. Re:CVS (or insert your favorite alternative here) by Door-opening+Fascist · · Score: 1

    Personally, I'm a fan of rcs.mgr. It uses a Perl script frontend to manage an RCS baackend, with all sorts of logging, roll-back, and other options.

  234. An experienced system's administrator by macdaddy · · Score: 2, Insightful

    Seriously, that's the number one configuration tool you could possibly own. It always baffles me how many "Technology Coordinators" or other official IT guys know jack (or less!) about systems administration. These are the type of people you'd never consider giving root to on a server you administer. These are the type of people that don't understand why a server that's a month old would need to have patches and other updates done on any of the hundreds of packages that run on it. (I ran into this comment again just the other day by an "admin") Hands down the best tool available on the market today for Linux system configuration is a half-assed decent administrator. That's one area where you can't afford to be a cheapskate.

  235. Just joining the club by X-Nc · · Score: 1
    Mine are, in no particular order -
    • vi(m)
    • mc
    • xterm
    • nano
    • Sprite/7-Up/Sierra Mist
    • Chocolate
    • Doritos (or any kind of flavored chip)
    • Skoal
    • More Doritos
    • Even More Sprite/7-Up/Sierra Mist
    Obviously the only real answers are 1-3 with a very occasional use of 4.
    --
    --
    If I actually could spell I'd have spelled it right in the first place.
  236. No, no! (nano nano) nanoo nanoo by timothy · · Score: 1

    I'll third or fourth or whatever here, but bend the recommendation toward nano instead. Why? Because it's free-as-in-Debian, and can therefore be ever-so-slightly more easily installed after a quick dumping of Knoppix or Mepis onto a hard drive :)

    timothy

    --
    jrnl: http://tinyurl.com/c2l8yr / foes: http://tinyurl.com/ckjno5
    1. Re:No, no! (nano nano) nanoo nanoo by ReNeGaDe75 · · Score: 2, Informative

      Nano also doesn't depend on any major packages. Pico is part of pine. And I don't want to install an entire email client that I will NEVER use (and have heard terrible things about) just to use a text editor. Nano works out of the box.

      I've also heard nano is a smaller executable and runs much faster. I haven't really tested that, however.

      --
      Hypocrisy is the 8th deadly sin.
    2. Re:No, no! (nano nano) nanoo nanoo by timothy · · Score: 1

      As soon as I hit the 'submit' key, both of those thoughts sprung to mind ;) Also, and I will assert in advance that this is only an illusion, but nano feels faster too. Which is silly, since they're both ridiculously fast, so I can't claim it's really true.

      However, PINE is not a bad mail client ... I was a PINE user for about a decade, then switched to mutt. I think overall I like mutt better (hence the switch, of course), but there are things l like better about PINE. Specifically, the actual sending of a completed message in mutt is a bit more awkward.

      timothy

      --
      jrnl: http://tinyurl.com/c2l8yr / foes: http://tinyurl.com/ckjno5
  237. Or sudo by Nailer · · Score: 1

    I set up a sudo account to let a normal admin
    * install software
    * administer networking
    * administer users
    * change ACLs of existing files

    Then set the root password to something random. An admin doesn't need R/W permission to /bin, /dev, etc - that's for the packages to install stuff in.

    Hence rm / -rf (yes, that's the proper way to rm) won't work. Cause the admin doesn't have the root password and its set to random garbage. Anything they want to do they can use sudo for.

    1. Re:Or sudo by Anonymous Coward · · Score: 0

      I think rm -rf / is right... [ra@gentoo ~] $ rm --help Usage: rm [OPTION]... FILE...

    2. Re:Or sudo by Nailer · · Score: 3, Informative

      I think rm -rf / is right... [ra@gentoo ~] $ rm --help Usage: rm [OPTION]... FILE...

      Yes, but rm FILE [OPTIONS] is much safer. Compare hitting enter to early when deleting a directory.

      Man pages are generally unmaintained. Eg, man resolv.conf says the file is generally unnecessary as most machines have a DNS server installed on them.

    3. Re:Or sudo by DA-MAN · · Score: 1

      Cause the admin doesn't have the root password and its set to random garbage.

      Let's hope you never have a disk error, where you are asked for the root password. There is a right way, and a wrong way to do things and this is definately the wrong way.

      --
      Can I get an eye poke?
      Dog House Forum
    4. Re:Or sudo by Nailer · · Score: 1

      Benefits versus disadvantages. In the rather rare case I have a serious disk error or messed up filesystem table, I can use a rescue CD.

      There is absolutely no need to have an interactive account with unlimited permission.

  238. up2date, with dir repositories by Nailer · · Score: 1

    Most people don't realize that up2date (as of EL3 / FC1) can talk to four types of repositories: RHN, Yum, Apt, or Dir.

    These are configured in /etc/sysconfig/rhn/sources.

    You can have as many sources as you want, of each type (apart from RHN, since its systems management stuff means you'd ponly want a machine subscribed to one RHN server). Dependencies can be resolved between any repository.

    Dir repositories are particularly neat - just a dir full of packages. You don't need to make indexes like you would with yum or apt. Just mention the dir in your sources file.

    up2date -i foo
    Downloads and installs package foo and all its dependencies.

    up2date -u
    Updates the whole system.

    up2date --showall
    Shows all the packages available.

  239. I second cfengine by kaybee · · Score: 3, Interesting

    Admitedly when I started writing my book (Automating UNIX and Linux Administration) I had barely used cfengine and it was going to be just a small part of my book, but it turned out that I liked it so much that it became one of the major focuses in the book.

    I think that even with as few as 5 systems it is worth the effort... especially if the systems are largely similar.

    1. Re:I second cfengine by macdaddy · · Score: 1
      Nice book, BTW. I've been thinking about writing a few books myself. Were you a proficient writer before you started or did you find that your abilities grew as the process wore on?

      I've been meaning to learn cfengine for many years now. The examples in your book have been helpful. If you write another book that talks more about cfengine you might consider adding examples for just about anything and everything you can think of. I've found that the best way to learn a tool like cfengine is by examples, lots and lots of examples. That's how I learned Procmail. :-) Nice book.

  240. You only need one command by HermanAB · · Score: 1

    man

    --
    Oh well, what the hell...
  241. I could tell you but... by scherbi · · Score: 1

    I'd have to fire myself...

    I've written 4 or 5 of my top ten favorite tools, but for the office, which means it falls under some legal stuff that says I can't talk much about them...

  242. AMEN! by Anonymous Coward · · Score: 1, Interesting

    I use pico all the time. VI and it's associated cousins are hellish to use without a manual. Nobody other than a real geek will use VI, yet it is the default editor in many non-graphical systems.

    Linux will never go mainstream if arcane tools from the 70's are preferred.

    1. Re:AMEN! by DaCool42 · · Score: 1

      I'll bite.

      Vim, emacs, etc are hardly "arcane". Have you ever looked at what these editors are capable of? Folding, regexes, marking, buffer operations, macros, compiler integration, syntax highlighting, scripting, and source tagging just to name a few.

      It is true that vim would be very difficult to use without a manual, but just type ":help" and you get a very good and extensive one. I'm not sure how good emacs' documentation is, but I imagine it would be similar.

      For all those who have never learned the features of an advanced editor, I highly recommend it. You will wonder how you lived without it.

      --

      ----
      All of whose base are belong to the what-now?
    2. Re:AMEN! by mrchaotica · · Score: 1

      but you have to learn all of those fancy commands! Most users (as opposed to geeks or admins) don't care. It doesn't matter if an emacs macro could save them 20 keystrokes, or even 100 -- they use it so infrequently that the time to learn how to make the macro is greater than the time it saves.

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    3. Re:AMEN! by macdaddy · · Score: 1

      Making your coffee, washing your dog, cooking you a 5 course meal, etc... The point is it's bloated beyond repair. What we need to a complete and total rewrite from the ground up. If people want vi to read to the kids and feed their fish then give them that ability through the use of plugins. Don't bloat it for everyone. Damn. And to think we actually complain about Microsoft bloat in Office and Windows. Vi and emacs are worse!

  243. C'mon on people by jonnystiph · · Score: 1

    Not one person mentioned 'find'. The end all be all tool, you can do so much with find. I am little sad about this, perhaps this webmin thing has made you all weak. ;)

    --

    If we don't make light of everything, we are just stumbling in the dark - Blank

  244. Re:More or Less ? by corngrower · · Score: 1

    I use 'view', which is equivalent to vi -R (vi in readonly mode) instead.

  245. Re:CVS (or insert your favorite alternative here) by Anonymous Coward · · Score: 0

    Of course, in practice, very little, as most places where you can put a "password" you can put a "passphrase", and vice versa. (Except on the Web, where every server just has to be different.)

    If you're going to have a passphrase, the intent is usually to type in a long-ass sentence which is easy to remember but harder to crack than most passwords, like, "I was born on a Sunday, but you don't need to know that, because you're a stupid hacker, hahaha, now go away." A 10 character passphrase sounds more like a password to me.

  246. My Top Ten Tools by Pan+T.+Hose · · Score: 1
    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  247. #1 by Anonymous Coward · · Score: 0

    http://www.thinkgeek.com/caffeine/

  248. Re:More or Less ? by cubic6 · · Score: 1

    Thanks.

    Now I can use my term again after my "/dev/input/mice test" during install...

    --
    Karma: Contrapositive
  249. Yeah, sure, I can think of ten... by jonadab · · Score: 1

    1. Emacs
    2. Perl
    3. ssh/scp
    4. Emacs
    5. CPAN (and search.cpan.org)
    6. screen
    7. Perl
    8. Emacs
    9. Google Groups
    10. cperl-mode

    HTH.HAND.

    --
    Cut that out, or I will ship you to Norilsk in a box.
    1. Re:Yeah, sure, I can think of ten... by EllF · · Score: 1

      So emacs is finally bloated enough that it needs three different entries on your list, eh?

      --
      We who were living are now dying
      With a little patience
    2. Re:Yeah, sure, I can think of ten... by jonadab · · Score: 1

      > Emacs is ... bloated enough that it needs three different entries
      You say "bloated", I say "featureful". I remember when Lotus 123 for DOS was
      called bloated, because it used over 100 kilobytes of RAM and over a megabyte
      of disk space.

      --
      Cut that out, or I will ship you to Norilsk in a box.
  250. What ever happened to linuxconf? by green+pizza · · Score: 1

    I used to use a little GUI utility called "linuxconf" way back when. It wasn't pretty, but it worked well and didn't consume many resources (heck, it ran well on a 33 MHz 486!). So... anyone know what happend to linuxconf?

    1. Re:What ever happened to linuxconf? by MoronBob · · Score: 1

      I also liked linuxconf. When attending the red hat road show I ask them about it and they said that they dropped it from the distribution in favor of the newer system-config tools.

      --
      Telecommuting! What about socialization?
  251. Re:CVS (or insert your favorite alternative here) by Stultsinator · · Score: 1

    I've tried keeping a central nfs share of common files, but one of the very annoying things about this is that when a box goes down the OS still thinks that the directory is mounted and will not unmount it. I'm not sure at the moment if it is the sharer or the sharee, but unmounting of filesystems is one of the vital steps in shutting down a box cleanly.

    Any advice? I think I saw some mount options that may remedy this, but I didn't have time to check it out.

  252. Re:Only one... Ark Linux Mission Control by DShard · · Score: 1

    Not to be pedantic, but if it requires X it fails the remote administration test. I have more headless linux boxes then otherwise. The overhead of X causes potential instability not to mention a WM on top of it. Any great linux config tool should keep in mind that headless is as useful as the alternative.

  253. Interesting poem, but... by jonadab · · Score: 2, Insightful

    > A is for awk, which runs like a snail
    Yeah, these days we use Perl for that stuff.
    > B is for biff, which reads all your mail
    Emacs/Gnus takes care of this, thanks. (Yeah, I know that's not really
    what biff does, but hey, it's what the poem says.)
    > C is for cc, as hackers recall
    C is for nursing along old legacy code that hasn't had the good graces to be
    rewritten in a real language yet; for new stuff we use high-level languages.
    > D is for dd, the command that does all
    I must admit that this one is still handy from time to time...
    > E is for emacs, which rebinds your keys
    Can't live without that...
    > F is for fsck, which rebuilds your trees
    One word: journaling.
    > G is for grep, a clever detective
    I admit I still occasionally use this, but Perl's regexen are more powerful.
    > H is for halt, which may seem defective
    I usually use shutdown or init when I need to do hardware maintenance.
    > I is for indent, which rarely amuses
    Emacs does this automatically, of course. Has for years.
    > J is for join, which nobody uses
    Indeed, what does it even do? From a quick look at the man page, it looks
    at first glance like a Perl one-liner, give or take a dozen strokes.
    > K is for kill, which makes you the boss
    I do still use this sometimes.
    > L is for lex, which is missing from DOS
    Isn't that one of those C things? Its days are numbered.
    > M is for more, from which less was begot
    With eshell (the Emacs shell), there's no need for a pager any longer.
    This letter should now go to man, IMO.
    > N is for nice, which really is not
    Here's another one I must admit to using occasionally. Also renice.
    > O is for od, which prints out things nice
    I had to use man to even find out what this does, and then it turns out
    to be something I'd almost never use, but if I did need that functionality,
    I could do it in a Perl one-liner faster than look up the od manpage again.
    > P is for passwd, which reads in strings twice
    > Q is for quota, a Berkeley-type fable
    Okay, those might still be relevant.
    > R is for ranlib, for sorting a table
    Definitely a Perl job, that.
    > S is for spell, which attempts to belittle
    Emacs has ispell/aspell integration these days.
    > T is for true, which does very little
    Indeed.
    > U is for uniq, which is used after sort
    Another thing we use Perl for in the modern era.
    > V is for vi, which is hard to abort
    If you really want vi (*WHY*?), Emacs has a version of it built in.
    > W is for whoami, which tells you your name
    If you need a program for that, commands aren't going to solve your problems.
    > X is, well, X, of dubious fame
    Emacs has better colors if you use X. 24-bit. Without it, 16 colors.
    > Y is for yes, which makes an impression, and
    I suppose...
    > Z is for zcat, which handles compression
    Most of us use either zip (or Archive::Zip) or gzip (or Zlib) for that now.
    We'll say zip, because it starts with z and so won't screw up the poem any
    worse than I already have ;-)

    --
    Cut that out, or I will ship you to Norilsk in a box.
    1. Re:Interesting poem, but... by yuri+benjamin · · Score: 1

      > W is for whoami, which tells you your name
      If you need a program for that, commands aren't going to solve your problems.


      Hehe.
      Actually, if you have several identities on several systems, whoami is useful for checking which uid the shell thinks you are.
      In any case, I usually have "user@host path $" as my shell prompt, since I ssh and change id with "su another-uid" quite a lot among the boxen on the home LAN.

      --
      You make the mistake of thinking you can educate the fundamental stupidity out of people. You can't.
    2. Re:Interesting poem, but... by tigga · · Score: 1
      Original poster asked about admin tools.
      The poem describes some of them. What you are answering is something developer - not admin may come with. I do not know any admin who use emacs, for example. And shell + awk + sed very often is better than perl..

      Last nit:
      > Z is for zcat, which handles compression Most of us use either zip (or Archive::Zip) or gzip (or Zlib) for that now. We'll say zip, because it starts with z and so won't screw up the poem any worse than I already have ;-)

      Actually zcat sends to stdout ungzipped content of archived file, zip or gzip can't do it (without cat).

    3. Re:Interesting poem, but... by Anonymous Coward · · Score: 0

      I'm an admin, I use emacs. Although admittedly, if emacs weren't on the system, or the system were very slow, I would use ed. Of course, I'm also a developer.

      As for zcat, gzip -dc is your friend. Note the lack of cat. zcat was always a useless command. zless, on the other hand... but again, gzip -dc file | less. But who's counting...

    4. Re:Interesting poem, but... by Anonymous Coward · · Score: 0

      > Y is for yes, which makes an impression, and
      >I suppose...

      hehehe never pissed an admin off w/ this one hmm?

      go to the most visable computers and type yes is incompetent

      and volia you've made a big impression on him ... and the mainframe >:D

    5. Re:Interesting poem, but... by six809 · · Score: 1
      I like:
      PS1="\u@\[\e[4m\]\h\[\e[0m\]:\w\$ "
      The ':' turns your prompt into a nice string to C&P as an argument to scp.
    6. Re:Interesting poem, but... by jonadab · · Score: 1

      > What you are answering is something developer - not admin

      Most of my job is admin stuff. I do some development, but most of it is
      site-specific custom development for admin purposes. I'd call that admin.
      I write Perl scripts that do stuff like make backups of important things
      and copy them across the network. Call that developer if you want, I guess.

      > I do not know any admin who use emacs, for example
      It's difficult to imagine what life as an admin would be like without Emacs.

      > And shell + awk + sed very often is better than perl
      Now you're just trolling. shell+awk+sed+grep is barely in the same category
      as Perl4 and not nearly as useful (for admin stuff, I mean) as Perl5.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    7. Re:Interesting poem, but... by Tassach · · Score: 1
      shell+awk+sed+grep is barely in the same category as Perl4 and not nearly as useful (for admin stuff, I mean) as Perl5
      Translation: I don't know to use shell+awk+sed+grep effectively, and I am unwilling to learn another tool, so therefore they must suck.

      News flash, sonny: there are *nix boxes out there in the real world which don't have Perl, and you might not be allowed to install it on them.

      Awk, sed, sh, and grep are POSIX standard commands and are even going to be available on every system which is even vaguely unixish.

      Perl is a useful language. It does a lot of things well. It also has it's warts. Sure, there are things that you can do in a perl one-liner that you can't do in an awk one-liner, but the reverse is true as well. They are different languages and each has it's strenghts and weaknesses.

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    8. Re:Interesting poem, but... by dublin · · Score: 1
      shell+awk+sed+grep is barely in the same category as Perl4 and not nearly as useful (for admin stuff, I mean) as Perl5

      Translation: I don't know to use shell+awk+sed+grep effectively, and I am unwilling to learn another tool, so therefore they must suck.


      Amen, brother. I havea personal distaste for Perl, but that's irrelevant. What *is* relevant is that I've got dozens of admin shell scripts based on the standard Unix text utilities that still run with little or no modification on virtually any machine I drop them on. Over the years they've approached a generic zenith that ensures they even work on Linux (seriously, the gratuitous GNU syntax changes introduced some of the worst incompatibilities...) I can carry these with me anywhere and run them on almost anything, even PCs, with pretty much any unix-esque shell and text tools environment.

      Not only are they far more portable and long-lasting than Perl, but installing a Unix shell environment is usually *far* easier than trying to get Perl all installed and properly running, especially on a system you're not familiar with. (Granted, this has gotten easier in the last few years thanks to ActiveState and the like, but if you're going to go to all that trouble, why not go all the way to Python? (see below))

      Lastly, shell scripts are still quite intelligible years later, is very *unlike* Perl code, which is best considered a "write-only" language for the purposes of systems administration. This is true even for very gifted programmers, like Eric Raymond, who began to favor Python over Perl explicitly *because* he could not read Perl code he had written more than a few days ago:
      These problems combined to make large volumes of Perl code seem unreasonably difficult to read and grasp as a whole after only a few days' absence. Also, I found I was spending more and more time wrestling with artifacts of the language rather than my application problems. And, most damning of all, the resulting code was ugly--this matters. Ugly programs are like ugly suspension bridges: they're much more liable to collapse than pretty ones, because the way humans (especially engineer-humans) perceive beauty is intimately related to our ability to process and understand complexity. A language that makes it hard to write elegant code makes it hard to write good code.
      From his LinuxJournal article
      Why Python?
      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
  254. Re:More or Less ? by ckaminski · · Score: 1

    Less also has this freakish tendency to do a screen-clear when you exit, making it completely useless for reference work in a shell.

    If someone has a way to make this stop, then I'll forgive less, but it still won't stop me from doing
    PAGER=more
    export PAGER
    in /etc/profile.

  255. Fully equipped bootable CD's by Antique+Geekmeister · · Score: 1

    The installation CD's for various distributions and the gentoo CD's make excellent starting points for CD distribution firewalls, system recovery tools after someone has hand-edited /etc/passwd and accidentally corrupted the "root" entry, scrubbing Windows and other machines before they leave the building, and probing new hardware configurations with a known kernel before you try to actually install the darned OS.

  256. Top 10 Linux configuration tools. by Codifex+Maximus · · Score: 1

    10. pico
    9. nano
    8. joe
    7. kcontrol
    6. ksysv
    5. kpackage
    4. knoppix-autoconfig
    3. YaST
    2. linuxconf
    1. CowboyNeal

    --
    Codifex Maximus ~ In search of... a shorter sig.
  257. That _is_ a consideration. by Ayanami+Rei · · Score: 2, Interesting

    And I would move to joe if I ever encountered a configuration file that contained anything but US-ASCII, which I have not.

    And even if I did (let's say I was looking at a file with messages in multiple languages), nano won't munge the Unicode, it would just ignore it. I definitely wouldn't be using a terminal-based editor when entering text with extended character sets in a document.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  258. infrastructures.org, cfengine, and the like by Anonymous Coward · · Score: 1, Informative

    Hi all. I prefer to answer the question as the best sysadmin tools that aren't always commonly used. Try:
    1. Go to www.infrastructures.org
    2. Read each section, and select a tool which achieves the goal of the section
    3. ???
    4. Profit

    The steps above will generate a good top 10 list.

    Alternatively, you can use my list:
    1. cfengine
    2. Templating on cfengine config files (I use perl to template them); cfengine is better than anything else similar I've tried (although I haven't tried LCFG), but it still needs perl templating to make it work properly
    3. Some kind of database; see http://astro.uchicago.edu/~davidr/cfengine-tools/l isa-paper_html/ for details (or, alternatively, use mine when I release it on the 'Net)
    4. An ACAP server: http://infotrope.clues.ltd.uk/ (ok, I admit -- I've never set up an ACAP server, but they could become increasingly useful in the future, reducing support costs and the like)
    5. Learn how not to be stupid about administration: http://users.sunet.com.au/~tsn/sysadmin/good_sysad min.html

    PS. Sorry about the anonymous posting, but this is a public terminal

  259. I would vote for... by inode_buddha · · Score: 1

    vi. Just because when all else fails, vi sems to be universal. You can count on it being there, on most any *nix type of system.

    --
    C|N>K
  260. Top ten tools for what job? by Simkin1 · · Score: 1

    I guess I'd answer your question with another question... top ten tools for what job?
    Hardware configuration OS installation Software installation Software security Software managment Network security Network Configuration . . . etc.

    Among the tools I use most often in a given day...
    ls mv cp ln make
    vi *vi tops of the list of all time most useful tools for nearly all occasions imho*
    ps netstat find perl sh cat awk sed

    as far as security, some useful tools
    chkrootkit nessus tripwire cisscan bastille guarddog netsaint snort iptables tiger sara etc.

    Networking tools?
    telnet ssh netconfig ifconfig route netstat (again) any/all of the service oriented tools... etc....

    This list could go on forever... there are just so many tools available
    ... I guess it's really the right tools for the right job, which is entirely dependent on what you're doing...

    IMHO, it would be more intelligent to give a seminar on overall system competency than tools. Programming/scripting capability, hardware understanding, understanding networking (even if only at a rudimentary LAN level), understanding the OS itself (ala where files are, file permissions, how to lock down the system at a service level, and a kernel level, etc. etc. etc.) If you have a core competency in linux and a fundamental understanding of the OS and hardware platform then toolsets become a luxury not a necessity. In the end, for me, the number 1 tool that I've used in almost any situation has been vi.
    I'd be lost without my linux OS.

  261. Make 'em Sloooow steps Mr...... by Seraphim_72 · · Score: 1

    ....and keep your mouse where I can see it.....

    --
    Slashdot, where armchair scientists get shouted down and armchair theologians get modded up.
  262. Re:Hey, I could have started with, "One word: EMAC by noisehole · · Score: 1

    :D
    But that's would be too easy.


    "The D command is unknown."

    common typo for you emacs weirdos, ':wq' would have been the correct answer.

  263. It's all about power. by rayk_sland · · Score: 1

    Probably webmin is one I would use if I would use any. It's more satisfactory to know what you actually did and edit the config file yourself. And most of the time you run into some wierdness and have to change a setting, the documentationn points you to the file, not webmin or linuxconf (which I really hate) so you have to actually understand and fix the problem.

    --
    Jedis are stupid. If they were so powerful, why couldn't they handle counseling for a kid who missed his mom?
  264. Right. by soccerisgod · · Score: 3, Funny

    My 10 favorite linux configuration tools? Let's see:

    • Left little finger
    • Left ring finger
    • Left middle finger
    • Left index finger
    • Left thumb
    • Right little finger
    • Right ring finger
    • Right middle finger
    • Right index finger
    • Right thumb
    Yapp, that sums it up nicely.
    --
    If a train station is a place where a train stops, what's a workstation?
  265. Wow by soccerisgod · · Score: 1

    I had no idea it was possible to make vi even more annoying!

    *ducks*

    --
    If a train station is a place where a train stops, what's a workstation?
  266. best tool by dillee1 · · Score: 1

    shutdown -h now

  267. Re:CVS (or insert your favorite alternative here) by dargaud · · Score: 1

    Could you please provide an example. I fail to see how version control can be used in sysadmin tasks. Yes, I'm a sysadmin (Linux/Windows) and a programmer who uses Subversion for my programs. If it's used as a kind of replication tool, why not use rsync ? Enlighten me please.

    --
    Non-Linux Penguins ?
  268. kabbala by fforw · · Score: 1
    If Perl is God, then nobody would be able to understand the bible.
    Finding god's real name by permutating the old testament is still easier than deciphering perl.
    --
    while (!asleep()) sheep++
  269. Friends have their moods... by Woefdram · · Score: 1

    Just like UNIX. Contrary to popular belief, UNIX is user friendly. It just happens to be very selective about who it's going to be friends with :)

    --

    Woefdram, l'apprenti sorcier

  270. Re:CVS (or insert your favorite alternative here) by Anonymous Coward · · Score: 0

    intr If an NFS file operation has a major timeout and it is hard mounted, then allow signals to interupt the file operation and cause it to return EINTR to the calling program. The default is to not allow file operations to be interrupted.

  271. Re:CVS (or insert your favorite alternative here) by Des+Herriott · · Score: 1

    No - in the context of SSH, a passphrase is the key which encrypts your private SSH key with some symmetric cipher. So it's used quite differently from a standard Unix password, which is just a one way hash (crypt, or MD5 on more modern systems) of your plaintext password.

    You're free to put whatever you like in a passphrase or password - but using plain dictionary words is a bad idea in either case. Longish sentences of words are much better.

  272. Re:More or Less ? by pixelbeat · · Score: 1

    10 seconds reading the man page says doing
    the following will stop LESS from doing that:

    export LESS="-X"

    You could put that in your ~/.bashrc

  273. apt-get, apt-get, apt-get by klokop · · Score: 1

    Didn't read all replies, so don't know if it has been mentioned, but: apt-get.

    1) apt-get update;
    2) apt-get upgrade;
    3) go home or close terminal / putty;
    4) ??;
    5) do profitable/fun stuff.

    --
    Passing silhouettes of strange illuminated mannequins
  274. Re:More or Less ? by warrax_666 · · Score: 1

    Unfortunately, this doesn't work in all terminal emulators (konsole is one example).

    --
    HAND.
  275. Re:CVS (or insert your favorite alternative here) by Paleomacus · · Score: 1

    I learned something on slashdot! Thanks!

  276. Re:More or Less ? by pixelbeat · · Score: 1

    Actually that should be just X not -X.
    Anyway that may be a little drastic as
    it causes no terminal initialisation to
    occur which may affect things like cursor
    keys etc.
    Other useful LESS options to add to the
    environment variable are F to auto exit if
    only one page, and Q to not ring the bell.

    If you want to turn off this "clear screen"
    thingy for all your terminal apps do:

    mkdir -p ~/.terminfo
    infocmp $TERM |
    sed 's/rmcup=[^,]*, /rmcup=, /; s/smcup=[^,]*, /smcup=, /' > /tmp/$TERM.src
    tic -o ~/.terminfo/ /tmp/$TERM.src
    rm /tmp/$TERM.src

  277. Re:More or Less ? by vern0n · · Score: 2, Interesting

    you can also type 'tack' then q this is the way i fix it

  278. I use Gentoo best tool, among others by Feadin · · Score: 1

    emerge, nano, cat, less, grep, ps, kill, nohup and of course a lot of bash.

  279. Tripwire by randori82 · · Score: 1

    Anyone out there use Tripwire? GNU version or full version. Pretty awesome program, but the real version can get a bit pricey. AFICK possibly?

  280. lanscan/ioscan?? by Anonymous Coward · · Score: 1, Interesting

    I don't use any utilities in particular for configuration. We "roll our own" scripts for server management. I use lshw, demidecode, dmesg, netstat, ifconfig, sfdisk, diff, etc. in scripts to gather system information and use vi and cron to automate updates, changes, and do routine security monitoring. No GUIs. Always interested in new utilities for gathering information from Linux systems. We use Red Hat AS. In scripts I use awk, sed, rpm, grep, scp, sftp, cut, cat, diff, df, crontab, ps, etc. Standard scripting commands and shell scripts. I hear that HP has ported lanscan and ioscan to Linux, but can not find anything about this on HP's doc site. Anyone using these? Thanks.

  281. Bash craps out at end of page and line by flyingace · · Score: 1

    Kinda off topic... But still cant find a solution.

    I studiosly use bash on AIX, HPUX, Solaris ( at work ) and on Linux (at home).

    When I telnet to any of these unix boxes Bash craps out, at the end of the page and end of line. It starts wrapping around what I type and over previous lines as the line starts to wrap. I cant even see what I'm typing.

    ZSH fortunately does not have such issues. However zsh is not prevalently used on all the boxes I log on to..

    Does anybody have a solution for this ?

    1. Re:Bash craps out at end of page and line by macdaddy · · Score: 1

      Yes. Fix your term type. AIX has some very well known issues with otherwise standard term types. I'm sure there are docs out there that explain this in better detail that I could but I can't think of any off the top of my head. That's essentially the problem in a nutshell though. Fortunately I no longer have to have anything to do with AIX (and never will again!). I do use bash everywhere though.

  282. whereis biff? by Jasperke · · Score: 1

    whereis biff? crypt at source. biff cut yacc tail, yacc cut biff finger.

    "awk!," sed biff.
    "ar, ar!" sed yacc.
    ksh, bash! man cut head, kill yacc at last, make strings.
    exit crypt, find mail from su. od. "date? yes." biff find su nice. make time, date. find su at wall. tee, talk.
    ed: "tip: find jobs, biff."
    "yes, make tar," sed biff.
    su, biff date more: touch, strip, sleep.
    "su, inetd perl," sed biff.
    "yes!" sed su.

    --
    Shamelessly stolen from:
    http://www.netfunny.com/rhf/jokes/92q1/unix ,.html

  283. No current free solutions are good enough. by Ogerman · · Score: 1

    Where are the open source equivalents to the Astaro Security Linux distro with its very friendly integrated config tools? Or consider all the pre-built (and expensive) security boxes now on the market -- such as Watchguard Firebox or Cisco products. Nothing! We have the raw materials (Linux, iptables, OpenSwan, Squid, Squidguard, Snort, Postfix, Spamassassin, ClamAV, etc.), but no existing projects make these tools usable for the majority of administrators out there -- people who are knowledgable about networking and security, but don't have an expert level knowledge of Linux and the fussy manual configuration of all these complicated pieces of software. The saying that "Linux is free only if your time is worthless" sadly *still* holds true today for many applications. The economic reality is that most small/medium-sized organizations don't have the IT resources to handle the use of common OSS as-is. Therefore, they turn to pre-built solutions--Linux based or otherwise.

    The off the cuff remark is usually, "Just use Webmin." But Webmin, at this point, is only good for the most basic administrative tasks. Most modules are half-baked and many are merely web forms to edit configuration files! Webmin does not remove the need for extensive, indepth knowledge of the underlying tools. It does not assist in integration -- such as mobile VPN + firewall rules. It is nothing more than a tool for experts to (maybe) save a little bit of time and not have to use solely ssh and vi.

    There are dozens of commercial products that make Open Source server and security tools usable to non-experts (and also much easier for experts without sacrificing capability). There is no reason why the Open Source community cannot do the same.

  284. Re:More or Less ? by dublin · · Score: 1

    "more", in its "standard" *NIX form, is forward-scroll only, among many other limitations.

    Regular "more" does have the ablity to go backwards, just by hitting the "b" key. I'm pretty sure this feature is nearly as old as the hills, since I *think* I remember using it as far back as Version 7. (*that* dates me some...) I'm sure more has behaved that way in SunOS and Solaris for many years, anyway.

    --
    "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
  285. Re:More or Less ? by d-rock · · Score: 1

    Usually terminal emulators like Konsole and gnome-terminal have a menu option to "reset" or "reset and clear"

    Derek

    --
    Don't Panic...
  286. Re:More or Less ? by tntguy · · Score: 1

    You are correct. I checked it shortly after posting but was too lazy to follow up on it. Less is still better. :-)

  287. Re:More or Less ? by macdaddy · · Score: 1

    Well, not all the time. Almost though! Apple's Terminal.app is extremely unforgiving.

  288. dselect by Anonymous Coward · · Score: 0

    apt, dpkg & lilo are useful, too.

  289. Zsh by Anonymous Coward · · Score: 0
    My shell can do anything your shell can do, but better!
    Except UTF-8.
  290. Not always.... by Anonymous Coward · · Score: 0

    The only way to make it happen every time on every VTxxx is

    echo -e \\33c

    sends a real reset command to the terminal (emulator)

  291. That is wrong in so many ways by fw3 · · Score: 1
    .. well at least 2.

    Yes gnu rm will accept 'file ... [OPTION]'.

    However this syntax is non-portable, it's not POSIX and it doesn't work on any other Unix or BSD that I know of.

    Yes in some singular instances of typos it can save your ass, however it will not do so in all instances.

    *Linux* man pages are generally unmaintained is a true statement. Not so BSDs or the Unix vendors that I have dealt with, where the standard is that if the docs aren't done, the code isn't released.

    --
    Linux is Linux, if One need clarify their dist: <Dist>/GNU Linux
    bsds are of course just BSD
  292. Re:More or Less ? by Anonymous Coward · · Score: 0

    And this works in Solaris too?

    The reason the screen is showing garbage, is because it's displaying everything in the alternate character set (man terminfo).

    The most portable way to fix this, it to enter 'tput rmacs' (Remove-Mode-Alternate-Character-Set).

    This works on pretty much every flavour of unix I've ever used (about 8 so far).

  293. Linux != Unix. Exactly. by Nailer · · Score: 1

    Linux has its own standards - the Linux Standards Base includes the FHS, Glibc, bash (I think) and GNU coreutils.

    It might not be portable to non-Linux OSs, but it'll safely fail over. I'd look at your POV as comparable to saying one shouldn't use finder in OSX as thats not POSIX either.

    Linux isn't Unix. It's its replacement.