Slashdot Mirror


Simple Comprehensive Config Tools?

Speare asks a question which may be on the tongue of many Linux newbies: "Is there anyone working on a GNOME or X gui front-end that can help organize all of the known device configurators into one comprehensive front-end? Let me point-n-click at /dev/cua2 and see if it's got a modem on it, for example." He also has some valid comments about ways Linux Distributions can improve their configurators. I too feel that a single configurator is better than multiple configuration tools. Linuxconf is a move in the right direction, but it still has room to improve. (More)

"I admit it, I'm a Linux newbie. As I write this, it is Day Two. I've been both impressed and unimpressed with the out-of-box experience. The variety of Linux I've picked up was RedHat 6.1 for my Intel machine. I hate lowlevel hardware tweaking like determining IRQs, and have hated it for 19 years, but I figured I could go through a little more of it.

Impressed:
I was pleased to find that there were gui or text-mode-gui things to help me get many items configured. There were a series of tools on most of the basics like mouse, monitor, graphics card, sound, net card, modem, ppp, and so on. If I knew the name of the tool or could find it (by using the Win32 laptop still attached to the Web), I was able to get my subsystems all working with a little effort. I'm not afraid of vi or bash or emacs, but the gui setup was well-adapted to letting me run around and choose options without having to remember or learn keystrokes like C-x C-s at the same time.

Unimpressed:
Very few things seemed to be organized, either in the online help, or the tools available. Most of the things I found were by searching the support requests on the RedHat page, not in any prepared documentation. Once I found *mention* of setserial(8), I could use it or get the manpage. Once I found the /etc/inittab(5), I could tweak it to get that graphical login that rh6.1 install didn't make. And so on, for problems I faced in an unsupported PnP Sony 17" monitor stuck in 640x480 SVGA, and other problems I've yet to figure out.

If I had a *comprehensive* one-stop-shopping place to go, it would help a lot. It doesn't have to know all the esoteric PnP techniques, it just has to know how to execute the tools that have already been written.

Perhaps it would let you browse all /dev/* entries, click on each one, and it would start the configurator tool that is responsible. Or at least point the user at what /etc/*.conf file was useful. I would hope to see loopback tests and more importantly, what to do or where to look if something's not working resources, even if they're just URLs back to the distro or author of the uberconfig tool."

244 of 358 comments (clear)

  1. SuSE? Corel? by Anonymous Coward · · Score: 1
    Isn't YaST a bit like that?

    And isn't that something Corel must have put into their distribution?

    1. Re:SuSE? Corel? by tterb · · Score: 1

      there are good reasons for not having an "all in one" config file. different applications and libraries use different config files, which is as it should be. with the source available, the question of "where do I configure nameserver?" is pretty easily answered. the resources are there, use them.

  2. KDE 2.0 by jameson · · Score: 2

    As far as I know, KDE 2.0 is supposed to have such a tool. I've only seen screenshots of it, though; can anyone else elaborate on that tool's quality?

    1. Re:KDE 2.0 by Zurk · · Score: 1

      kppp, modemtool or XISP can do it..kppp is probably the best pointer and clicker tho. and yes, it works on gnome and ships with redhat.

    2. Re:KDE 2.0 by xmedh02 · · Score: 1

      I don't know if you were referring to this (as there's way too many interesting things in KDE 2.0, like the teapot, which pops up a window and beeps when you should take the teabag out of your tea :-), but I saw there beginning of someting what looked too much like the Windows' device manager thing to my taste. You click on Properties, see "Device is operating normally" etc. On the other hand, Windows users would then have NO excuse not to use KDE. :-)

    3. Re:KDE 2.0 by Anonymous Coward · · Score: 2
      I would have to say that just because it looks like windows, it doesn't make it bad. I am not a windoze lover, however I have to work with the device manager a bit (network techie) and I can't say that I have any qualms with how they organize/display their information. It is intuitive, and relatively easy to use. I think something that *nix users tend to forget is that just because it is easy to do/use that doesn't necessarily make it bad/worse than a similar, but hard to use utility.

      I definitely think that Linux could only benefit from something like that. I have had (and still do have, on occasion) similar troubles. It isn't using the config files that is the problem, it is finding them. It only makes sense to provide some method of centrilization for configuration. Coincidental cohesion.

    4. Re:KDE 2.0 by rafa · · Score: 1
      Well, corel has included a network, and an X configuration tool in the KDE Control Center that are very good. Mandrake has Lother, which is similar to the windows device manager, and looks very nice in the screenshots. Hmmm, then there's indeed another project, but I can't find a bookmark, or a name. I remember hearing about it 6 or 7 months ago, but it seems to have fizzled. Apart from these (still external to KDE) projects, I don't think there's any such tools vbeing worked on. Riakrd

      -----

      --
      [Science] is one of the very few things that raises human life a little above farce and gives it the grace of tragedy.
  3. I guess for what you want there are at least two. by slashdot-terminal · · Score: 2

    I use debian and am a little partial to debconf which does a great deal of the important setup information for many packages. This was reventle (about a month ago) given its own package and can have various levels of importance with regard to prompts.
    However your best bet is linuconf or maybe a gnome app (sorry can't think of the name because I only used it once)
    which allowed for editing system files and such.

    --
    Slashdot social engineering at it's finest
  4. graphical admin tool by stilborne · · Score: 1

    The organization i work with/for/own a slice of is actually in the process of creating such a tool that will do all that speare is asking for and then a whole lot more. its simple, secure, graphical, network aware and... well... there is so much to say about it that you may as well just wait till its out... it will be GPLed and the release is slated for the first week of march (we have 5 full time developers working on it). watch yer freshmeat =)

    1. Re:graphical admin tool by JustShootMe · · Score: 1

      This sounds good, do you have a name for the product so we'll know what to look for??


      If you can't figure out how to mail me, don't.
      --
      For linux tips: http://www.linuxtipsblog.com
    2. Re:graphical admin tool by stilborne · · Score: 2
      right now the "code name" is olympus... the company's name is Mount Linux... so you can probably see the reason for the name @;-)

      here's a few more teasers on the software: its 100% modular, can admin more than one machine at once, and works w/Linux now and will be ported (which is trivial) to *BSD, AIX, Solaris, etc... the front end will also be ported to windows...

      if you are interested in finding out more or getting involved in the development of what is the next generation in Linux/Unix config/admin tools, drop me a line at aseigo@mountlinux.com

  5. You want good software don't you? by JustShootMe · · Score: 2

    Because the "idiots", as you put it, are the ones who buy the software, and Linux isn't going to be very commercially viable unless the "idiots" can set it up and use it. And Linux will have to be commercially viable to get the same attention from large developers that Windows does...


    If you can't figure out how to mail me, don't.
    --
    For linux tips: http://www.linuxtipsblog.com
    1. Re:You want good software don't you? by JustShootMe · · Score: 1

      Yes and look at their market share as compared to Windows. It's paltry. True, they have lots of commercially viable SERVER software, but the average end user isn't interested in that. They'll be content to let someone else do that, I could almost hear the shouts of glee when I set up an IRC server for a friend. But when it comes to end-user software, I stand by my statement.

      And I don't particularly like babysitting idiots either, but at the same time I don't like the elitism that a lot of the Linux community shows when faced with this problem. Give them what they want. Give us what we want. Everyone's happy and the world benefits.


      If you can't figure out how to mail me, don't.
      --
      For linux tips: http://www.linuxtipsblog.com
    2. Re:You want good software don't you? by Anonymous Coward · · Score: 1

      But, who's after 'market share'? Linux was not about market share, but about people writting code for fun, and to share their knowledge.
      I have no commercial interest whatsoever in Linux, and seeing the latest hype with the RedHat and VALinux IPO has done nothing but sicken me, seeing how we spend more time making things 'pretty' instead of fixing them, just so that some company can then go out there and make a wad of cash selling shares when they really never turned in any profit, nor actually have a 'real' product.
      I do not agree with windows users moving to Linux, because the learning curve is HUGE. I do not agree with people devoting a large amount of time making things as simple as 'point-and-click' because it takes away the need for a clue on the user's side.
      Look at the amount of packet kiddies out there, and the number of 'hackers' popping up allover the place simply because distributions like redhat make it easy for a clueless person to put a server online on their cable modem which will then become a happy spam relay box, a smurf amplifier, a shellbox for kidz, etc etc.
      Now tell me... is it really worth it ?

    3. Re:You want good software don't you? by itachi · · Score: 2

      Dude, at some point you never used linux before. Or unix. Or any computer. Now, unless you're really going to be starting up a seriously real psychic friends network, at some point between then and now, someone showed you what to do to make it go. What's being discussed is not turning *nix/bsd into something made by playskool, what's being discussed is how first time users are supposed to learn how to use linux without asking you for help. Frankly, with the attitude you're displaying, I think that the *nix community is better off with nobody asking you for help.

      itachi, former phone monkey who knows the difference between lusers and clients...

    4. Re:You want good software don't you? by SurfsUp · · Score: 2

      Linux isn't going to be very commercially viable unless the "idiots" can set it up and use it.

      Well, you know, I'm an idiot too, before I've had my first cup of coffee and any time I'm not paying close attention :-) Also, there are always parts of the system I've never delved in to and where I really do like to be held by the hand, even if the second time I do it I do it the manly way. The thing I like about linuxconf is, it really does tell you a lot about how the system is structured, and how it goes about doing the stuff it does. That's wonderful: linuxconf is a learning tool, for newbies, admins and hackers alike.

      When creating these new tools let's never forget that they're not just for newbies - they're going to be used by professionals as well, so let's design them according.

      --
      Life's a bitch but somebody's gotta do it.
    5. Re:You want good software don't you? by itachi · · Score: 1

      Okay, that's fair. But at the same time, have you ever known documentation to fall behind the software? Or read documentation that includes errors? What about plain old poorly written docs? If a first time user gets stuck and the docs suck, they shouldn't have to fear for their life to ask for help. Yeah, the first place someone whould go is the docs. I've heard plenty of stupid questions that could have been answered by reading the docs and wasted much more time explaining to those same schmucks that they need to read the docs first. But that's no reason to be a complete weenie. Sure, tell them to rtfm - just be polite about it, you know? Makes the world a happier place for everyone...

      itachi

    6. Re:You want good software don't you? by gatekeeper-eu · · Score: 1

      Well said! As an old acsi terminal user I felt more comfortable with the 'command prompt' for several weeks after installing NT 4 :-))

    7. Re:You want good software don't you? by JustShootMe · · Score: 1

      Nothing. But saying that newbies shouldn't even start using Linux and shouldn't seek help if they have a truly intractable problem *is* elitist.

      Sorry, I don't buy it. I answer people's questions when they ask me because it's the Right Thing to Do. I don't care who tells me I shouldn't. It's elitist for me to flame someone just because thy odn't know better. Like it or not, this is a Window's world and we'll gain more momentum by playing within the rules and changing them from within. And, again, like it or not, Windows users are mostly helpless. Blame MS, not the user.


      If you can't figure out how to mail me, don't.
      --
      For linux tips: http://www.linuxtipsblog.com
    8. Re:You want good software don't you? by helix_r · · Score: 1
      What's elitist about telling someone to read the damn instruction manual to something? It's because of people like you that we've got people who can't do something as simple as give the correct change at checkouts......

      Really, its people like you that are holding linux back from being what it should be-- a ubiquitous OS that everyone can use. Actually, I take that back. Rather, it is IN SPITE of people like you linux is moving forward as a mainstream OS.

      GET THIS: NON-PROGRAMMERS USE COMPUTERS TOO. It shouldn't hours of reading to perform simple administrative tasks.

    9. Re:You want good software don't you? by djvaselaar · · Score: 1

      Weren't you a newbie/idiot once? Or are you one of those fortunate types who built their boxen from the transistors up? Of course, you never needed anyone to answer any of your silly questions, so why am I asking these silly questions? /sarcasm

    10. Re:You want good software don't you? by Gossy · · Score: 1

      The point was that if the problem with the new box is the connection to the internet, just how do you suppose they can access linuxdoc.org?

    11. Re:You want good software don't you? by Gossy · · Score: 1

      What exactly is wrong with Linux gaining so much popularity? All it can bring is better support, both hardware and software, bringing more talent to the community.

    12. Re:You want good software don't you? by helix_r · · Score: 1
      Get this, they can run another OS! And who takes hours? I can install LInux, build a custom kernel, and configure everything I need in under 40 minutes *flex*

      Fine, then in your picture, linux will go the way of VMS and TWENEX. If you cannot understand that the usefulness of a network, OS, or anything, increases more than linearly as more and more people use it, there is nothing else that can be said to you.

      By the way, no one is impressed that it takes you less than X minutes to set-up linux. It is how you got there that is important. How much effort did it take? After answering that consider whether or not anyoneone who has full time job can realistically devote the same effort.

  6. Corel is based upon Debian silly. by slashdot-terminal · · Score: 2

    Since Corel is based upon Debian I think that the various config methods (notibly debconf and things related to apt) are the norm.
    Corel I believe has added some of their stuff for the install and probably improved the apt front end greatly with some form of gui or something.

    --
    Slashdot social engineering at it's finest
  7. Monitor by Neopol · · Score: 1

    Try using Xconfigurator for you video problem. Make sure you know the type of video card and how much memory is on it first though... It will then ask you what type of monitor you have. 17" Sony is one of the options

  8. Re:stop whining and start coding!! by JustShootMe · · Score: 1

    This is a person that was brand new to Linux. You can hardly expect someone like that to just dive in and write it. You were new to Linux once, right?

    I swear, it's attitudes like these that make me wonder how Linux ever got anywhere.


    If you can't figure out how to mail me, don't.
    --
    For linux tips: http://www.linuxtipsblog.com
  9. What about... by Ded+Mike · · Score: 1

    the new 7.x release of Mandrake w/ Cooker (beta), DrakX, linuxconf and Econf as defaults?



    --
    Remember guys, this is Amerika. Just because you have the most votes, doesn't mean you get to win.--Fox Mulder
    1. Re:What about... by Ded+Mike · · Score: 1

      When was it not? 16-bit legacy code tied to the kernel=16-bit OS!

      --
      Remember guys, this is Amerika. Just because you have the most votes, doesn't mean you get to win.--Fox Mulder
    2. Re:What about... by Ded+Mike · · Score: 1

      It's amazing how illiterate you Redmondite Anonymous Cowards (operative word: _COWARD!_) are: the plural of nazi is Nazis, and, since it's a political movement/party, it's _CAPITALIZED,_ you jerk!

      As to your question; i.e.: "...clue..."
      a.) What are your qualifications to critique my _OPINION_ (that's often what a SIG file is).
      b.) Where is your sense of humor, or did Billy take it away from baby-snookums, along with your soul, when you were Borged?
      c.) I have a _VERY_ good idea of what W2K is: besides the bit o' doggerel that is my SIG file, I believe that it is the next great threat to corporate IT, corporate IT budgets, and will accomplish all of the horrors that Y2k was supposed to (for those misinformed or stupid enough to deploy it).
      d.) Want a bit more respect, you sniveling little sissy? _SIGN YOUR NAME TO YOUR POSTINGS!!!!!!_ Otherwise, SHUT UP, you cretinous ball of MS slime!!!!



      --
      Remember guys, this is Amerika. Just because you have the most votes, doesn't mean you get to win.--Fox Mulder
  10. Not all of windows is idiot proof. by slashdot-terminal · · Score: 2

    If you think this is the case look at all win32 api documentation then tell me about it. Generally the user interface in windows is more idiot proof than most (except the mac). However it does not mean that any idiot could do anything they want from the OS in an idiot proof manner.
    What must be stated is that if all you want is to play games then you can easily do this in liunx in an idiot proof manner. However if you want to do something complex in a simple manner you may be stretching it. Any OS that tried to do something complex in an idiot proof wawy usually fails because of the complexity or because of lacking flexibility.

    --
    Slashdot social engineering at it's finest
    1. Re:Not all of windows is idiot proof. by JustShootMe · · Score: 2

      I'm not saying to make it "idiot-proof". I like linux precisely because it gives me such fine control over the OS. I"m just saying that there's no reason not to give the idiots the tools to stay away from that kinda control if they don't want it. Maybe like two layers - one idiot-proof, but you can drop into the more detailed version if you want it...

      I see nothing wrong with making it appealing to the "idiots". We don't have to sacrifice anything but our elitism.


      If you can't figure out how to mail me, don't.
      --
      For linux tips: http://www.linuxtipsblog.com
    2. Re:Not all of windows is idiot proof. by m3000 · · Score: 1

      I also wonder that sometimes too. I use and love Linux, but really, what does it offer the regular user other than stability? And considering a "normal" user isnt' doing anythign terribly important, rebooting isnt' a huge deal. "Oh gosh, I just wasted 2 minutes of my life, drat". Why should a Windows user have to learn totally new things, and deal with an (IMHO) inferior browser? Why should they give up support for some of the things they are used to like Windows Media Player files, Quicktime, and other WIndows only plugins? There really isn't a good reason for a regular person to switch to Linux.

  11. How about a collection of applets? by MrHat · · Score: 2

    I've played around with Linuxconf and the Gnome configuration tools, and have been generally unimpressed with the "embed everything into one tabbed panel" approach of the two. I use simple console-based tools or vi to edit the config files, but would welcome a set of *loosely integrated* tools, each specialized to work with modems, mice, etc. under X.

    One approach, although windows-like, would be to make each applet a dynamically-linked library. A central "control-panel" applet could enumerate the shared libraries in a directory, calling some function like 'struct cp_ops init_panel(void);" to get a list of the functions to call for opening the applet, closing the applet, or assigning the applet an "owner window" (if such a thing exists). Among the "struct cp_ops" members could be a name, description, etc. This would be highly extensible, and wouldn't be limited to any one "master" application: other client programs could easily link in the "official" control panel operations, or simply reimplement them by calling into the applets directly.

    I'm sure there's some really good argument for the ORBit/COM-like OO approach to configuration tools, but in practice I just haven't seen it work. If the embedded applets wouldn't do funny things like disappear when I press OK (GNOME), I would probably be singing their praises right now.

    Is the aforementioned (and simple ) approach adequate? Is there some use or situation for which it would fail?

    1. Re:How about a collection of applets? by stilborne · · Score: 1
      heh... i'm part of a team developing linux/unix config tools right now and this is similar to the approach we have taken when it comes to the diversity of "things" to admin/config.. it only makes sense... every module in our software is a shared library, gets its own window and relies on the core client to actually communicate to the machine(s) (file i/o, networking, etc) =)

      our software will be out (GPL'd of course!) first week of march... company: Mount Linux... software is currently code named olympus (because we developers can't come up with a better one at the moment.. too busy having fun coding the damn thing)

    2. Re:How about a collection of applets? by CaptnMArk · · Score: 1
      I agree with this. A single-configuration-tool approch is not scalable, both in maintentance and also in GUI complexity. (I never liked linuxconf and both GNOME and KDE control centers are not much better).

      We need simply a folder (hierarchy) with icons for all configuration applets. And good documentation of what is available where.

    3. Re:How about a collection of applets? by Malc · · Score: 2

      I agree. There needs to be some central mechanism. Take PPP for example. I use KPPP under KDE. It's very easy to setup etc. Unfortunately, if I don't have X running, etc, I don't have easy access to my dialup. This wouldn't irk me so much except all of the PPP utilities/applications all seem to go through mechanism of pppd/chat and the associated files.

  12. Webmin by dw · · Score: 3

    Webmin is an excellent configuration tool that everyone should check out once. It's particularly good at configuring server processes such as sendmail and DNS.

    http://www.webmin.com

    1. Re:Webmin by JustShootMe · · Score: 2

      I've used webmin. It works but I found it very lacking in a lot of respects. It's not easily configurable and it's not under the GPL, you're not permitted to redistribute your changes.

      I gave it to the support staff where I used to work... they didn't like it and I came to realize it was a mistake.


      If you can't figure out how to mail me, don't.
      --
      For linux tips: http://www.linuxtipsblog.com
    2. Re:Webmin by dennisp · · Score: 2

      Also, since it's written in perl, it's pretty easy for even the novice perl programmer to create their own modules. From qmail to my own application servers, it works very well.

      Of course, it's pretty easy to just make a cgi or php application to do similar administration.

      Besides webmin, I also have almost everything on my system automated. From splitting logfiles and creating reports, to easy additions to config files, to little crontabbed scripts that ensure a daemon is working, to *cough* automated logging of user commands upon executing commands or connecting to ports they shouldn't be, to adding new ip's to an interface as well as the rc, to simple changes to the adduser script to meet my requirements for new users...

      These are things anyone can do with a bit of practice.

  13. As long as regular configuration files still work by dpilot · · Score: 2

    Automation and GUIs are great, as long as the "traditional methods" don't get broken. SMIT on AIX can be great, but some of the /etc stuff doesn't work, any more. Even worse, some of that is still there. So I would say that any GUI config tool should work through existing /etc stuff rather than around it.

    RedHat skirts around this issue, a little. The regular /etc stuff is there and works, but it was typically machine generated. The original data is often back in /etc/sysconfig, and if you use linuxconf again later, your changes are ignored and wiped over.

    --
    The living have better things to do than to continue hating the dead.
  14. You can still use ed/vi/or cat >conffile.ext too. by slashdot-terminal · · Score: 2

    All these add are gui *front ends*. Meaning that nothing changes. Thank you.

    --
    Slashdot social engineering at it's finest
  15. Re:Why bother wasting time? by soulsteal · · Score: 2
    This isn't about idiot proofing Linux, it's about making it user-friendly. The only way Linux will become commonplace (more so than it is) is if ordinary people can use it and if it does a better job of what they need done. Sure if Linux stays mysterious and difficult to Joe SixPack, then it will remain on the outskirts of what is standard. This is what I hate about the little percentage of assholes in the "linux is sooper leet" group. They think that just because someone needs a little bit (or maybe a lot) of help with some small things that the people asking for help are automatically idiots and don't deserve the help. Ok, so maybe some people don't have the computer aptitude to install Linux and tweak it instantly on the first try. And maybe they don't grasp concepts of Linux as fast as others, but as long as they're trying to make steps in the right direction for themselves, I say "more power to ya!"

    As for myself, I've tried Linux several times on different occasions and concluded that it was a neat OS to run but my Win NT box is doing everything I need it to at the moment and it hasn't crashed once since I rebuilt my computer. If Linux offered better performance over NT on most of the things I use it for, then I'd have cause to switch but as it stands Win NT suffices.

    Make it user friendly for the masses but first make sure it's what they need.

  16. Tools or Docs? by itachi · · Score: 4

    I don't really have an answer here, more of an expansion to the question, I guess. Since tools like linuxconf can be so dangerous (big gaping security hole waiting to be exploited in the machine isn't properly configed, and who is going to be most likely to not know what config is dangerous? First time users. Not to mention breaking things that you don't understand...), is that really the best answer? I think that a better solution to this would be a very detailed set of installation and/or config documents. For some things, this isn't that big a deal - if you can't get quake3 running in the first 20 minutes the machine was booted into *nix/BSD, you'll live. But if you don't know how to deal with basic config and setup, you can leave yourself open to being rooted, and that is a danger not only to yourself, but to everyone who has a computer that is network accessible from yours. Not a problem for the home box with nothing but loopback, but a serious problem for someone installing linux in their office, or on a college campus, or attaching to a DSL or cable modem. Personally, the way I first did this was by looking for man pages associated with everything in /etc. But that's time consuming, and there's plenty of stuff you don't learn that way. I suppose that for a given item you want to setup, that might not be that bad a method, for the moment. Still, I like the notion of a big pile of documentation. IIRC, red hat used to sell a package where you got these two immense reference manuals along with the distro cd and some other cds of software. Something like that would be good for a first time install, I think. Although it would have to be done just right - easily cross referenced, available in text or digital form, and up to date. Having meandered about this notion, I think it'll never happen, because it is that most feared and hated part of the programming project - documentation. Bummer, dude.


    Now, in an attempt at answering, I would say that YaST is a really good tool for this, although I don't know if it can be shoehorned onto anything other that suse. YaST is fun and fabulous, although it doesn't do everything. But what it does, it does nice.

    itachi

    1. Re:Tools or Docs? by Malc · · Score: 2

      "I think that a better solution to this would be a very detailed set of installation and/or config documents"

      I disagree. I think that is a great solution for you or me. I like good technical documentation. Unfortunately that's not a good solution for the average user. I want to see Linux grow, and that means attracting the average user. Take my girlfriend for example: she loathes computers and no matter how hard I try, I make little headway. She doesn't understand very much about computers and so the Microsoft setup solutions work quite well for her. They generally try and configure the machine for the lowest common denominator (which is probably one reason why we find them so frustrating). They judiciously use wizards with very simple questions and instructions. The last thing that she wants is to wade through pages of documentation that goes in to detail that she doesn't care about.

    2. Re:Tools or Docs? by itachi · · Score: 1

      Actually, I was thinking about it, and something sort of like everything.blockstackers Something dynamic that any number of linux users can add to, it's searchable, etc. Have you ever seen the owners manual in a Saturn? The index looks like it was written by a bunch of people off the street, but to the non-gear-head, it's perfect. Gear heads can figure out what they're refering to when something is listed in the index by a description, and the car-oblivious can make figure out the proper name of the thing hooked up to the other thing with the stuff coming out. Alright, well, the index is better written than that. But you see what I mean, right?

      itachi

    3. Re:Tools or Docs? by Khelder · · Score: 1

      I agree that more docs would be helpful, esp. when Something Goes Wrong. However, it's not sufficient, esp. for newbies, because the truth is that people don't read documentation (and not just newbies).

      I think the tools need to be smarter about figuring out reasonable defaults and making the common cases trivial. We *have* a solution for experts working in bizarro conditions: edit stuff in /etc manually.

      Writing config programs that are smart and make things really easy for someone who has never seen Unix before is difficult and (IMHO) is for many hackers not as sexy as lots of other projects out there, thus it hasn't been done before. (Perhaps an even more important reason is that the people most competant to write such tools probably don't need them.)

      If Linux is going to "conquer the world", it has to be more acceptable to the people whose VCRs still blink "12:00". (Ok, maybe it doesn't have to be literally easy enough for exactly that group, but it does need to move *much* more in that direction.)

  17. Re:stop whining and start coding!! by wackyboy · · Score: 1

    That's really a fairly lame thing to say. The simple fact is that there is a lot of stuff out there in relation to Linux that even keeping track of it all sometimes blows my mind.
    Then you have to know how to code. I think it's asinine at best to assume that every Linux user needs to be a programmer. Not everyone who wants to use a robust quality OS like Linux has the time or inclination or knowledge to write code.

  18. Re:As long as regular configuration files still wo by slashdot-terminal · · Score: 2

    There are always ways to get around GUIs but they are usually not easy. All it takes is some knowledge about what the config file looks like and then you can edit it.

    --
    Slashdot social engineering at it's finest
  19. please, please be careful! by KGBear · · Score: 3
    That kind of questions, coupled with what the guy finds 'impressive' and 'not impressive', is exactly what I fear most about the future of Linux.


    The impression that everything is not organized comes from someone who knows nothing about Unix; I mean, "once I found /etc/inittab".


    I understand the need the GUI generation (and most of non-geeks) have for easy to use tools, especially if Linux wants to take over the desktops (which I'm not sure is a good idea anyway), but I really worry about it turning Linux into something it's not, which is difficult to use for the experienced user.


    Please be careful with automated tools. To try to put all the Unix miriad configuration files under ONE tool has a huge potential for chaos. It's almost inevitable the thing is going to get out of sync as already happens with linuxconf, unless you refrain from doing any kind of configuration by hand.


    My feeling is that half the problems of the Windows family are caused just by that - the GUI and the need to make everything easy.


    Maybe if Linux would split into 2 things, one of them being what already exists and the other some distribution for the masses. If something like this does happen, I'll bet anyone the version for the masses will not be nearly as stable and flexible as the original design.


    Please, guys, make your install/config tools, but be careful!

    1. Re:please, please be careful! by Kyobu · · Score: 1

      It doesn't need to split! That's what distributions are for. Debian and Slackware are for the textmode purists, and Red Hat, SuSE and Mandrake are for the newbies and non-masochists. They're both great, and there isn't a need for them to fork. SuSE & Co. can just take programs from Debian, while adding their own GUIs and stuff, which the hardcore will then ignore, but which will convert lots more people. That's the way the world goes 'round.

      --
      Switch the . and the @ to email me.
    2. Re:please, please be careful! by costas · · Score: 3

      Why is a GUI a bad thing? I totally disagree with you that the GUI and the need to things the 'pretty' way is what makes Windows unstable. What makes Windows unstable is that it is a huge engineering effort, accomplished by one company and closed to outside scrutiny. It's like Ford kept developing cars with the hoods shut off and explossives triggered to the hood ;-)...

      GUIs are good. Humans primarily rely on visual information, not a buncha #s and ;s and ugly Unix-y text files. I've been administering/using Unix boxes for a decade now: I am sick, sick and tired of all the different little syntaxes and quirks thrown into every configuration file (Sendmail is the champion of quirkiness, of course).

      Stop the madness! You can/should/have to standardize... even win16 had a consistent *.ini file syntax that made sense even if you had never seen the application before. Why can't Unix standardize? why not Linux? not only it will help admins, it will make the creation of a GUI layer on top, much, much easier. As things are now, every utility needs a parser to make sense out of its config file...

      Better stop ranting now... I am going back to my POS 98 laptop, fondly remembering the days when a reliable, pretty, configurable Unix still existed: it was called NeXTStep :-(...



      engineers never lie; we just approximate the truth.

    3. Re:please, please be careful! by Simon+Brooke · · Score: 2
      Better stop ranting now... I am going back to my POS 98 laptop, fondly remembering the days when a reliable, pretty, configurable Unix still existed: it was called NeXTStep :-(...

      Oh no, oh no, oh no, oh no... I hated NeXTStep with a passion, and the reason I hated it was that fscking lusers would use those pretty graphical administration tools to get themselves into configuration messes that those same tools couldn't get them out of. And you'd be called in to find a totally crashed machine that wouldn't boot, and the luser twittering on about how he 'just did this'. So after considerable mucking with the bootloader you finally get the thing up into run-level one, where you don't have any access to the pretty graphical user interface and - whoopee! you can't fix any bloody thing because the config files are not ascii text anymore, they're some horrible undocumented binary format.

      No. Not NeXTStep. Not anything like NeXTStep. And may Steve Jobs have his fingernails and toenails pulled out slowly one by one over a hot fire for even thinking of it.

      There's two things here. Firstly most people are not competent to configure a computer, don't have time to learn to be competent, and don't want to learn to be competent. It isn't their job and they shouldn't have to do it, and most important of all they shouldn't be provided with tools which make it look as if it's easy. It just inherently isn't easy.

      Second of all, configuration files should remain simple ascii files which can be manipulated by a competent person even on a totally crashed machine. If you must write pretty graphical front ends, make sure that they keep their config in plain text files, and make sure they can still parse those files even after they have been human edited (provided the human is competent enough to follow the syntax rules, of course).

      --
      I'm old enough to remember when discussions on Slashdot were well informed.
    4. Re:please, please be careful! by QE2 · · Score: 1

      Oh no, oh no, oh no, oh no... I hated NeXTStep with a passion, and the reason I hated it was that fscking lusers would use those pretty graphical administration tools to get themselves into configuration messes that those same tools couldn't get them out of. And you'd be called in to find a totally crashed machine that wouldn't boot, and the luser twittering on about how he 'just did this'. Er...Maybe you didn't hear about user accounts yet?

      --


      -------------------------------------------------- --------
      It's life Jim, but not as w
  20. How much do we want it? by JamesSharman · · Score: 4

    I think we can start of with a sem-apropriate quote from Brian Behlendorf:

    ``The great thing about mod_rewrite is it gives you all the configurability and flexibility of Sendmail. The downside to mod_rewrite is that it gives you all the configurability and flexibility of Sendmail.'' -- Brian Behlendorf
    Apache Group
    The point I'm trying to make here is that traditionaly under unix configuration has been quite a complex thing. Practicly everything under wintel has been designed with a cutsie little 'properties' dialogue in mind. Most of the time under unix the system and tools are vastly more configurable. Just look at the network thingy in a windows control panel, it's unwealdy, obease and not entirely effective at getting the job done, now imagine what it might look like under linux with the 10 fold greater flexibility the architechture lends to configuration. It may well be possible to design simple dialogues to hland the simple stuff like ip address, dialup and the like (effectively just the definitions at the top of all the config scripts and a few enable dissables). What you are unlikely to see however is an 'apply' button that asks you to 'please wait while I recompile the kernal', it's just plain silly. A certain degree of configuration can be hidden from the user by dialogues but until some big changes under the hood are implemented sooner or latter your going to have to roll your sleaves up. The question you then need to ask is how much flexibility are we willing to sacrifice for user friendliness?
    1. Re:How much do we want it? by Fnkmaster · · Score: 1

      But, interestingly enough, most of the kinds of changes being talked about here wouldn't require kernel recompiles. Changing IP address, setting up a modem, etc. all are much faster to do in Linux than in Windows, where 3 or 4 reboots are sometimes required (Don't believe me? Try installing a Proxim Symphony card). In Linux it's as simple as editing the correct config files and ifdown/ifup. But the tools out there that do this stuff, Linuxconf being the most general purpose one, are inadequate or unwieldy.

    2. Re:How much do we want it? by DMuse · · Score: 1
      Practicly everything under wintel has been designed with a cutsie little 'properties' dialogue in mind. Most of the time under unix the system and tools are vastly more configurable.

      Yes and no. For Win32, all the simple things are designed for property dialogs but they are just a cute front end for the registry. Granted the registry is by no means for the faint of heart but at least everything that counts in in one place. In the registry Win32 gives you the same frightening control what UNIX does.

      If only it was better documented {sigh}.

    3. Re:How much do we want it? by philg · · Score: 2
      Saying of Windows that "everything is in the registry" is similar to saying of Unix, "everything is on the file system". Everything's in that one place, but it's a big, complicated place. (That is one of the central points of Unix, anyway -- that everything is a file.)

      If you look at it this way, Windows has the same problem the Unices, but it has a way around it. (The difference is that Unix started with the problem, and MS retrofitted it in. :)

      Documentation, as you imply, is important. Unix documentation, although not centrally organized, is all over the place; OTOH, there are many things about MS products you don't learn unless you take their courses or buy their resource kits. (Or someone who has shows you.)

      If I were Bill or Steve, I would trade the dollars for the knowledgeable user base. No, wait. On second thought, if I were either of those two guys, I'd quit my job tomorrow, buy a bunch of secluded land, and build a palatial high-tech hermitage. Hey, wait....

      phil

    4. Re:How much do we want it? by Malc · · Score: 2

      "Documentation, as you imply, is important. Unix documentation, although not centrally organized, is all over the place"

      But under UNIX I can add it to my MANPATH and use man -k. Etc. There is no way under Windows for searching all of the help on the machine.

    5. Re:How much do we want it? by Frodo · · Score: 2

      The point here is that you can ease even sendmail config - see various m4's for it, for example. Or even write soem GUI that would mirror 1-1 all sendmail.cf capabilities but won't force me to remember what exactly :$( $) means, but replace every sendmailoglif with nice helpful button. That won't harm any on the configurability but would largely enhance usability for occasional user.

      --
      -- Si hoc legere scis nimium eruditionis habes.
  21. lack of GUI a plus by acarlisle · · Score: 1

    When I first installed Linux, I knew very little about the nuts and bolts of an operating system. Having been a Mac user for years, I had no idea as to the workings of an OS, how an OS did the things it did. Using Linux (LinuxPPC) forced me to quickly develop an understanding of the things that make an OS tick.

    IMHO, I like the lack of GUI config tools, and, with the exception of kernel config, I hardly ever use them.

    1. Re:lack of GUI a plus by cgray4 · · Score: 1

      I agree. Using Linux has taught me the way an OS works as well. But what about the people who only want to use Linux for email, word proccessing, etc.? For example, my dad has been programming for years, but he just doesn't care about the details of the files in the /etc/ system. If he was alone on the computer I don't think it would work.

      It seems to me like the thing we need is a) some well organized documentation so that people can learn about their system and b) a GUI tool that lets people configure their system without getting their hands dirty.

      Linux is supposed to be about freedom of choice, right? Why not give people the choice to learn or not? We shouldn't be forcing people to do anything.

  22. GUI Tools versus config files by olmy · · Score: 3

    Although I can appreciate many people's desire to
    have GUI config tools to help with configuration
    in linux (devices, xwindows, daemons, startup, etc), I'd like to point out the following:

    most GUI tools of this ilk are linux-specific.
    One thing I always tell friends (esp. when configuring apache, bind, sendmail, etc) is that
    they should go straight to the config files. One
    of the strengths of linux is that configuring it
    gives you an introduction to other unices as well.

    If you can configure apache's httpd.conf on linux,
    then you can also configure it on freebsd, solaris, aix, and just about any other UNIX it will port to. That's a valuable skill to learn --
    and one that the GUI tool won't help you with.

    By all means, play around with GUI configurators,
    but learn what they actually configure and where.
    Look at the config files. Learn to configure these
    things with vi and you'll go a long way towards a
    wider world.

    (one thing I did like about AIX Smit is that it
    displayed the CLI syntax once it kicked off a
    configuration task -- not bad).

    1. Re:GUI Tools versus config files by ^me^ · · Score: 1

      Waitaminute. The idea behind the GUI configurator is to make it easier for a newbie. Would you see a converted M$ user, like, a 10 year old kid, running or having a shell on an AIX box? I really don't think so.

      --
      No one ever says, 'I can't read that ASCII E-mail you sent me.'
    2. Re:GUI Tools versus config files by Kyobu · · Score: 1
      most GUI tools of this ilk are linux-specific. One thing I always tell friends (esp. when configuring apache, bind, sendmail, etc) is that they should go straight to the config files. One of the strengths of linux is that configuring it ives you an introduction to other unices as well.

      So? Most people aren't installing Linux so they can be a Unix sysadmin in 21 days. They're installing it because they want to run Linux. Not because they want to run HP-UX. Presumably, they will have to configure each box one time. Therefore, they're probably not interested in the contents of /etc/ypserv.conf . They just want to be able to play Quake and read Slashdot. At least, that's what I want to do.

      --
      Switch the . and the @ to email me.
    3. Re:GUI Tools versus config files by olmy · · Score: 1

      Both posts suggest that there's some either/or
      proposition here. Use a GUI or use the CLI. I
      certainly don't pretend that to be the case. As
      indicated in my post, use the GUI tools, play around with them, get started, but learn what they
      do!!!

      One of linux's strengths (and one of the reasons
      for its appeal) is that it empowers the user with
      knowledge and control over the OS. A GUI can
      be of immense help to the linux novice. It can
      also be too much of an abstraction.

      While I agree that not every linux user wants to
      be a UNIX sysadmin, I don't subscribe to over-
      simplifications that they just want to run quake and surf the web. There are just as many new users
      that want to "get into" UNIX, linux, and the
      technologies that are so successful on these
      platforms.

      Then, there are also new users that want to be
      UNIX sysadmins. ;-)

      These are some of the reasons I hold smit up as
      an example of a good GUI tool. It supports the
      users who don't care about the internals, but it
      also helps instruct the people that do.


    4. Re:GUI Tools versus config files by GypC · · Score: 1
      They just want to be able to play Quake and read Slashdot. At least, that's what I want to do.

      Why do you feel the need to run a full-blown Unix server for this? Why not just use a Mac?

      You remind me of those guys who buy a big-ass riding lawn mower to mow their tiny little patch of grass out front of their townhouse... except they usually don't complain about how hard it is to fix compared to their old push-mower.

    5. Re:GUI Tools versus config files by AntiNeutrino · · Score: 1

      >While I agree that not every linux user wants to
      >be a UNIX sysadmin...

      how true, HOW TRUE!!!
      THat is the whole point. And some do, ok fine., Here's my suggestion:
      A split window in the GUI. On the left, you click on check boxes, select from pulldownmenus etc, and on the right, in a text window, it displays the file you are editing while you are clicking..

      --
      I can't even remember what it was I came here to get away from - Bob Dylan
    6. Re:GUI Tools versus config files by pheonix · · Score: 1
      "By all means, play around with GUI configurators, but learn what they actually configure and where. Look at the config files. Learn to configure these things with vi and you'll go a long way towards a wider world."

      I think it's important to note, however, that delving deeper into the OS itself is something that should be left up to the end user. If they simply want a stable, fast, strong OS, they should be able to get one without a CS degree. Yes, many of us are fine with using the config files, but those of us that do that would do it whether or NOT there was a GUI config tool.

      We need the GUI tool for the people that are stuck in WinOS because, at least they can figure out how to make the often necessary mild config changes with an intuitive GUI interface. We don't need it for those that are 'in the know', we need it for those that don't even wish to be 'in the know', the AVERAGE user.


  23. Re:As long as regular configuration files still wo by stilborne · · Score: 1
    yes... mucking with files this way is Not Good.

    any gui tool in unix (imho) should always allow the user to hand edit the file in question if they want to... there is not reason not to, really...

    also, conventions must be kept to and prior modifcations/changes should be respected and held to.

  24. Simpler installation open doors, but by Etam · · Score: 2
    Linux is quite complex and to simplify the installation too much would deprive people to use it for more complex setup. An example is RedHat 6.1 compared to 6.0, to make it more "easy" to install and less chance of going wrong, users are prevented from running fdisk during installation. (RH are you listening? Put it back...)

    Simpler installation attracts people like the "newbie" who want to try things, but it frustrates more experience users. There cannot be a one size fit all distribution, Corel tries to address the naive user market, RedHat tries to address moderate to experience user, etc. If he has installed Corel instead, he don't even have to deal with /dev stuff.

    --

    - Etam

    1. Re:Simpler installation open doors, but by ShinGouki · · Score: 1

      An example is RedHat 6.1 compared to 6.0, to make it more "easy" to install and less chance of going wrong, users are prevented from running fdisk during installation. (RH are you listening? Put it back...)

      last i looked there was a "Use fdisk" button in the install...as well as the old X staple, ctrl-alt-f2
      -dk

      --
      -dk
      Dream with the feathers of angels stuffed beneath your head.
    2. Re:Simpler installation open doors, but by Etam · · Score: 1
      last i looked there was a "Use fdisk" button in the install...as well as the old X staple, ctrl-alt-f2

      Oh I was just whining because they took away that fdisk button in the text install. The ctrl-alt-f2 still switch to bash, both for text and X install :c}

      --

      - Etam

    3. Re:Simpler installation open doors, but by ShinGouki · · Score: 1

      iirc, in the text install, it should just be alt-f2 :P

      besides, the gui install isn't that bad...is probably a difference of about four minutes or so for me, so i don't rilly mind it ;)


      -dk

      --
      -dk
      Dream with the feathers of angels stuffed beneath your head.
    4. Re:Simpler installation open doors, but by periscope · · Score: 1

      If you want to run fdisk during rh install, simply nfs export a directory containing the required tools from another server and mount it on the box you are installing in. You're fussing, but I get your point.

      --
      http://www.jonmasters.org/
  25. Config tool should not require X by Anonymous Coward · · Score: 1

    Any linux config tool should not require X *cough*redhat*cough*mandrake*cough*. Some of are trying to set up Linux on 486s or 386s with 4MB or 8MB of RAM with small 135MB hard drives. I ain'ts gots no steenkin' room for X.

    1. Re:Config tool should not require X by Anonymous Coward · · Score: 1

      Umm... then maybe you shouldn't be using mandrake. It will be very poor on a 486 anyway(586 optimised binaries). Mandrake is designed for relativly modern systems (hell, they include support for SBLive cards and 3D accelerators in their default kernel build), other distros, such as mulinux, are tailored for lo-resource systems.

      That's one of the things about linux - the different distros (except maybe debian, whose name is legion... ) don't try to be one-size fits all. Mandrake explicitly says it is for the high-end.

    2. Re:Config tool should not require X by helix_r · · Score: 4

      You can have your cake and eat it too. The existence of easy to use graphical tools does not necessarily mean that text-based tools are going out the window (no pun intended).

      Face it, some things are just a nightmare in linux. For example, making it so that you can have decent good-looking fonts in X requires a brilliantly written 20+ page how-to. Things just HAVE TO get better than this. Very few people have the time to read dozens of pages of information to change each little aspect of their computing experience.

      Graphical front-ends are a good idea, epecially for administrative tasks that are done once per installation or that are changed infrequently or on machines that are administered by someone that is not a professional administrator. It is very hard to remember the details of commands like mount, for example. The man page is very long and complex for this command and it creates a feeling of dread in someone that just wants to get some work done.

    3. Re:Config tool should not require X by iago · · Score: 1

      I thought Mandrake could only run on Pentium systems. I think the big sign that says "Optimized for Pentiums" might be a clue

      --
      Worst Sig Ever
    4. Re:Config tool should not require X by bugg · · Score: 1

      There is a big difference between being aligned for a processor and using the instruction set of a processor. man gcc

      --
      -bugg
    5. Re:Config tool should not require X by talonyx · · Score: 1

      Ha ha ha, silly people.

      X runs great on a 386. I ran it on my PS/2 that I got for free dumpster-diving. Standard 8154/a graphics adapter, it has a blitter, so no problem.
      It was a 306/33 with 4 mb ram, and an 80 mb hdd. Sure, it was now what would be considered an "Ancient" linux; Debian Bo it was, libc5 based. But it booted in 45 seconds, logged in in 10, and Gimp 0.? started in less than a minute.

      Kernel compiles were about six hours; start one at night and wake up to completion.

      486/50's and above with 8MB ram and a decent 2d-accelerator (anything by s3, they make great 2d accellerators) usually have full support and work great. Linux works better than Windows does on slow boxes... not that it should be delegated to one.

      Linux also runs great on my K6-2 450 with 128mb's of ram and a TNT2 with GLX support.

      Don't go sayin' that 386's are slow... try "2ndreality" by the Future Crew to understand that they aren't (look at hornet.org for lots of PC demos.)




      --
      Talon Karrde

    6. Re:Config tool should not require X by boni · · Score: 1

      There is a more important reason for a text-mode config tool: When things really start to stink, text-mode is the way to go. What if X freezes? What if you have problems with your graphics card?

      I have a Windows NT system with lots of important data on it. I see no way to recover it, because I can't login for some reason or another. If I were able to boot in text-mode, I could save the data, check what's wrong, configure the system to boot in a bare bone mode, whatever. Configuration sometimes has to be done on the lowest common denominator - text mode. Of course, this is no argument against a all flashy funky GNOME/KDE/Whatever tool. I just want to be able to choose.

    7. Re:Config tool should not require X by pe1rxq · · Score: 1

      Hmm than you really did something wrong, I have installed X on several small systems, the smallest was a 386 sx with 5 meg ram and 40 meg harddrive (including a 8 meg swap partition) using slackware......
      It wasn't fast but it worked....

      --
      Secure messaging: http://quickmsg.vreeken.net/
  26. Re:Why bother wasting time? by SurfsUp · · Score: 2

    If Linux offered better performance over NT on most of the things I use it for, then I'd have cause to switch but as it stands Win NT suffices.

    Methinks we very nearly have a convert :-)

    --
    Life's a bitch but somebody's gotta do it.
  27. Take another look at linuxconf by planet_hoth · · Score: 2

    Linuxconf has gotten a lot better over the past 6 months, and I find it adequate for 90% of my configuration needs. You can add users, edit mounted disks, modify the network setup, config Apache and Samba, and even edit the default init level (one of the problems mentioned in the post.) It seems to play fairly nice with existing text config files, and the web interface is a really neat idea.
    Now when it comes to configuring hardware, I think Red Hat's simply the best, with Kudzu and Xconfigurator. Kudzu runs at bootup and, if new hardware is detected, will install and auto-configure the needed drivers. Xconfigurator, the well-known X config tool, is adequate, but this is one area that could use a make-over. I anticipate better tools after the release of XFree86 4.0.
    I've never had a problem getting supported hardware to work with RH 6.1. Didn't even need to edit any text files!

    --

  28. Hiding complexity doesn't mean that it disapears by NP · · Score: 1

    The dream of one unified tool to manage your system is but a dream.

    Todays computer systems are complex things, just tcp/ip reqiures a 600 pages book to cover the basic, and people think that thinks that it could be melted down to one single "network control panel" are dreaming.

    The traditional unix way of handling complexity is to break things down into smaller packages which could be managed on their own, imho a sensible aproach, top-down. But the drawback is obvious, you get the 2367 config files /etc.

    I hope not for one tool to manage my system but rather a set of tools, perhaps integrated by a "front-end", the best aproach I have on this so far is made by http://www.linux-mandrake.com/ , things like http://www.linux-mandrake.com/lothar/ , the lothar project seems to be heading in the right direction. But as with all software theese things take time to mature and become really usable.

    /N

  29. Hiding complexity doesn't mean that it disapears by NP · · Score: 2

    The dream of one unified tool to manage your system is but a dream.

    Todays computer systems are complex things, just tcp/ip reqiures a 600 pages book to cover the basics, and people think that thinks that it could be melted down to one single "network control panel" are dreaming.

    The traditional unix way of handling complexity is to break things down into smaller packages which could be managed on their own, imho a sensible aproach, top-down. But the drawback is obvious, you get the 2367 config files /etc.

    I hope not for one tool to manage my system but rather a set of tools, perhaps integrated by a "front-end", the best aproach I have on this so far is made by http://www.linux-mandrake.com/ , things like http://www.linux-mandrake.com/lothar/ , the lothar project seems to be heading in the right direction. But as with all software theese things take time to mature and become really usable.

    /N

  30. Re:Webmin : Along the same lines... by Paolo · · Score: 1

    Unix Console was released yesterday. It is not exactly what you're looking for, but if you're a Mac user setting up a Linux box it may help. Basically it allows you to use most of the monitoring/configing tools on a unix box graphically, in a nice little app. It logs you in via telnet and then sends the command line commands when you perform certain tasks. Granted, it's optimized for Solaris, but it seems to do most of the things Webmin does.
    (Runs on MacOS)

    --
    "In individuals, insanity is rare, but in groups, parties, nations, and epochs it is the rule." -Nietzsche
  31. graphical config tools by jetpack · · Score: 5

    Disclaimer: this is not a bashing of admintools .. please bare with me :)

    I've been kicking around unix systems for some years now, and I've developed a love/hate relationship with admin tools (both GUI and text-based). I tend to lean towards the hate category and edit config files by hand as much as possible.

    "Why", you ask? Because if I don't figure out how to do it by hand, when things go south, you either wind up learning to do it by hand, or you often are out of luck. It seems to me that it is better to know all the nasty bits up front, rather than wait for Bad Things to happen later and have to figure things out then (often under pressure from time constraints).

    Now, this is not an admintool-bashing argument; I'd love to see the end-all-be-all suite of admin tools. However, what I would *most* like to see in an admin tool is more feedback. Specifically, if I'm going to be using linuxconf (for example), when I hit the apply button, I want it to *tell* me what it's doing, and preferably log all the changes it's making. That way, I have a clue where to look if linuxconf isn't doing the Right Thing. That would go along way towards helping newcomers to linux: they'd have a central place to go for configuration *and* learn what was going on behind the scenes for those times when it really matters.

    As a second example, consider the debate about the ease of installing windows vs installing linux. Windows installation is usually described as easier, right? In many ways, I'd say this is true (altho it's the delta is narrowing all the time). However, you've probably had those times when installing windows didn't go so well. And when it goes badly, what happens? You are in a world of hurt. Why is that? Because it doesn't tell you what it's trying to do behind the seens; you can't fix things because you can't even figure out what is supposed to be fixed (at least not without an enormous amount of effort or prior knowledge of windows).

    So, in summary, I think anyone developing configuration tools should really consider keeping the tool's users informed about what is going on under the hood, rather than hiding the operations completely. That would help both the user, and the tool's maintainer.

    1. Re:graphical config tools by coleSLAW · · Score: 1

      An excellent comment. I happen to have been testing my toes on GNU/Linux (I have it running on a separate box) and it seems to me that I have no clue where to find the configuration files that I need. So, I have been reading mailing lists, patiently picking up little tidbits of information that I hope will stick in my mind.

      It would be tremendously useful if I were able to see what the configuration tool does. Not only will I be able to show people what I did when I mess up by listing my log, I will also learn what the tool did to my configuration files. (e.g. Inserted /etc/init.d/network: [0019] ifconfig eth0 hw ether 111111111111)This way, I can also learn about the configuration process if I was so inclined.

      --

      == I am not Me.

    2. Re:graphical config tools by costas · · Score: 4

      I'll go one step further: we don't just need more feedback from admintools (actually, I agree with the two-layer approach: a high-level, newbie layer and a lower-level, expert layer of feedback): we need bette configuration files. There was an idea being thrown around in a previous /. discussion for standardizing on an XML-derived config syntax. Now, wouldn't that be nice? Standardized config-files with parsable comments... a GUI layer would be only a parser away.



      engineers never lie; we just approximate the truth.

    3. Re:graphical config tools by Enahs · · Score: 1

      I have to agree. (I use Mandrake 6.1, which, as many folks, is a RH variant) and I've essentially gone lazy. Recently, I had Very Bad Things happen, and I was at a loss because:

      1.) RH insists on documenting the GUI way of doing things, rather than the Right Way (TM)
      2.) On a similar note, the config file layout style is sometimes almost incomprehensible.

      Much as I hate to say it, I'd almost rather use Slackware, even though it's horribly out of date. Why? Becaue there's such a lack of "real" config setup (i.e. not Sys V based) and concentrates (at least on the config side) on being more organzied and just plain easier to maintain. Man, RH is a headache. I use it for my *home* machine. It's just too much of a chore. If I wanted a chore every time something went wrong, I'd use Windows. :^)

      --
      Stating on Slashdot that I like cheese since 1997.
    4. Re:graphical config tools by Foogle · · Score: 1
      I must say that I disagree with the newbie/expert idea. There's no reason that newbies and experts alike can't use the same interface. The reason this idea is so prolific is that interfaces are consistantly designed by programmers. Programmers, by their nature, understand programming logic. But we like to call that "expert" level.

      The reality is that an well-designed interface should be intuitive, consistant, and logical. If it makes sense, a "newbie" will be able to use it. If it doesn't make sense, they won't, and only "experts" (who know what information it needs ahead of time) will be able to figure it out.

      -----------

      "You can't shake the Devil's hand and say you're only kidding."

    5. Re:graphical config tools by jkujawa · · Score: 1

      You want SMIT. Seriously. People bash AIX to no end, but it is the only Unix I've ever seen that does graphical admin right, logging and showing the user exactly what it is doing.

      Of course, the first rule of AIX is that it ain't Unix, and the second rule of AIX is use SMIT for everything. SMIT will keep you from shooting yourself in the foot, but it does things weirdly enough that if you don't use it, you'll blow your leg off.

    6. Re:graphical config tools by Surak · · Score: 3

      So, in summary, I think anyone developing configuration tools should really consider keeping the tool's users informed about what is going on under the hood, rather than hiding operations completely

      I dunno. Isn't hiding operations rather the point of a "user-friendly" tool? One of the reasons that the Macintosh was heralded by the computer press was that it hides the underlying details from the user.

      This is a timeless debate that has gone on forever, but really the hiding of the nuts and bolts is really what has one in the hearts and minds of the users. This is why Micros~1 Windoze is so popular.

      Remember that many Windows users, especially newbies, are confused even by the presence of multiple windows. In my line of work, when a modal dialog box would pop up (one that doesn't let you do anything until you dismiss it), users would instantly get confused (why can't I click this?), or even just other instances of multiple windows (when I click this pulldown menu, this other window that was on top goes away, why?)

      Having complicated details on the screen confuse most casual users. They'll be completely intimated by it. Even the stupid "Device Manager" in Windows 9x confuses many clueless users. Forget that, even the CONTROL PANEL confuses them.

      I know what you'll say next: well, casual users shouldn't use admin tools. But even seemingly simple things like installing or configuring a printer are really system administration tasks. Mounting network shares, adding devices, installing software, etc. are all system administration tasks that casual users often find doing for themselves, despite having adequate IT staffing. And technical details are intimidating and confusing to these users. They just want to point and click and get their work done. They don't care about technical details and don't want to know what is going on under the hood.

      Just my $0.02


    7. Re:graphical config tools by YoJ · · Score: 1
      I honestly think Windows is harder to install than most distributions of Linux. I have been dual-booting Linux and BeOS for a couple years now. Recently I wanted to install Unreal, so I started to install Windows 95. Halfway through the installation, it simply hangs. No error messages, no information about what it was doing when it crashed, nothing. That is not ease of use.

      Back to the topic under discussion, easy to use graphical tools are fine if designed properly. Tools should encapsulate the complexity of the entire problem, and then organize this complexity into an understandable format. Simple operations should be simple to perform using the tool, and complex operations should be doable but complex using the tool. Tools should not be a black-box. They should be like a shotgun shell loader - you pull the level, and lots of things happen to reload the shell. But you can see everything that happens, because sooner or later things will get jammed and you'll have to reach in and fix it.

    8. Re:graphical config tools by nevets · · Score: 2

      Sorry for the late response ;)

      I love SMIT. When I have more free time (in a year or two :( ) I wanted to write something like "SPIT" "Sytem Programming Interface Tools" that simulated the SMIT features. And write a ncurses to do SPITTY. Maybe we can get Redhat or SUSe or better yet Slackware to come up with a end all tool to do this.

      I wouldn't mind writing one up, but I only know the configuration formats of some tools. Not all, so this would definitly be a group effort!

      Steven Rostedt

      --
      Steven Rostedt
      -- Nevermind
    9. Re:graphical config tools by Mr.Bell · · Score: 1

      You've made an interesting assumption in your statement regarding an install gone awry, namely that because one is installing linux and one can see what is going on behind the scenes, one is able to fix a problem. I would argue that it is only with a knowledge of unix in general and the transparency (of scripting and/or config files) in linux that makes this work.

      Consider comparing the configuration of a program via a windows wizard vs editing a config file. I'm not convinced that the power is in the config files, compared to say, the windows registry. Rather, it is in the structure that config files lend to the problem at hand (a single broken config file narrows down the problem, a missing registry entry is quite a large domain to search) and the documentation that accompanies the config file (either in comments or in a manual page). If running a wizard style tool in windows resulted in a structured change to a well documented section of the registry, debugging and advanced understanding of the changes facilitated by the GUI wizard would be possible. And simply moving the registry entries to a config file without any man page would require apriori knowledge of the program being configured!

      So where does this leave us? To facilitate the rapid adoption of linux by a larger pool of "new users" the wizard style of program configuration could prove quite useful. This model can be adapted however to provide immediate access to the underlying configuration files _and_ manual pages so that one can at once get the machine configured as required and learn a bit too.

    10. Re:graphical config tools by Surak · · Score: 2

      Computers are extremely complex tools, if people are unwilling to learn the little bit that it takes to operate a computer, then they shouldn't be doing it.

      You seem to be contradicting yourself. The first part of your sentence states that computers are "extremely complex tools," and then you say that people should "learn the little bit it takes to operate [one]".

      Which is it? Are they complicated or do they take "a little bit" to learn?

      I don't think you know what you're talking about.

  32. Not Geek enough for Linux? by Len · · Score: 5
    So far, I've seen comments saying: (paraphrased)
    • You're an idiot if you don't already know all the magic incantations to configure a Linux system;
    • Write your own config tool;
    • WINDOZE SUX
    It seems that there are quite a few people who think that Linux should not be used by people who don't program; or that Linux is a club for nerds who can rhyme off everything in /etc without drawing breath.

    If, on the other hand, Linux is supposed to be an OS that can actually be useful as an OS, shouldn't it be possible to install it properly without having another PC handy for Web queries? Fun's fun, but you shouldn't have to take a "Linux for Geeks" course before you can even boot it up.

    I don't think the issue is so much GUI vs. CLI configuration, but rather having some tool available "to execute the tools that have already been written", as the article said.

    Or maybe I'm wrong, and I'm just not ready to join the Holy Order of Linux Initiates.
    --

    1. Re:Not Geek enough for Linux? by RAruler · · Score: 1

      Hey, he's not geek enough.. everyone grab their pitchforks and torches we'll burn the bastard out!

      We must kill the newbie!

      --

      --
      Insert Witty Sig Here
    2. Re:Not Geek enough for Linux? by mountain · · Score: 1
      So far, I've seen comments saying.

      I took a completely different spin off the whole discussion. (Maybe that's because I set my threshold higher, I don't know)

      What I got out of it was the eternal config debate. GUI vs text file. linuxconf vs YaST (actually I didn't see anyone mention YaST, but you see my point).

      And that, I think was the sad thing; they all missed the point. It doesn't matter *how* you configure something. There will be a learning curve either way. What does matter (to me) is how do I find out *what* to configure.

      I can man -k, or apropos, or info, or linuxconf, or YaST, or blaah all day. But if I don't know what I'm looking for I'm stumped.

      Say I've just come out of a lifetime of Windows using.. And I want to setup a Direct Cable Connection in Linux.. How would I know to use PLIP or SLIP? Or what the commands were? Or where to look for them?

      What I think is needed is a better help system. Or a more unified one. Or something. Something that's setup with keywords and such and so forth from Windows/MacOS/RiscOS/etc and their unix/linux counterparts (This would be the tedious part). So if I brought up the help thingie, and searched for Direct Cable Connection it'd come up with a short description of what DCC was (Clearly stating, that it was a Windows thing), and it would also explain breifly how it was done in Linux, and have pointers to the relevant howtos, or just the keywords to search for, or the relevant commands.

      Such a thing would solve alot of problems for people like me who spend days banging their heads against brick walls trying to do the simplest things. And when I find the command I'm looking for, it couldn't have been simpler; I just didn't know what I was looking for. Or I was looking for the wrong thing.

      You get my point. And yes, I am just one of those people who say, "What we need is X," and doesn't actually do anything about it.

      --
      --- "If a man speaks in a forest, and no woman hears him, is he still wrong?"
  33. Re:I guess for what you want there are at least tw by Captn+Pepe · · Score: 1
    You can use debconf, et al, if you like, but back when I was a newbie I was fortunate enough to discover an up-to-date HOWTO archive sitting right on my very first (it was Debian) install CD. Collectively, those files made for a very comprehensive reference manual for setting up my system.

    What about building a text-gui index to the HOWTO files (HTMLed, I suppose) and putting it in the installer as a sort of online-help system? I have nothing against linuxconf, of course, but an easily accessable HOWTO database should cover a wider array of possibilities, IMHO.

    --

    Quantum mechanics: the dreams that stuff is made of.
  34. Re:Simple brings the stupid by cadfael · · Score: 3

    To an extent, yes. A bimodal tool (addressing needs of the expert user and the new to the system) would be of value to the WHOLE Linux market. I realize that many folks have a bias that makes them feel that Linux would be best served by keeping it highly complex, but you restrict the usability of the OS by doing so. Consider something like Jakob Nielsen's usability heuristics, one of which states that you should support the new user with comprehensive assistance and an obvious interface, but also provide shortcuts to the advanced user. I beieve that there is room for both in the Linux community. Perhaps the resource for the new user could be an agent that could be a module to be compiled if selected, so that the new user has the help, and the experienced user could merely not install it. Just my 2 cents (Canadian, so that's about 1.6 cents US). Cadfael

    --
    -- The Hollow Man
    Non illegitimati carborundum
  35. kgconfig by laertes · · Score: 1
    You may all want to check out kgconfig. I know it is not exactly related to the subject matter, but it is a graphical system configuration tool. I would like to see this get more recognition.

    --

    Yes, I'm still a junky. Are you still a bitch?
  36. Re:As long as regular configuration files still wo by Captn+Pepe · · Score: 1
    man -S 5 blah.conf

    This has more than once provided me all I ever needed to know about the configuration file in question. That's not so difficult. Just poke around /etc/ until you find a file that looks likely, then check the manpage.

    --

    Quantum mechanics: the dreams that stuff is made of.
  37. Re:Hiding complexity doesn't mean that it disapear by tjgrant · · Score: 2

    This is both a blessing and a curse. I hated Windows because it insisted on holding my hand when I didn't want my hand held, so, what was the first thing I did when I installed Linux, I ran Linuxconf.

    Linuxconf is a phenomenally capable tool. Sure it is rough in spots and annoying in spots and it writes hideous smb.conf files, but it does at least give someone a place to start. The curse part, however, is that I started relying on the tool instead of educating myself as to what was going on underneath the Linuxconf interface. So, I quit using Linuxconf and started doing everything by hand. Now I know what goes on on my systems (the last Linuxconf module I regularly used was the Sendmail module, I recently started using the M4s, and then ran into the arms of Postfix, but that's a different story).

    Now, I sometimes use Linuxconf again to do quick and dirty network stuff, but at least I know what Linuxconf is doing!

    If we are ever going to reach the "average" users, tools like Linuxconf must succeed and we shouldn't look down on the tools or those who use those tools (and I've seen some of that invective on this thread). Just be glad that as with most things Linux we have a choice!

    Stand Fast,

    --

    Stand Fast,
    tjg.

  38. cfengine, anyone? by Christopher+B.+Brown · · Score: 5
    What the world probably needs is for someone to build a "barneyfied" GUI tool for the construction of cfengine scripts.

    cfengine is a sort of generic "configuration control" languge. You define things like lines that should be in /etc/hosts , or things that should be mounted, or files that ought to be kept up to date with central repositories, rotating system logs, fixing file permissions, and other similar sorts of things.

    A daily/hourly run will go through and "clean up" whatever isn't set according to the instructions.

    There's a client/server variation called cfd that allows you to push configuration across a network on demand.

    The big point to this is that it treats system set up more like "immunology" than anything else. From a security perspective, this is very good. You get some security rules set up, run them regularly, and fix/prevent holes.

    Perhaps more useful, once you set up some common rules for a site, installing a new system becomes real easy: you just need to get as far as installing cfengine, get some config files over, whether via floppy, CD, or NFS mount, and then type # cd /etc/cfengine; cfengine and depending on the sophistication of the rules, you may never need to log on as root again.

    For instance, you might set up a location where machines mount a filesystem containing package upgrades or configuration file upgrads, and automagically install them.

    The regrettable thing is that cfengine doesn't have the "barneyfication" that naive users may want/need.

    On the other hand, it has the major virtue over things like Linuxconf that it is a tool for building configuration systems rather than being a front end that is tightly connected to the back end.

    I could see:

    • Building a GUI tool that manipulates some combination of templates and data. That allows providing a relatively friendly front end for what could be a bit offputting.
    • Using cfengine as the tool for pushing package configuration into place on one's system.

      Thus, rather than merely doing a "cp foo /etc/foo; chmod 774 /etc/foo", the configuration process might include asking the user for input of critical bits of configuration, and constructing a cfengine script that might even be usable to "clean up" if you've done something icky and want to fix the package.

      This would also make it natural to create a little script for a given package that might do security checks, perhaps automagically turning off dangerous options or the like.

    --
    If you're not part of the solution, you're part of the precipitate.
  39. This is so Obvious by EverCode · · Score: 1

    Chris has posted this information about himself, just to draw attention.

    You want to know what? It will work because you and I are contributing to it right now.

    Job well done, Chris. You are such a genious.

    --

    EverCode
  40. Yes! by Booker · · Score: 2

    That's my biggest beef with Linuxconf - when I resort to using it because I don't know how to do it by hand, I would *really* like to have it tell me which file it's editing, at the very least - this would make it a good learning tool, as well as a good config tool.

    I guess that's what you said. But I completely agree. :)
    ----

    1. Re:Yes! by zeugma-amp · · Score: 1

      That's my biggest beef with Linuxconf - when I resort to using it because I don't know how to do it by hand, I would*really* like to have it tell me which file it's editing, at the very least - this would make it a good learning tool, as well as a good config tool.

      Indeed! That's a big problem I find with many of the gui-based configuration tools. I like the way that IBM handled it in the tool they provide wiuth AIX. You have a 'preview' button that lets you see the exact command it was going to execute before you actually commit to it. It also keeps track of everything that has been done in a file that you can look at later. This also helps when you do a Bad Thing(tm) and screw things up. You can go back and see exactly what happened and hopefully figure out where you went wrong.

      I've used it many times just to check out syntax for a procedure I'm writing that someone else will be performing during scheduled maintennance. It's easier than remembering command-line switches, and has even clued me in to some that I wasn't previously aware of - sending me off to the Isle of Man to determine why it was used and why I should include it in my memory banks.

      With IBM beginning to support Linux, hopefully they'll port it! Also, the 'info' program that is used to handle documentation is pretty gnifty. I used to spend time during 2rd shift browsing it for hidden kernels of information not easily found elsewhere.

      zeugma

      --
      This is an ex-parrot!
  41. standard GUI wrapper by DGolden · · Score: 2

    It could be nice if as many config files as possible were in some standardised markup language, such as some XML-family language. That way, a GUI tool could parse them, or you could edit them directly.

    Actually, it would be nice if all the cli tools output a standard command template that could have a gui wrapper autmatically put around it. The amiga almost had this - every compliant command produced a template when called with ? as a command line option, whcih could be fed into a tool such as Gui4Cli (on aminet) to build a GUI automatically. The template wasn't quite general enough for everything, but if each command output a GUI code in XML when called with foo --gui, then very newbie-friendly distros could be built.

    --
    Choice of masters is not freedom.
    1. Re:standard GUI wrapper by Anonymous Coward · · Score: 1

      I second the motion, although an XML configuration DTD which various projects actually followed would be more of an ideal than a near-term goal. An actual package using this could easily be display agnostic, allowing text and GUI. Even better: extensions would not be terribly difficult.

      An XML configuration system needs some structure however, or else Linux could have a rats nest of proprietary configuation paramaters (ala Windows Registry). At the same time documentation (or at least description) could be added into the config at design time. Standardizing configuation file formats would at least make /etc seem less byzantine to newbies, and flatten the learning curve (read: shorten development time) for would-be tool developers.

      Just imagine-- Windows Update for Linux (and you thought apt was slick ;-).

  42. GUI Configuration isn't all it's cracked up to be by The+Conkman · · Score: 1

    I have been a Slackware linux user for about 3 1/2 years now, and I decided that I would try Redhat due to it's new *advanced easy to use GUI setup* that I have heard from many people make it really easy to set up linux quickly. Well, after trying it out, I didn't like it. My main gripe was that I was limited in the length of characters I could type in the lilo header when setting it up in the GUI ( something like 15 or so letters ). I have an ABit BE6 mobo, and I was going to install linux to boot off of my Highpoint UDMA/66 controller.... I couldn't do it because I couldn't type the hard drive parms for ide1 and ide2. If you were a newbie or had a generic system, I guess the X setup would work ok... but if you want to do an even remotely non cloned setup you're screwed. After all this, I decided to go back to Slack because even though it doesn't have full RPM support IMHO it's easier to setup and manage. Plus, I'm sorry, but you can already do the IRQ checking and et.al. .... It's called pico /proc/whatever.

  43. Check out "gecco" by Booker · · Score: 3

    gecco, on sourceforge, looks interesting. It has a way to go, but it has a cool plugin architecture that should make it easy for various people to contribute to it, and make it a good all-around tool...
    ----

  44. Open-source Community and the Desktop PC by Hrunting · · Score: 3
    I see a lot of comments both for and against this type of comprehensive system maintenance, and I have my own personal opinions on the matter that simply don't matter. I will summarize what I see, though, in these two statements:
    1. Configuration shouldn't be complicated by GUIs that may not be able to handle hand-edited text files accurately. System administration should involve handling this configuration through text files as has been done before.
    2. Yes, this is exactly what Unix needs. Configuration is two hard for newbies and making it graphical, like Windows and MacOS have done would encourage more people to switch to Linux.


    The viewpoints are extreme oversimplifications, but the point is made. What we're seeing is a split both over how Linux should be used, and I think, how it will be used. And it says a lot about what Linux needs. Linux's install base is diversifying so much that one solution is not going to fit everyone. On the one hand I say, "Yes, a comprehensive graphical system manager would be fantastic!" On the other, "But you're not learning system administration, which is what Linux is all about."

    Linux is too complex for the newbie. It's just a fact, and it's going to have to be accepted. Steps have already been taken to change that, but in large part, these efforts have been controlled by people who aren't newbies and don't understand all of the troubles. Microsoft does this sort of testing, and the Linux community does not. When we need something like this, something that targets an audience that's "not us", we copy Microsoft, and since our systems weren't designed like Microsoft's, it's a kludge. It works, but not necessarily very well, and it's certainly not cohesive, and probably never will be, simply because it's being done by many separate people, not one overarching company. It's one of the downfalls of open-source software, a minor one for anyone who doesn't use corporate software.

    Someone can very easily develop a fully comprehensive system manager. Parts have already been started. The end result is something that really bastardizes the idea of what Linux is, a server OS that is very complex and very loosely organized, but it does work for the newbie, because it hides all that. The end result is really two different versions of Linux, which is really what Microsoft has with its Windows line. The Windows schism isn't necessarily a bad thing, except that they are two different implementations. With Linux, the community has a chance to produce that seeming "schism" in one implementation. If done right, security, which config files can of course break, can be set at install time, and the system manager will never touch it. A more advanced user, of course, would take care of all that on his own, and probably never need the manager. It's the same OS. The implementation is even the same. On one hand, though, you are setting the security at install time, and in the other, the user's taking care of it.

    I don't want one of these 'system managers'. My Linux doesn't need one of these 'system managers'. But Linux as a community does, if it's ever going to be viewed as having its act together. Webmind and Linuxconf don't cut it. Newbies need a manager that can act just like we do when we manage our systems. Can a community that produces so many things separately do that as one? Who knows.
  45. Mandrake 7.0 by Holophax · · Score: 2

    I have installed just about every variety of Linux that I have heard about. Mostly out of curiousity.

    From my experience, Mandrake 7.0 seems to be what every newbie is looking for. The installation is GUI based and very straightforward. It also lets you tweak the X configuration and test it before committing to it in the installation. That way any one can test their resolutions and color depths.

    After that, such things mentioned earlier such as DrakConf and Lothar make matters much easier for setting up thigns such as the sound card.

    On the other hand, it might make things a little too simple and cause someone to get lazy and never learn any aspects of the CLI. But, nothings perfect.

    On a side note, and off topic:
    Everyone seems to be pro linux, screw microsoft, but in the same sense, everyone also seems to have the "Why should we make things any easier" attitude. Either you want more linux advocates, or you don't. Pick a direction.

  46. My take. by Wolfier · · Score: 3

    Graphical all-in-1 configuration tool is a great idea - but it is ahead of its time. Here's why:

    First, configuration file formats changes from one version of the same software to the next. It is unlikely that the team who writes the config utilities catch up soon enough with the team who makes the programs to be configured.

    Second, different programs have different configuration files. It makes it hard for a single configuration utility to recognize them all.

    Third, the existing tools seem to be too tree-structured, taking away the simplicity advantage they first try to provide. (anyone besides me who hates linuxconf?)

    INI files is one of the few things about Windows that I like. I'd love to know if anyone has started to unify the format of all the configuration files into, say, XML?

    Another possibility is to have the author of each program write its own configuration cgi script,
    Then some project can be started to make a configuration server to gobble them all up at an HTTP port (ala SWAT)

    As of now, the closest thing I can get is to have a text editor that support projects. Put a bunch of config files into a project....I prefer this to linuxconf. You get the idea.

    1. Re:My take. by RickHunter · · Score: 1

      This might be a good place for an idea that (I believe) C++ has been using for quite a while. "Transparent" (I believe that's the word for it) interfaces.

      The author creates the config file using whatever format they like. Win .ini style, traditional Unix, whatever. They then create some kind of program (script, whatever) that can be used to write options to the config file. The big huge config program uses the little config program to write the changes to the file. This way, the config file seems to stay the same between versions. And if the interface program was standardized, that would help even more.


      -RickHunter
      --"We are gray. We stand between the candle and the star."
      --Gray council, Babylon 5.
  47. Yes, Lothar by jmv · · Score: 1

    I know of Lothar, it comes with Mandrake 7.0. The web page is at http://www.linux-mandrake.com/lothar/

    From the web site:

    "It is a fully GUI based tool which ties together many of the tools already included in a Linux distribution to automate and simplify the process of installing new hardware. Some items will be detected, others can be selected from a drop down list. The various IO, IRQ and such X86 annoyance settings can be adjusted from within this interface."

  48. Re:I guess for what you want there are at least tw by pf+kro · · Score: 1

    On a side note, those HOWTOs helped me out back when I started out (Slackware). They were text also, but html are available at the many mirrors for the HOWTOs. Of course, if you are trying to fix your internet connection, or don't have one, this isn't very helpful. The html's are distributed from, for example, linuxdoc.org or metalab.unc.edu. They come complete with a general index and then table of contents for each HOWTO. The people that I have converted to GNU/Linux have found these very easy to understand.
    --

    --
    steve

    C-x i ~/.sig
  49. linuxconf does this by DragonHawk · · Score: 3

    That's my biggest beef with Linuxconf - when I resort to using it because I don't know how to do it by hand, I would *really* like to have it tell me which file it's editing...

    linuxconf offers you the option of previewing your changes before it applies them. When you quit the program, choose "Preview what has to be done".

    This is on Red Hat 6.1, linuxconf 1.16r3.2-2, but I'm pretty sure it has done this for a long time.

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
    1. Re:linuxconf does this by ninana · · Score: 1

      It does have the "Preview what has to be done" thing, but it does not tell you exactly what is happening. I'd like an option where I could have it tell me exactly which file it is editing and what lines it is going to add. A super-verbose if you will. This will help in cross-platform work. If you know the config files, you can jump on a Solaris or IRIX box and figure out what needs to be done from the CLI. If you have no clue what's going on and you don't have your beloved linuxconf, you're up shit creek. I understand that for the average user this isn't a big concern, but it is for me and is why I don't use it.

  50. Easy to use vs. easy to learn by itp · · Score: 2

    Disregarding for the moment my own opinion on the GUI config vs. CLI debate, I see a lot of people getting confused in this thread about the idea of easy to use compared to easy to learn.

    Example: vim makes text editing easy for me. It makes programming easy. Was it easy to learn? No, not really. Is it worth it, though? I think so.

    Example: Debian makes maintaining my box incredibly easy. Easy to learn? Hah! But the payoff, once again, is there.

    I could go on and on, but I think I've made my point. Please keep this idea in mind as you think about how to improve the GNU/Linux system. There's nothing wrong with making things easier to learn, as long as you don't trade away ease of use.

    --
    Ian Peters

  51. Just a nitpick by winnetou · · Score: 1

    It is better (in the 2.2.* kernels it is almost necessary) to use /dev/ttyS3 instead of /dev/cua3.

  52. Part of the problem is the plethora of formats. by Colin+Smith · · Score: 1

    At least part of the problem is that there are hundreds of different configuration formats.

    Basically everyone who writes a tool, utility or application has re-invented the wheel and written their own special configuration file format. This is partly due to the creators of the first Unix systems not creating a little configuration API/library to save developers some coding time.

    Well. There is no longer any excuse. There are now a number of configuration libraries with differing properties and licenses.

    Don't create "Yet Another File Format" when you code. Use one of the existing configuration management libraries. Check out freshmeat.

    These include:
    Name License Primary use
    ---- ------- -----------

    GConf LGPL Gnome
    parsecfg GPL unknown
    libconfig GPL unknown
    libproplist LGPL GnuStep
    libcfg BSD unknown

    One think to note is that the license of a library might well affect it's usefulness to commercial applications. A library which can be used for free software, but not realisticaly for a commercial application is, well, only half useful.

    --
    Deleted
  53. The whole area needs a rethink by Animats · · Score: 4
    The whole area of configuration and installation needs to be rethought. The classic UNIX approach, a collection of related textfiles, sucks. The Windows registry seemed like a good idea, but Microsoft managed to botch that. Layering an installer in a procedural language on top of either of those representations almost works, and it's the "almost" that leads to most system administration problems.

    What's needed is a declarative, as opposed to procedural, way to specify what "installed" means for a device or a software package. The problem with procedural representations is that it's hard to do much with them except run them. Given the specification of something in this form, along with specification of previously installed things, it should be possible to perform all the following operations:

    • Determine whether everything currently installed is installed properly and intact.
    • Determine whether or not installing a new component would invalidate the installation of anything already installed.
    • Install or uninstall any component without impacting other components.
    • Check and fix the installation of any component.

    The key idea here is to get away from procedural scripts and to move toward a declarative representation that can be used for multiple purposes.

    This is kind of abstract. To be more concrete, you want a description of a component that contains lots of information like:

    Package XXX requires file YYY with checksum ZZZ installed in directory DDD.

    This provides information that an installer or an uninstaller needs, but more important, it allows you to find conflicts between components. That's the part of configuration and installation that usually gives trouble.

    "cfengine" is a step in the right direction, but they don't quite have it right. A popular package that got this right, one that let you do all four operations listed from the same description, would be a major advance.

    1. Re:The whole area needs a rethink by paulbd · · Score: 2
      AIX, bless its ugly little heart, did contain one idea here that it would be nice to see Linux pick up and run with, improving it as it goes. Under AIX, the tangled maze of textfiles that define system configuration are replaced by a database. There is a single, standard tool for editing the DB, which in turns means there is one way to edit any part of the system config.

      I don't like that last part: a single way. What I would prefer to see is this db exported to something akin to /proc - a virtual filesystem containing textual representations of the db contents, and editable with a text editor or a GUI tool. The text editor would use the standard read/write interface; the GUI tool could do that, or there could be, as in AIX, some standard API for accessing and modifying the configuration that it would use directly.

      The centralized repository for system configuration is a good idea, but only if its implementation doesn't force the use of a single tool. Can we do this better? Certainly not me - I'm too busy hacking Linux audio+MIDI apps.

    2. Re:The whole area needs a rethink by Malcontent · · Score: 1

      Why not a database engine. Not a complex one mind you just something simple like mysql. Hold on a minute we already have mysql and postgres. Both support ODBC and JDBC as well as PERL, TCL, C++ and C bindings. Both can be administered remotely. Why not just use one of these.

      --

      War is necrophilia.

    3. Re:The whole area needs a rethink by ralphclark · · Score: 2

      We already have a centralised repository - it's called /etc.

      This works very well because it's infinitely extendable. You just add text files in whatever format seems appropriate for the application. There would be no benefit whatsoever in making this more complicated than it is. To use a virtual file system like /proc instead would be completely pointless and would only mean a huge programming overhead every time you wanted to add config facilities for a new application.

      I'm sick and tired of hearing this same tired argument. Unix doesn't need a registry.

      Individual hand-edited ASCII config files do what we need and they are robust and independent; a more tightly-bound repository kept in memory and managed by a large program would expose the configuration data to programming screwups like the Windows registry suffers from.

      Consciousness is not what it thinks it is
      Thought exists only as an abstraction

    4. Re:The whole area needs a rethink by Skapare · · Score: 1

      Sorry, you cannot get mySQL even started if your system won't run because the configuration is messed up.

      Whatever the tool is, it must run on the most screwed up system short of one that needs re-installed (probably explains why so many people have to re-install NT so often).

      A text editor like vi does the job (even though I would normally use emacs).

      --
      now we need to go OSS in diesel cars
    5. Re:The whole area needs a rethink by IntlHarvester · · Score: 1

      What I would prefer to see is this db exported to something akin to /proc - a virtual filesystem containing textual representations of the db contents, and editable with a text editor or a GUI tool.

      My understanding is that the Apple/NeXT NetInfo system does something like this -- the primary storage is a database, but the DB can be exported/imported to/from standard Unix text config files. NetInfo is under Apple's open source licence.


      --

      --
      Business. Numbers. Money. People. Computer World.
    6. Re:The whole area needs a rethink by Mr.Bell · · Score: 1

      You couldn't have stated it better, that there is no benefit to making configuration in unix more complicated. How about making it simpler?

      Forget to tab in syslog.conf? : comments got you down in inittab, typo in passwd locked you out? Guessing at possible values for /etc/system variables got you stumped?

      Granted the lack of structure in /etc has allowed unrestrained creativity, but the knowledge required to navigate /etc successfully is significant and -- I'm guessing --, taken for granted by you and many other long time unix admins like myself.

      Without dumbing it down, or removing flexibility, I believe a better way to manage the bits of configuration required by each program would be a centrally managed, accessed, API driven repository for config. And there could be a text editor based "window" into it to anyone that cared to work directly with the data. I don't pretend to know the right way to begin to code this up, but I'm tired of explaining to new admins that are looking to change X in unix, that the only way to know how to find the config file -- is to already know where to find the config file.

    7. Re:The whole area needs a rethink by paulbd · · Score: 1
      We already have a centralised repository - it's called /etc. This works very well because it's infinitely extendable. You just add text files in whatever format seems appropriate for the application.
      What application ? What about information that is system wide, and not specific to any application ? What about information shared between applications ? Why do we call gethostbyname() for hostnames, but getpagesize() for the pagesize ? Why not something more generic ?
      There would be no benefit whatsoever in making this more complicated than it is. To use a virtual file system like /proc instead would be completely pointless and would only mean a huge programming overhead every time you wanted to add config facilities for a new application.
      This is simply not true. If the /proc-alike is just a key-value lookup system, it means way *less* work adding config facilities.
      sys_config_register("myapp:foo:bar:key", "value");
      Obviously, it would be a lot more complex than that, but thats about the basic idea.
      Individual hand-edited ASCII config files do what we need and they are robust and independent; a more tightly-bound repository kept in memory and managed by a large program would expose the configuration data to programming screwups like the Windows registry suffers from.
      Yes, I've used the hand-edited ASCII config files for more than 14 years, and I'm happy with their robustness. I am not happy with their independence.
    8. Re:The whole area needs a rethink by Malcontent · · Score: 1

      I am asking not to flame but because I am truly interested in the answer. Why is it harder to start up mysql then vi? If the system is so messed up that it can not start a program then vi is no help either.

      I can see the argument of not putting all of your eggs in one basket (all configuration in one database) but a simple server is no more difficult to launch then vi and can be started earlier in the boot process. This way you can attemp to connect to the database server from another station and fix the problem.

      --

      War is necrophilia.

    9. Re:The whole area needs a rethink by ralphclark · · Score: 2

      Obviously, it would be a lot more complex than that

      I rest my case.

      Consciousness is not what it thinks it is
      Thought exists only as an abstraction

    10. Re:The whole area needs a rethink by Frodo · · Score: 2

      but this has not much to do with configuration, but with installation and package management. There are lots of package managers for various unices, at least one for each commercial distribution and one for each Linux distribution that doesn't use RPM. But configuration is entirely different beast.

      --
      -- Si hoc legere scis nimium eruditionis habes.
  54. Re:Here we go with the Linux 31337ism... by ShinGouki · · Score: 1

    "We need software which is not just user-friendly, but also hacker-friendly"

    "We need both."


    looks a little friggin redundant to me
    did you just happen to miss the word "ALSO" in the original post or what?
    -dk

    --
    -dk
    Dream with the feathers of angels stuffed beneath your head.
  55. DEVFS! by dsaxena · · Score: 2

    Ok, devfs won't solve all the problems, but devfs support is one major step that needs to be taken by the kernel to make whole device management easier. The device namespace in Linux is so incredible polluted it's just too much for new and experienced users to deal with. There are 5103 entries in /dev under RH 6.1. With the 2.4 kernel, this will increase even more with the new devices (I2O, Firewire, USB, etc.) It's completely ridiculous. If /dev only showed the devices that were actually on the system instead of every possible one, it would be much easier for people to tell what's what. Imagine if /dev/modem only appeared if a modem device was detected?
    --
    Deepak Saxena

    --
    Deepak Saxena
    "Computers are useless, they can only give you answers" - Picasso
  56. The demon of backwards compatability; more by DragonHawk · · Score: 3

    You can/should/have to standardize... even win16 had a consistent *.ini file syntax that made sense even if you had never seen the application before. Why can't Unix standardize? why not Linux?

    Mainly because of that beast that causes engineers to shudder and admins to dive for cover: Backwards compatibility.

    There is a huge installed base of software that reads and/or writes the countless configuration files that live in /etc/* and their siblings. Not only the original software which gets fed said files, but other software as well. Changing things would break huge amounts of software. Ironically, some of these programs are automation tools design to make admins' jobs easier.

    There are other problems as well. For one, what format do you pick? Some will want Windows style .INI files; others will want XML; others still will want something based on their favorite scripting syntax. Who gets to be king of the world and decide the standard?

    There is also the legitimate technical complaint that no one format fits all possible uses. The sendmail configuration file format is a programming language all its own; it would be tough to reduce it to a universal format that would work for all software.

    In short, changing things around to use a single standard format would be akin to getting all the people of world to settle on one language: Really nice idea, but impossible to execute.

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
    1. Re:The demon of backwards compatability; more by costas · · Score: 3
      Of course, you're right: backwards compatibility is a bitch. But why can't we work around it? MS did (sort of), why not Linux?

      My $0.002: forget /etc, /var --let's make them forbitten territory, locked out to any user, including root (sorta like /proc). Instead, let's agree on say /conf, and create a config-service deamon that will read from /conf in an agreed-upon, standardized format and write to /etc, /var, etc. for backwards compatibility. When /etc and /var become irrelevant, get rid of them completely...

      As for the format; yeah, it will be tough to iron out, but so was POSIX. I ain't that level of hacker, but I do think that XML should be able to handle everything that a program would need. After all, XML is more of a syntax than a language, right? The added benefits:

      As I said before, a GUI layer on top will be almost trivial, and expandable to no end.

      There could be a standard configuration-reading library, that any utils developer can use to parse his or her config file, saving that stupid work... (I've always hated writing parsers, don't you? ;-)



      engineers never lie; we just approximate the truth.

    2. Re:The demon of backwards compatability; more by mikael_j · · Score: 1

      forget /etc, /var --let's make them forbitten territory, locked out to any user, including root (sorta like /proc)
      Please tell me you're joking!

      Mikael Jacobson

      --
      Greylisting is to SMTP as NAT is to IPv4
    3. Re:The demon of backwards compatability; more by alhaz · · Score: 2

      Why not circumvent backward compatibility by using a configuration template that can change with each revision of your application?

      So you tweak the logic of your config options, the template file would reflect the change.

      Essentially what you'd have, I guess, is a programming language for the configuration system.

      But i do also agree that linuxconf is running full-steam in the wrong direction, and needs to be completely re-thought. In many instances it does things in entirely the wrong way. See the samba module for insight.

      --
      This is just like television, only you can see much further.
    4. Re:The demon of backwards compatability; more by costas · · Score: 2

      No, I wasn't; but please, read a few lines further: I wasn't suggesting that config files should be locked out --just that /etc and /var should be locked out while we migrate to /conf (or whatever it gets to be called). /conf and its config files (the standardized config files) would and should be editable by the user.

      But as someone else suggested in this thread, /conf should be more like AIX's config files, or sorta like /proc: real text files, but changes in them should be detectable by some backward-compatibility deamon, that would parse the new file and write an old-format /etc or /var file. As more and more programs migrate to the new standardized format, the need for still having /etc and /var around will die of. Sorta like the .ini -> registry migration in Windows. But without the Windows stupidity of making the registry uneditable and unreadable by a human --or, for that matter, uneditable w/o a specialized tool.

      With careful engineering and everybody pulling together (which, with the added benefits of a standard format to users and developers alike won't be too hard, IMHO), we could have a clean, standardized system in 2-3 years easily...



      engineers never lie; we just approximate the truth.

    5. Re:The demon of backwards compatability; more by extrasolar · · Score: 2

      I think this is a great idea. A unified configuration format would be a godsend for newbies and administrators, I think. It would also solve the backwards compatibility issue. This really needs to be submitted as a proposal to the LSB or one of the distribution, perhaps Debian.

      Great idea. I would love to use a system that implemented this.

    6. Re:The demon of backwards compatability; more by costas · · Score: 1

      I am all for it; where does one start? ;-)...



      engineers never lie; we just approximate the truth.

  57. The format itself is irrelevant, the API matters. by Colin+Smith · · Score: 1

    What matters is an API. The fact that a configuration is stored in a file of format X or Y on disk or on an LDAP server, or SQL server, or web site becomes irrelevant.

    --
    Deleted
  58. Madrake or Corel are very nice to me. by nft · · Score: 1

    I've put mandrake 7.0 on my girls new box thrice just to try out the different configurations. "Lothar", Mandrake's config tool is the first linux config tool that rivels M$'s win98 control panel. Mandrake 7.0 found all of her hardware while it was installing, but I shuffled IRQ's on her PCI soundcard just for kicks. Smooth.

    Lucky for you, Mandrake 7.0 is a drop in upgrade from Redhat 4.x and above, which goes back a couple years, ya dig?

    The Corel linux 1.0 tools are damn nice, too. I wouldn't hesitate to recommend either distribution to anyone's gramma, but I tend to like Mandrake more. Ok?

    -=nft1999=-

    --
    "We must be the change we wish to see in the world." -Gandhi
  59. Re:Why bother wasting time? by Garak · · Score: 3

    The biggest problem with all these configureing programs is that you the user are limited to what the programmers have built in. Also these programs make a mess of the files. I gave mandrake a try a while back and for me it was the hardest thing to use because the config program didn't have anything in it for configureing ip_masq and more that one nic. The rc files are a mess and imposible to trace.

    I started out using slackware and I found most of the config files were easy to edit manualy and any special setups wasn't that hard to configure.

    One of the biggest problems I have when I sit down at a windows 9x machine to fix something for a friend is that I have no way of knowing what the box is trying to do or what has been done. And then theres the rebooting *shudder*.

    What we need is a stadard layout for config files. That are both easy to read by humans and programs alike.

    --
    God, root, what is the difference?
  60. Once I found /etc/inittab... by Speare · · Score: 3

    Here's another little story.

    • I owned a Toyota MR2 a few years back, which is a mid-engine car. That is to say, the engine is not in front of the front axle, it's in front of the back axle, behind the driver.

      I drove a long highway trip, visiting relatives in a small town, just when it was due for oil. I didn't have the option of going to a Toyota dealership to get the service done. I went to a professional looking establishment a relative recommended. I drove up, and girl waived me into the garage stall. She must have been the mechanic's girlfriend, just killing time and helping him on a slow Wednesday. She made a hand gesture for me to "open the front hood."

      I smiled, and shook my head no. When she came to the window, I explained, the oil's behind me. Her boyfriend assured her that I wasn't pulling her leg... the engine compartment really wasn't up in the front of the car. She couldn't get over that... a car with the engine in the back!

    Sure, if you *know* the architecture of MSDOS and Windows starts with a kernel that reads AutoExec.bat, while the architecture of Unix starts with a kernel that reads /etc/inittab, you should be able to find your way around.

    The last time I used Unix, there was no X login shell. Why would I look into something that was named /etc (as in, miscellaneous afterthoughts) for the core, key, central file that controlled all run levels? It's all a matter of context.

    There's a difference between being stupid, and being ignorant. One can be cured.

    --
    [ .sig file not found ]
    1. Re:Once I found /etc/inittab... by timster · · Score: 1

      I've cured stupidity before.

      --
      I have seen the future, and it is inconvenient.
  61. i have to agree...somewhat by CrudPuppy · · Score: 1

    i have been running linux for about as long as it
    has been around, and i really happen to like the
    fact that it did not used to have GUI's for
    everything under the sun. UNIX has never been
    ground for newbies and those weak at heart, and
    i honestly dont think that linux should be any
    different. i am NOT trying to be elite here
    either--i spent very long hours with my nose in
    books (and i still do, since i admin UNIX for a
    living now) to learn what makes *nix tick.

    "if you make a tool that any moron can use, only
    morons will want to use it"

    i for one will depart from the linux world if it
    keeps progressing towards the Mac world.

    --
    A year spent in artificial intelligence is enough to make one believe in God.
    1. Re:i have to agree...somewhat by datazone · · Score: 2

      ah, that is your problem, you are not trying to be "elite" but you are trying to prevent other people from doing things to help others. No one forces you to use any tool. heck you dont even have to use a fricking distro! you have the kernel, build your own! heck, or just keep running what you are running and never upgrade. why is that so difficult? why must we always have social groups that try to keep others out? are you so much better than the other man that you refuse to be next to him?

      --
      Its spelt "L-I-N-U-X", but pronunced as "Free Beer"
    2. Re:i have to agree...somewhat by nematoad · · Score: 1

      Well this just about takes the biscuit! Not elitist? I would dearly love to use Linux but as a tool, not the be all and end of my life. I'm a sad Windoze support person so I guess that makes my biassed but how about "a Linux for the rest of us," to paraphrase an old saying. Sorry to rant on but I think this sort of attitude is keeping M$ in business.

  62. Config tools. by Inoshiro · · Score: 2
    I've been reading the threads and comments and thinking about this a lot. What people seem to be missing is that fact that we could implement what most people need with little effort.. It's only the odd few percent odd-ball situations that a lot of people are focusing on.

    VGA-16 colour support in 640x480 (ie: an video card and monitor that can handle this is likely to be on the target machine), so GUI config tools are quite possible from the earliest get go.

    Here's an idealised setup routine:
    • Start install from either bootable CD, or a ~5mb disk image loadlin'd from a DOS prompt. This gives us the space for the bare-bones GUI tools and abilities.
    • Choose your prefered method of install (guru text, or newbie gui).
    • Partition the HD (either in text mode via an Guru fdisker, or in VGA16-640x480 with a friendlier face). Choose your swap partition and target partition.
    • Pick packages in your choice of guru Slackware-like expert mode (slick & fast), or the incredibly slow Red Hat custom mode (GUI).
    • Decompress packages.
    • Guru install then has a network config and lilo setup. Newbie install goes into the Setup Wizard *. The setup wizard allows easy setup of XF86Config (in /etc), setup of your network (if it exists), and an easy walkthrough of Lilo (as well as a rescue disk of some kind).
    • The setup has completed with a bootable system.

    * Setup Wizard is a version of netconfig and the lilo conf with the "click for help and examples" and related documentation all in one interface, allowing easier first time setup.

    For an idealised setup like this to happen, there need to be a few more tools that don't (AFAIK) yet exist, as well as a few modifications to existing tools. X, for example, should default back to the VGA16 colour server if it suddenly finds the video card is different (ie: the 3Dlabs server is run on a non-3DLabs card). A simple program that is set to run in the default system-wide xinitrc can detect the fallback, and open up a helpful wizard for newbies. For non-newbies, it can allow skipping of the dialog so they can get to fixing the problem themselves.

    Another thing would be a good program for setting up your XF86Config for the first time. xf86config is kinda complex and lengthy for a newbie. Since the kernel knows about the hardware, how hard would it be for a program to check the /proc export, then probe the monitor. Once it has the info, it could query the user to confirm it, and then test it. It'd be faster than things like xf86config.

    Finally, a nice program I'll call "Control Panel" needs to be created. Yes, it'll be a blatant rip-off of the Windows control panel concept (which, IMO, is actually implemented semi-decently). A "Container" window is shown, listing the various configuration backends it understands. IE: for networking, it'd probably want an xml file describing how to obtain its settings, how to committ its settings, and how to format its GUI dialog. This could be implemented in GTK+ with libxml and included in the system menus of the various window managers and desktop environments that ship with the system. What would absolutely have to be shipped would be the basic complement of backends: X display settings, networking, /proc info parser, kernel configuration, package manager **, keyboard settings (rc.keyboard?), mouse settings (rc.gpm), font manager (TTF support in X), "multimedia" (config for sound cards, and 3D accelerators, both of which have traditionally been hard to setup), "Startup" (a good GUI SysV config for us BSD init script people :^).. This should provide a good base for even the greenest newbie to go and figure out how to change things.. With the XML config system as the backend, it would be very easy to fetch updates and deal with changes.

    ** Package Manager: To my taste, there are no "good" package managers. Something that could keep track of how often certain packages are used, could handle the installation of autoconf, RPM, deb, and Slackware tgz through support programs, and could finally centralise all of these disparate ideas would be what I'm thinking of. NT 5 has something like this, and it suprised me when I was playing with it. It's butt ugly, but it really does track how often something is used -- a big plus.

    The problem is, of course, the fact that there are hundreds of window managers, and a few desktop evironments to boot. Under Win32, the installation and removal of programs has been simplified because of the add/remove control panel applet. True, it did little but point the appropriate uninstall program at the appropriate install created setup file, but the Linux world does not have something like it. Remember, their add/remove applet handles all kinds of setup programs from different companies (install shield, MS, Norton setup programs, etc). Second, the "control panel" is reinvented poorly by desktop environments like Gnome and KDE. Their internal config programs are great for modification of their own startup, look & feel, and window manager, but they do not address things like network config, kernel reconfiguration and compiliation, etc. The things they do allow you to look at are limited. KDE's "SMB status" tab is interesting, but you can hardly reconfigure smb.conf from there, or do something like launch Swat and connect to it in a browser.

    If you've not noticed, all my ideas for "new" programs, or modifications to existing programs, involve ways for these many disparate ideas and design philosophies play nicely together. An "over" package manager that allows the user to point it at a package (or various types), and letting it handle the implementation (calling rpm, installpkg, or configure --prefix=/usr; make; make install; recording the changes and monitoring usage) would do much to make life easier for both the newbie and the guru alike (in my "over" package manager, the guru would be able to easily modify the default config "template" args, supply their own args, etc). For things like X, there would be a way to figure out problems, and help the user cope with them (rather than "vi /etc/XF86Config, and have fun!"). The basics are in place, and the source code is available. Implementation is not the issue -- it's only getting people to agree on the same basic method. The one true method. The Linux Kernel has advanced because of Linus' vision, now we need a Linus for the userland tools for maintaining the systems.

    Just my opinion :-)
    ---
    --
    --
    Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
  63. Re:Hiding complexity doesn't mean that it disapear by Matt2000 · · Score: 2

    I honestly think that these sorts of beliefs hold back the acceptance of computing into the areas where it could be used in the most interesting ways, i.e. by people who may not understand computers.

    Sure TCP/IP is complicated. So is a Pentium chip, I don't know how superpipelining works and I use the thing just fine. There are a zillion examples of this in technology - compexity made usable. Unfortunately we haven't mastered it in computing yet.

    When we do, and giving up the idea that our area of specialization is just too complex for anyone to simplify is the first step, then I think we'll really be making some progress.

    Hotnutz.com

    --

  64. Not really... by Booker · · Score: 2

    "preview what has to be done" just tells you which services it's going to restart (i.e. inetd) but it doesn't tell you which files it's editing (i.e. /etc/hosts)
    ----

  65. Anything but XML! by TheDullBlade · · Score: 3

    I have a rabid hatred of XML. It's just such a hideously ugly language that I could never stand to use it. Markup languages seem more or less acceptable for text formatting, though they aren't much fun to write by hand, but they are just about my last choice for configuration (or for general data description, or programming). They're also hideously verbose, wasting keystrokes and network bandwidth alike.

    I still don't see any advantage to XML. Standardizing on a completely general language is about as useful as standardizing on "an ordered list of bits." If you're going to extend it you still need code somewhere that actually understands the data. Parsing a configuration language is trivial compared to actually deciding what the content and structure should be.

    Yes, I know, you can make a GUI editor that understands the format of your XML-based language, and gives the user options, but I really don't think this is more than a superficial benefit. People should get used to editing plain text; it's the basic skill of running Unix systems, and a damn good thing to standardize on. Text editors have been tuned for a long time, and they can be used very efficiently with a little practice - much more so than a configuration GUI.

    A more useful thing might be to start having a standard script for each plain text configuration file, which interleaves it with a man file, putting all the relevant entries right beside where they'd be used, allows the user to edit the file in this way, then removes the man comments (for efficiency in reading the config file) when he is done. This way you could get what is IMHO the main benefit of GUIs: having configuration options laid out in front of the user to select, with all of the traditional benefits of plain text (or rather, unique syntax) config files.

    --
    /.
    1. Re:Anything but XML! by costas · · Score: 2

      Yes, XML is ugly and not as effient as those #s and ;s... but: XML is already agreed upon and "out there"; there is no need to come up with Yet Another Standard. More importantly, XML's "loose" enough to cover every configuration file need _I_ can think of (not that that's saying much, BTW ;-)...

      E.g.: Apache's .conf syntax is XMLish enough, IMHO: it's parsable, human-readable and -editable. And your argument that text editors are mature and we should stick to text applies both ways: modern editors (emacs, vim) are mature enough to handle a text-based, XML-like language with little added user work. Added benefit: since everything will be standardized and immediately parsable, you could probably click/Ctrl-] on a config parameter and get that man file entry you want... vim can be made to do it now...

      We can do XML-based config files now, with existing tools, without departing too much from the "Unix way". I think it's time we should. Think about it: before Bill Joy, unix admins probably thought one line of text at a time was all _they_ needed ;-)...



      engineers never lie; we just approximate the truth.

    2. Re:Anything but XML! by Frodo · · Score: 3

      XML is not so bad, used properly, and can enchance structure of data. It's still text, so you can edit it by hand. It has structure, so program and human can understand easier what is where. And it has tools for parsing it, so one needs not to reinvent config parser every time he wants to write something configurable.

      --
      -- Si hoc legere scis nimium eruditionis habes.
    3. Re:Anything but XML! by Simon+Brooke · · Score: 2
      I have a rabid hatred of XML. It's just such a hideously ugly language that I could never stand to use it.

      Then you really should study it more closely.

      Yes, indeed, XML is an extraordinarily complex syntax for writing what are essentially SEXPRs; however, it's a single, common, generic, internationally and openly agreed syntax, for writing files which are both human readable and machine parseable.

      If you are going to start again from scratch and define new syntax for UN*X configuration files, and you choose to use anything other than XML, you really are going to need to have a very good reason for doing so.

      And remember, if you really find XML syntax so ugly, it's trivial to convert XML SEXPR syntax into LISP SEXPR syntax and back again.

      --
      I'm old enough to remember when discussions on Slashdot were well informed.
    4. Re:Anything but XML! by Rhys+Dyfrgi · · Score: 1

      People should get used to editing plain text; it's the basic skill of running Unix systems, and a damn good thing to standardize on. Text editors have been tuned for a long time, and they can be used very efficiently with a little practice - much more so than a configuration GUI.

      And after all, the text editors are "good enough", so we shouldn't even try to create anything better, right?
      ---

      --
      END OF LINE
    5. Re:Anything but XML! by extrasolar · · Score: 3

      That is why you shouldn't edit XML by hand. I think XML was meant to be editted by an XML editor, not a plain text editor. Just add and delete entities and it would be much easier than using a plain text editor. With a proper DTD, you can get the available options for a configuration.

      I really think UNIX should evolve to XML. Plain text encourages Yet Another Configuration Format. GUI tools would also benefit from the XML format. Dragging and dropping tags from one file to another.

      The arguments for editing everything by hand usually stem from shoddy tools. Quite frankly, the common text editors seem to be the few stable applications used with GNU/Linux. I have tried LinuxConf but it's interface is terrible and its stability is lacking. I much prefer editing by hand compared to using LinuxConf.

      I think it would be far nicer for the newbie to double click on resolve.conf.xml and get an XML editor window allowing the user to change the DNS numbers just by double-clicking on the entry. I don't think it would be wise to put all the configurations in One Be-All Tool. Keep the config files where they are but just put the files in a friendlier format -- XML. Have a nice SysEdit application that lists all the configuration files on the system and a short description of them -- the user double clicks on the file they want to edit and the XML editor comes up with that file ready to edit by double clicking. This is both user-friendly and The Unix Way.

      Unix is a very old OS. It needs to evolve towards modern interfaces and file formats. The best way to do things then isn't necessarily the best way to do things now.

    6. Re:Anything but XML! by Skapare · · Score: 1

      Who agreed on XML? That's BS. This debate is just beginning.

      There isn't a Yet Another Standard. What I've proposed has been around since the early 1980's.

      Apache's httpd.conf is NOT full blown XML, which some are suggesting. It is minimally XML-ish for contexts.

      Existing tools abound for ALL the choices.

      --
      now we need to go OSS in diesel cars
    7. Re:Anything but XML! by Skapare · · Score: 1

      Everything you've described as a feature of XML is a feature of the alternative I've proposed, and appears to be features of many of the other proposals, as well.

      What I find that XML does NOT have is "non-clutterness".

      --
      now we need to go OSS in diesel cars
    8. Re:Anything but XML! by Skapare · · Score: 1
      If you are going to start again from scratch and define new syntax for UN*X configuration files, and you choose to use anything other than XML, you really are going to need to have a very good reason for doing so.
      How about having a good reason for XML? I have seen some good reasons for XML, but those very same reasons apply to other proposals, as well.

      And LISP SEXPR isn't the only other option (though I do like it better than XML).
      --
      now we need to go OSS in diesel cars
    9. Re:Anything but XML! by Skapare · · Score: 1

      I'm not opposed to making things better. And I'll even say that GUI has the potential to definitely be better than text editor is now. However, I have not yet seen any GUI config tool that is better. I've used tools from Redhat, SuSE, Solaris, SCO, and they all leave me wanting to go back to editing (and even vi would be better despite my preference for emacs which isn't always available).

      Until such time as GUI interfaces can be devised that can handle every ... and let me stress that ... EVERY ... possible configuration state, the configuration needs to remain where it can be edited as text, by a real human. I rarely have time to figure out why some GUI tool won't let me do what I want to do. Most seem to be intent on narrowing the scope of what can be done.

      I'm designing scripts now to automate system configurations. The scripts get data from a central (not on the same machine) database which describes what services are to be performed and assignments of which machine is to perform them. They will then construct the config files (such as Apache httpd.conf for web sites to be served) to conform. GUI tools would only get in the way unless they are the ones used to update the database over on the central server.

      --
      now we need to go OSS in diesel cars
    10. Re:Anything but XML! by oops · · Score: 1

      The reason why I'm pro-XML is that it naturally supports hierarchies. Every time I've written a 'flat' file config, at some stage I've wanted to introduce hierarchies. At that point the parser requires much more work.

      Unfortunately I'm somewhat anti-XML for two reasons:

      a) I don't believe it's truly human readable, in the same way that, say, /etc/services is. Although you can make a pretty good stab at it.

      b) the greatest thing about the conventional flat-file configs is that you can comment stuff out easily. I know you can introduce comments into XML, but commenting configs using # beats using any XML construct hands-down.

  66. Re:Simple brings the stupid by Skapare · · Score: 1

    Basically, what is essential here is that we all agree on what kind of slot to use between the screwdriver and the screws. Then we can use a hand turned screwdriver or a motor driven screwdriver. And we can use self-tapping screws, or machine screws, or whatever we like.

    If the configuration state is stored in a file with a document that makes the file format open, then you can use fancy GUI tools, or vi, or a script, to manage the configuration. This is what we need to require ... pluggable tools.

    --
    now we need to go OSS in diesel cars
  67. Less about the distribution, more about the HW by Anonymous Coward · · Score: 1

    Whatever utility results from this thread, its needs are pretty fundamental to BOTH hacker and avg user. Both groups need an operational machine, which relies on proper configuration of HARDWARE PLATFORM SPECIFIC things. In Intel land, there are devices that are present, each of which has configuration parameters. SGI,Sparc have their own subleties, etc... It is quite logical to organize a Device Manager to follow the structure of the hardware. Makes less sense to have a RedHat specific or a Debian specific approach IMHO. We (collectively) can only benefit from commonality that serves a purpose. If it looks like windows, so what! Does it present the information needed to verify and adjustments needed to configure these devices? Cool! We all win! In order for Linux to gain mass acceptance in our society, it needs to bring technology to the average user. Dont we all need hardware that is configured properly and be aware of this fact? If there are settings beyond what we need to establish basic functionality, then make extensions and call it the 'Extra Credit Extensions (TM)' If something is found to be misconfigured, maybe we could trap the error codes, and crank up ppp, dial up to a web site and automagically search for cures? (Ok, lets call that the next step.. :^) No one wins if Linux is difficult. The casual one loses the moment, the hacker loses the future. Replication is the sincerest for of competition! John Westerdale

  68. XML is a poor choice by Skapare · · Score: 1

    Instead of:

    <device>
    <name>eth0</name>
    <address>192.168.1.2</address>
    <netmask>255.255.255.0</netmask>
    <onboot>yes</onboot>
    </device>


    I'd rather have:

    device = (
    name = eth0
    address = 192.168.1.2
    netmask = 255.255.255.0
    onboot = yes
    )


    XML may have some cool features, and be useful for embedding information descriptors and tags in documents, but for building config files, it's hard to read and basically sucks.

    --
    now we need to go OSS in diesel cars
    1. Re:XML is a poor choice by costas · · Score: 1

      So, as I said above, what about Apache's format? XML-ish enough and more human-readable...



      engineers never lie; we just approximate the truth.

    2. Re:XML is a poor choice by JordanH · · Score: 1
      I think it's envisioned that we'll eventually have display/edit tools for XML data and not deal with the XML directly. This might lead to the problems that people in this discussion are talking about having with GUI vs. configuration file editing.

      I can see some potential advantages to XML (or some standardized meta-data language) for configuration files. It's possible that version control/update of formats will be easier if configurations are kept in a standard tag-based format.

      The discipline of having to develop schemas for the XML documents might help make sure all the configuration files are well documented. Maybe not.

      One potential big win is that XML structured data could be more easily gatewayed into databases. It may or may not be handy to maintain configuration data in databases, I dunno...

      I don't pretend for a minute to be an expert in XML and it's uses. I do think that there's a lot of hype about XML and I think we'll have to have a lot more experience before we'll know if it's really going to be the general meta-data language.


      -Jordan Henderson

    3. Re:XML is a poor choice by jonabbey · · Score: 1

      The thing you have to remember is that XML was specified by people who are really and truly experts in the whole area of text/document markup and processing.. XML is deeply specified, down to the character encodings, nesting rules, and schema definition. There are a whole bunch of good parsers already existing for it, as well as databases that are designed to store XML in a format that can be easily scanned, and more.

      The person who said that XML is too general to be useful is correct, as far as that goes.. the mere fact of XML-encoding is analagous to the mere fact of ASCII-encoding, but it is more structured and detailed than that.

      XML is just fine for config files because it can express much more detailed and involved relationships than could be expressed with the simple format you propose, but it may not be the easiest thing to read or hand-edit, depending on the way the file is laid out. So? As long as the config file formats are specified well enough that tools can deal with the file, what do you care?

    4. Re:XML is a poor choice by Chandon+Seldon · · Score: 1

      There's a reason it's considered important for it to be easy to edit config files with a simple text editor - what if your system's borked and you can only boot it with a rescue disk? You think you can fit X on that disk to be able to get your pretty config tools?

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
    5. Re:XML is a poor choice by Skapare · · Score: 1

      Like I replied above, httpd.conf is not XML, and only barely has a hint of XML. It has contexts like XML, but the directives are somewhere between command and ini style. That little touch of XML-ishness isn't causing any problem (though the ever changing semantics of does tend to be annoying). If XML is carried to the extreme, where every piece of data is expressed with XML tags, then it becomes hard to read. If the XML tools all "did the right thing" (which is doubtful for a few to many years yet) then you would never see the XML-ishness at all. But until that day, I will not design any system that reads XML for configuration state.

      For other things like bulk data transfers between databases, where the data is generated by program, and parsed by program, and no human needs to even read it, then XML won't really cause too much of a problem (disk drives are bigger these days so XML's inefficiency in storage is probably not much of an issue, now, either).

      --
      now we need to go OSS in diesel cars
    6. Re:XML is a poor choice by Skapare · · Score: 1

      Given the quality of GUI tools we have now, that day appears to still be a long ways away. If it is the case that XML is what will make the GUI tools work, where they are failing to work now, then maybe XML is worth considering (but I see no XML porponent suggesting that XML is what will fix all the GUI tools).

      GUI tools need to be able to handle every possible state of configuration for them to be able to be used. They also have to work in every context. For example, if I have the system drive from another machine attached as a 2nd drive on my current machine, every GUI tool MUST (no exceptions allowed upon penalty of death) be able to operate on the attached system drive. For GUI to be effective, it must operate anywhere and everywhere a text editor does, and that include in text console single user mode (X and SVGAlib are not available).

      I've heard that before about languages forcing discipline. I then look at C++ and all the masses of undisciplined programmers out there that think they are good at object oriented design because they use C++. I then ROFLMAO.

      XML does have its advantages. It sells bigger disk drives. It sells more bandwidth. But that was probably going to happen anyway. It can be useful for database transfers and such, though probably no more or less so than some other things that have been proposed.

      What XML already does seem to be great in is tagging extractable data from document oriented storage. With XML, you can mix information and presentation together. Non-conflicting DTDs (that will be interesting to see) can be merged. You can, for example, add tags that pinpoint data and data types in an HTML document, provided that the DTD used for those tags has not conflict with HTML (not at all hard to do if you make sure this was a spec/goal in the first place).

      --
      now we need to go OSS in diesel cars
    7. Re:XML is a poor choice by Skapare · · Score: 1

      I would not want text/document/markup experts telling me how to do everything else in the world with their tools. No one is an expert at everything. You might find some who know how to administer a system, but in general that isn't an expected skill. I don't profess to be a text/document/markup expert at all, so I would not presume to tell them how best to solve problems in that area. In fact, I find the solutions that are coming out for that purpos are working quite well. But success there doesn't mean it can be applied everywhere else.

      The example I gave showed a simple configuration in both one possible XML format and one possible HSI format. Just because it was a simple example does not imply that either format is limited to only simple cases. You seem to be implying that while XML is not so limited, that HSI is. This is absolutely not true.

      The day that effective tools allow me to abandon any use of a text editor under every context, then I won't care what format the file is in. But as long as GUI based tools fail to allow every possible configuration the way I want it, then I need to stick with the tool (my swiss army knife which consists of both vi and emacs) that does let me do what I need to do to make things work. And I therefore need to stick with a reasonable file format that is oriented to human editing.

      Fix the GUI interfaces and logic, first, then come back and redesign the underlying system files.

      --
      now we need to go OSS in diesel cars
    8. Re:XML is a poor choice by Skapare · · Score: 1

      This is an example of why every GUI tool must have a lean text version of itself (not as a monster executeable that can do everything), so it can fit and run from the rescue disk, without X, without SVGAlib.

      --
      now we need to go OSS in diesel cars
    9. Re:XML is a poor choice by mill · · Score: 1

      XML sells bigger hard drives? It sells more bandwidth?

      You have posted lots of post more or less claiming that XML sucks. Now how about actually proving your claims?

      What I see is just whining about syntax. XML is human readable (just look at the success of HTML which shares the same basic syntax). XML will be used all over the place and then to invent other formats for config files or what not is Stupid(tm).

      /mill

    10. Re:XML is a poor choice by jonabbey · · Score: 1
      The example I gave showed a simple configuration in both one possible XML format and one possible HSI format. Just because it was a simple example does not imply that either format is limited to only simple cases. You seem to be implying that while XML is not so limited, that HSI is. This is absolutely not true.

      So HSI can represent recursive trees? I confess to not having seen anything in the way of documentation for the HSI format.

      But as long as GUI based tools fail to allow every possible configuration the way I want it, then I need to stick with the tool (my swiss army knife which consists of both vi and emacs) that does let me do what I need to do to make things work. And I therefore need to stick with a reasonable file format that is oriented to human editing.

      I don't know about you, but I use vi and emacs for editing my web pages, in HTML. XML is, if anything, simpler and more consistent than HTML. Is XML the easiest possible format to edit by hand? No, perhaps not, but it's not that hard, and it provides absolute consistency of structure across any imaginable hierachical or linear structure, with full specification of character encodings, Unicode, structural layout, etc.

      In addition, people are defining RPC/RMI systems that use XML to define their remote object calls.. XML documents and document fragments are completely encapsulable in another XML document, so it would be possible to use these standard systems to send a description of a change to be made to any other sort of XML file quite easily and naturally, using the same code/tools.

      If XML were something absolutely horrible for hand-editing, I'd agree, no way, let's not put that burden on people. But for many things it would be *very* nice to have a consistent format that can be easily manipulated by tools as well. And don't think that I'm saying that 'tools==GUI tools'. Perl comes with a very nice XML parser these days that makes it quite easy to examine and manipulate a deeply structured XML file.

      Finally, I'd say consider XML because it is so well standardized.. XML doesn't have that much of an advantage over a lisp/scheme-like file format, except that it is standardized and it is easier to work with for humans.

      YMMV, of course.

    11. Re:XML is a poor choice by Skapare · · Score: 1

      "... sucks" is an opinion, proof is irrelevant.

      HTML has more content than tag, so the wordiness of tags isn't a big issue. And many of the tags are dense in usefulness.

      But one thing that HTML is NOT is a langauge for defining the namespace of things. if you use a tag to name something, and the tag is as big or nearly as big as the data, and then especially when you duplicate the tag with a / at the end, you end up with as much tag as data.

      I don't need to prove that XML is hard to read; I only need to look at it. The closing tags visually obscure the appearance of the data. Sure, I could use a tab between a tag and the data, but in XML, that tab becomes part of the data (I suppose the configurator can then discard spaces and tabs from input after the XML parsing).

      My biggest objection of XML is that closing tag. That's entirely redundant. If you simply used some opening/closing character, such as () or {} pairs, then the closing form, e.g. } or ), would pop the stack and close the current item.

      If you could nest tags within tags, that could be done in a way that looks like XML, although I don't know if its legal XML. I have not read, nor will I read, a document that describes a language (e.g. XML) for document preparation, because I'm not into doing document preparation. I am into config files, and I would read a document that decribes a language for config files provided that document is strictly about that usage and doesn't waste my time telling me about how document preparation, or anything else, is made better by it.

      As for success of HTML based on its readability, even though I do read HTML OK (and prefer not to unless building a web page), take a look at all the web page building tools out there and their explanations "you don't need to read HTML".

      To try to retro fit a documentation language into being a configuration language, when others already exist, is what is Stupid(tm).

      <signature><sigbody>
      /<signame><person>Skapare</person></signame>
      </sigbody></signature>

      --
      now we need to go OSS in diesel cars
    12. Re:XML is a poor choice by costas · · Score: 2

      OK, fine; really, the format here is almost beside the point. I am sure that whatever group gets to decide on the format will be knowledgable enough to decide on something practical and readable for both machines and humans.

      The more important thing here, is that: a) the community (not necessarily us, this thread, or /. for that matter) agree that it is about time to move to a standardized format, and b) that this migration is as painless as possible. Let's agree on that, and get a momentum behind this. The engineering details warrant a larger audience and a much longer discussion...



      engineers never lie; we just approximate the truth.

    13. Re:XML is a poor choice by Skapare · · Score: 1

      HSI basically resembles Algol class programming languages, in a sense, but for data. It's actually rather old. I first encountered it in the early 1980's, and even some of the references were over a decade old. It has variations and they are not as uniform as XML probably is. But you don't have to use all the variations for creating commonly formatted config files.

      We do seem to disagree on how bad XML is for hand editing. This may well be influenced further by how often either of us does edit config files (I do so rather freqently, often many times a day).

      If GUI tools worked to eliminate all, or even almost all, my needs to hand edit, then XML would to me be a moot point. Perhaps by the time it gets deployed if we go this direction, GUI tools will be fixed. But I have some major doubts because there are lots of people that are saying the GUI tools work fine and won't fix them (probably by applying the age old wisdom, IIABDFI).

      I suppose I could say IIABDFI about HSI, but HSI hasn't really been deployed here for the most part. You can see a reasonable variation of HSI in the BIND version 8 named.conf file format. Tools already exist to parse it.

      I haven't looked at the lisp/scheme-like format that has been mentioned more than once, so I don't even know what you are comparing XML against, or if it even resembles HSI or not.

      Maybe we can use something that looks like FORTH to configure with? Nah!

      --
      now we need to go OSS in diesel cars
    14. Re:XML is a poor choice by Chandon+Seldon · · Score: 1

      Well, not *every* tool, but at least every tool that could possibly be nessary to a system administration function. I'm pretty sure I don't need a text-based version of Moonlight Creator or The GIMP. =)

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
    15. Re:XML is a poor choice by JordanH · · Score: 1
      • Given the quality of GUI tools we have now, that day appears to still be a long ways away. If it is the case that XML is what will make the GUI tools work, where they are failing to work now, then maybe XML is worth considering (but I see no XML porponent suggesting that XML is what will fix all the GUI tools).

      I don't know anyone who suggests that the adoption of XML will fix all the problems. It might, finally, solve the problem of everyone developing parsers for their own unique configuration file format. It's a place to start in fixing the rest of the problems.

      • XML does have its advantages. It sells bigger disk drives. It sells more bandwidth.

      While this might be a more interesting criticism of certain XML applications (B2B EDI comes to mind), the disk space and network bandwidth used by configuration files hardly seems to be worth consideration.

      • What XML already does seem to be great in is tagging extractable data from document oriented storage.

      This attribute of XML alone would seem to be a big win for configuration files. Configuration files are, after all, documents from which tagged data are extracted.


      -Jordan Henderson

    16. Re:XML is a poor choice by Astastrafal · · Score: 1

      >what if your system's borked and you can only
      > boot it with a rescue disk?

      Bootable disks are getting larger. Sooner or later, the venerable 1.44 Mb floppy is going to be bumped off into computing history, and larger capacity disks will become truly standard. Even today, there are 250Mb Zip disks and floppy-compatible 120 Mb Superdisks. I assume you can boot off these. 120 Mb should be enough to fit everything one needs for an X-based sytem.

      Another option is to burn a rescue CD.

    17. Re:XML is a poor choice by rhendershot · · Score: 1

      There's no reason that your standard command-line tool, even, couldn't present your XML data in a truly human-readable format like:

      device = (
      name = eth0
      address = 192.168.1.2
      netmask = 255.255.255.0
      onboot = yes
      )


      After all, that's just exactly what your basic "text editor" does! The 'text' it edits is hardly human-readable in it's native format...

      -rsh

    18. Re:XML is a poor choice by Skapare · · Score: 1

      I'll agree to (a) and (b). How about at the same time also agreeing that the tools need to be improved to the point where no one will feel a need to use a text editor on a config file. I believe this is important because with better tools, this can help shield the human from the ugly details underneath, and the choice of format will relate more to programming than human reading.

      --
      now we need to go OSS in diesel cars
    19. Re:XML is a poor choice by QE2 · · Score: 1
      But if XML were used as a standard file format for the GUI tools, you wouldn't need to understand it. It would be commonly transferrable across applications. Imagine that; inetd.conf compatability with MS-Word2001.

      arf arf

      --


      -------------------------------------------------- --------
      It's life Jim, but not as w
    20. Re:XML is a poor choice by Skapare · · Score: 1

      I suppose I should add more comments to my config files. Right now they are very terse. They are virtually raw information. They don't resemble a document at all.

      But...

      I'm curious how I will parse /etc/fstab if it is written in XML, when libxml.so might not be available yet. Or must I put libxml.so in /lib? Will libxml.so be small enough for my floppy rescue system?

      --
      now we need to go OSS in diesel cars
    21. Re:XML is a poor choice by Skapare · · Score: 1

      Hmmm. That's an interesting concept. That would be a usable tool. It would have to be lean and mean. As long as there is a one-to-one correspondence in the HSI variant used for configs and the XML DTD used for configs (and this could surely be done), it may not matter what is really on the inside.

      Conceptually, it's no different than, say, using an octal or hexadecimal editor to hand edit the code of each individual byte. Or rather, since the code really are what is in the file, the concept is that the character representation is in fact one way of presenting a view of what is in the file. Whether the contents is XML or HSI, it could be viewed either way, too.

      --
      now we need to go OSS in diesel cars
  69. Tangential but related by timothy · · Score: 2

    The aesthetics / ergonomics (loosely speaking) of software is a big interest of mine. That's not because I'm a software expert, but rather for the opposite reason: I can figure out a way to misinterpret or fail to comprehend directions from practically any source, and I'm sure you can think of examples where you laughed at the guy going through the door labeled "Enter other side" ass-first or whatever. Yes, that was me, and it still hurts. I've hurled a fair number of CDs across the room because of frsutration at installing the software they contained onto my standard-issue, plain-vanilla PCs.

    The arguments that easy-to-use GUI tools make true, deep learning harder by eliminating the need for it have merit. But there is a threshold beneath which learning isn't even an issue, because the software (whatever software -- let's keep this agnostic!) never gets installed at all.

    Remember, whatever we already know can seem pretty obvious. But the things we don't know yet can lurk tantalizingly close and remain unknown. My father, for instance, is an electrical engineer with a moderate but lengthy exposure to computers: no way could he figure out a GNU/linux install without plenty of handholding.

    I offer here a small example of some documentation I've created with the intent of making the "... for Dummies" books seem positively erudite and obfuscatory, all for the purpose of getting software installed in the first place. After that we can worry about deeper learning. (Which goes for me, too.)It's specific to my present ISP. Illuminati Online (io.com), but I imagine would be easily modifiable for many others.

    Hope someone finds it useful -- I like to find an excuse to post it once in a while so I can make sure the counter on my Web site works ;)

    Regards,

    timothy

    --
    jrnl: http://tinyurl.com/c2l8yr / foes: http://tinyurl.com/ckjno5
  70. Gui Is not the Point by jhml · · Score: 1

    Seems to me the issue really isn't whether there is a GUI or not. A new user might be perfectly happy with a form he fills out with what he wants. The form could then generate a script that changes all the config files, etc. The problem is that the setup is spread all over the place and is not consistent. Throw in a few arcane terms and uninformative abbreviations, and the new user (or moderatley old user) must perforce resort to HowTo's and other resources to try to figure out what needs to be done.

  71. FreeBSD config tool by ArchieBunker · · Score: 1

    I love the /stand/sysinstall config tool that comes with FreeBSD. With that I can run fdisk or disklabel, setup networking and ppp interfaces, install software from the ports collection and parts of xfree86. Other than having to recompile your kernel for things like sound its great.

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
  72. amazing by ArchieBunker · · Score: 1

    just like the hot grits I poured down my pants.

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
  73. Impossible! by ffatTony · · Score: 1

    Am I the only one who finds his request impossible? The unified tool sounds nice, but I don't see anything more powerful than yast or linuxconf in the near future. The reason? It's really simple. Have you ever in your history with linux seen any configuration file that have similiar syntax? .vimrc's use " as comments! There are just too many different software packages written by too many different people to enforce any kind of a standard. And without a standard any package that claims to be a universal configuration file tool would need some sort of macro for each config file (like linuxconf).

    And how would you write the GUI? What a mess, and I though linuxconf was ugly.

    Maybe it's just me being pessimistic or maybe it's just that man or bitchx seem good enough to me (I've been a linux user for about 9 months)

  74. Re:That's BS. by Anonymous Coward · · Score: 1

    Different Strokes for Different Folks. 486's can still perform certain tasks - like audio. I'm still trying to figure out why a 133MHz 486 can't decode MP3's when they have a thousand clockticks to get a single point decoded.. I'd have to lay it at the feet of the operating systems (Win95 and Linux). A 486 should be able to be a jukebox for ones stereo.

  75. Linux @ Work... by X=X+0 · · Score: 1

    Think about this. If Linux doesn't become easier to use, we will still be using Windows @ Work b/c nobody will want to put up with it. Think of the hours some of you must dread at work dealing with Windows crashes and stuff, the nightmare which is life now. You could be living a better life if Linux and Unix for that matter were easier to use and more generally accepted. Just think about it. :)

    And rememebr...
    X=X+0

  76. In the Meantime... by Spasemunki · · Score: 2

    I think that posts like this advocating a central, unified configuration language are the way things need to go eventually. But, for the mean time, and in the case of extremely complex configs that won't mess readily with such a standard, maybe the solution is to create a number of pluggable GUI tools that will work with the existing configs. For common tasks that everyone needs to perform, there will be the option of editing the configs by hand, or using the GUI. For more complex tasks, let new users select from a few options that will handle basic things, but leave the text files in place, so that if they (or anyone else) needs to change the configs by hand, they can. Let people who know the most about a specific tool work on a GUI configurator for it, and then create central configuration util that can call on those other, device specific units. You keep the flexibility of hand configuring a device in its own origonal config language for advanced users and sysadmins, but you add the ability for newbies to get basic tasks up and running safely until they get a chance to learn more. It's a little stopgap; the real solution is still probably to go to a more standard format; while it would still leave some problems with GUI implementation, it would still allow hand-editing of configs. If a GUI is written responsably and so as to not break the hand configs, than there is no reason why slapping a different interface on a configuration should cripple anyonthe device's flexibility, or your ability to debug config problems.

  77. [34]86 not useless! by Anonymous Coward · · Score: 1

    I needed a network print server after the old Axis box dies. These things aren't cheap to replace, however, we had an old 386 doing nothing out back and put Linux on it and a couple more parallel ports and presto! A practically free print server. It performs beautifully.

  78. Re:Did you read what you wrote?? by itachi · · Score: 1

    It's funny, you remind me of a guy used to I know when I was a phone monkey. Really great with computers, but my boss and I wouldn't let him near the phones. I think the problem here is that we're talking about two seperate things here. Neither of us wants to deal with the lusers and jerks. It's a bad time for everyone involved. But haven't you ever had a conversation with a technically competent person who had a gap in knowledge that you helped fill in? Or the other way round? I think that filling in those gaps can mean as much to the linux community as helping to code software - after all, it means more people who know what they're doing.

    In my own linux migration, I started out by researching what was involved and what sort of hardware changes I'd need to make. One of the ways I did this, other than reading through distro docs, was by asking friends of mine who were already running some sort of *nix/BSD what their experiences had been. Aren't newbies allowed at least that? Without meaning to sound to much like a Junior Flowerchild here, mellow and cooperative can be good, dude.

    itachi

  79. Re:You can still use ed/vi/or cat >conffile.ext to by hioreanu · · Score: 1
    All these add are gui *front ends*. Meaning that nothing changes.

    This is not always true.

    Sometimes, the front-end ends up being the only way to configure whatever it's supposed to configure, or the front-end is the only one with the documentation.

    For example, look at OS X Server. Yes, it's a real unix, but everything is handled by gui-front ends, or by some java application that you access through netscaping to some port. The problem is that you can't really do something non-trivial (like add a user) without a java-capable browser (which OSX doesn't have), or by actually sitting down at the machine (so you need at least two machines handy to do any work). When things go bad, you have to go to the machine to change something (you can't just ssh in and mess with some config file). The man pages that came with it were a joke, and you couldn't change anything about the appletalk sharing or the Macintosh Manager authenticator through the console. I had a list of about 30 users I wanted to add -- I couldn't do any sed/awk magic with /etc/passwd and be done with it, I had to type in each name/passwd individually (and mess with the mouse in between adding each name to change groups, etc.). Sure, it was easy to add a user if you'd never done it before, but if you wanted to do any maintenance/configuration, you had to sit at the computer (no X server), with another machine nearby (no java browser). Altogether, it was a big mess.

    Fortunately, this happens only rarely in Linux -- I can just copy my config files over to a new machine when I set it up and I can change whatever I want about the system with an ssh session from anywhere in the world. The point is that if new tools start being developed with gui configuration in mind rather then textfile configuration, people need to make sure that instead of just saying "to change xyz, click here," also saying "to change xyz, edit /etc/foo.conf; see foo.conf(5) for details." OSX didn't provide the textfile configuration I needed (and as a result, I haven't touched our OSX server in months).

    This is already starting to happen to Linux. For example, I use WindowMaker for my windowmanager, and to configure it, you can use WPrefs, which just writes some config files. Unfortunately, I couldn't find the documentation for those config files (and they didn't have any comments at the top to help me), so I was stuck using WPrefs to change things. At one point, I wanted to get rid of all icons entirely, but there was no way of doing this with the front-end. I needed to edit the files, and the only way I could work was by changing something, restarting windowmaker, and seeing if it did anything (and config files would be overwritten at points so I would lose all my work). I finally did it, but it was a slow and tedious process, whereas if I had a manpage for the config file, I could have had it done much more quickly. This was a simple task, but imagine if there were no manpage for /etc/sshd_config or /etc/smb.conf. The only way I was able to get X initially working on my machine was to edit XF86Config, and I wouldn't have been able to do that without a manpage.

    My point is that gui front-ends (like xf86configurator or WPrefs) are replacing my emacs, and I don't like it. People are starting to put more thought into writing front-ends for editing a file rather than documenting the file's format.

  80. coming at this from the Right Angle by fsck! · · Score: 1

    it seems to me that the problem isn't that the admintools don't give enough feedback, but that the programs (and the system itself, let me finish) are doing things the wrong way.

    anyone who has ever put a production machine up knows that linux's killer apps need configuration that consists of more than key=value pairs. bind, exim, gnome, apache, even the password system. they all use a different variations on a theme. a tree-like structure with branches that have properties, a heirarchical database.

    perhaps what we need is a standard, powerfull way for programs and applications to store their configuration. an extensible database, perhaps something like LDAP. i'm not saying ldap is the solution, but maybe it is.

    once we get all of that in place, we can begin to write more comprehensive admin tools. you could throw a command-shell like one on an emergency disk, or a GTK based one on the distro install cd. i don't need to tell you how nice it would be to have some sort of network-wide configuration system for labs and server clusters alike.

    the original author makes a good point. the user has to be able to use it, but then so do we. i know from experience that if you make a tool too easy to use, only the inept will want to use it. make it look sexy AND functional, and we get a tool that everyone can use.

    get this framework in place, throw in x11r6.4 and a few more months work on Gnome, and the linux community will qualify for a seat at UN Headquarters.

    1. Re:coming at this from the Right Angle by fsck! · · Score: 1
      two possibilities i forgot to mention:
      • web interface
      • perl bindings (the ultimate admintool ;)

    2. Re:coming at this from the Right Angle by tterb · · Score: 1

      Part of the reason things like LDAP aren't used in favor of textfiles is that text files are pretty much guaranteed to work. and if you can't read a text file on a local system, you aren't likely to be able to do much else either..

      extensible databases are nice but damn if they just aren't as reliable..

  81. It seems we are missing the point here. by alekzandr · · Score: 2
    He is not asking for a gui config tool for everything, nor is he saying he is afraid of editing config files:
    If I had a *comprehensive* one-stop-shopping place to go, it would help a lot. It doesn't have to know all the esoteric PnP techniques, it just has to know how to execute the tools that have already been written. Perhaps it would let you browse all /dev/* entries, click on each one, and it would start the configurator tool that is responsible. Or at least point the user at what /etc/*.conf file was useful. I would hope to see loopback tests and more importantly, what to do or where to look if something's not working resources, even if they're just URLs back to the distro or author of the uberconfig tool.
    This seems like a marvelous idea to me.

    A centralized repository of pointers to all the configuration tools/files that exist somewhere under linux.

    He is correct, merely finding out what needs to be changed can be a huge waste of time. Learning how to use Linux, no matter how innately valuable the process of discovery might be, does not mean we all have dozens of hours to spend finding out where inittab is.

    Perhaps a listing of all the common hardware devices and software, with a paragraph describing the config tools or files, and their common locations. A link to the appropriate HOW-TO, or any other documentation that may already be on the system, and links to useful URL's would be a great time-saver. Maybe this could be added to linuxconf for the bits it doesn't currently handle, and as a fallback for the stuff it does.

    I imagine a tool like this would be a source of encouragement for the many people who are willing to experiment with Linux, but may actually have a life outside of computers vying for their time. Certainly many people that would benefit from the stability and versatility of Linux, but who might otherwise give up after too many disappointments trying to get thing X working.

    Now the issue of standardizing on the format of config files seems like another great idea, XML might be well suited to the task, but merely making a common syntax would be a step in the right direction. Windows ini files were a model of simplicity, no matter which other faults they may have. Are there any XML parsers already written that can easily be embedded into an app to add this functionality?

    Thought provoking question,
    Alekzandr
  82. Re:Why live in the past? by Rogain · · Score: 1

    I would like to see some hard numbers on how many linux systems are used as routers, mailservers, webservers, and in embeded systems. Compare that number to the number of desktop linux systems. I would think they are quite close. I have 32 no-user (servers, routers, etc) linux systems in my company's network, but we have maybe 15 linux and solaris workstations. The rest of the desktops are for users trapped in Gatesland. At my home I have 14 computers (9 are linux, 2 solaris, 1 HP-UX, 1 OpenVMS and 1 True64.) and 4 users (family). Only 3 of the computers have monitors and keyboards (excluding the TRS-80 I have setup as a terminal). Of the systems without monitors/keyboards only 1 has X installed.

    I would like to destroy microsoft by stealing all of their desktop users, but not at the expense of making linux (or at least the major distro's) bad for server use.

    --
    The current Slashdot moderation system is made by gay communists!
  83. It sounds like you are talking about... by autechre · · Score: 1

    A package manager. Specifically, the Debian apt-get does all that you describe. It has a "status" for each package; since each one is configured as it is installed, instead of the files being tossed onto the drive, and good luck configuring, try starting in /etc...

    If you attempt to install a package with apt-get, it will inform you of any additional packages needed in order for this package to be installed, and also if any packages currently installed conflict, and would have to be removed. If you think this is OK and opt to continue, it will do all of this for you.

    Every time you run apt-get, it checks the packages installed. If there are some that were not configured (including, of course, the newly installed ones, should they need configuration), it will prompt you to configure these.

    Debian is perfect; why don't people listen to me? :)



    --
    WMBC freeform/independent online radio.
  84. One of the things I'd like to see.... by Chas · · Score: 2

    Would be a kernel configurator that notes to you what hardware modules are actively used by the system (like SCSI modules). Though you would still need to know your hardware fairly well, the kernel configurator would give you little heads up before you exclude modules you REALLY need to keep active.


    Chas - The one, the only.
    THANK GOD!!!

    --


    Chas - The one, the only.
    THANK GOD!!!
  85. Stick with SuSE by Zemran · · Score: 1

    It seems that what you want is best served by going for SuSE Linux. Most of the set up is covered by YAST. You can go straight to SAX if you just want to setup the GUI stuff.

    You also get that useful /var/run thrown in for when you start running scripts and want to shut down processes.

    SuSE is so far ahead of the others for both beginners and the more advanced that it is the only one I recommend. The people that hate it are the fundamentalists that are not worth listening to anyway.

    --
    I love stacking my barbecues in the shed at the end of summer - you can't beat a bit of grill on grill action.
  86. admin tools don't scale by Doke · · Score: 1

    I've used most of the admin tools, linuxconf, smit, sam, etc. They're tolerable for letting an inexperianced sysadmin change something on one box. However, I've never seen one that scaled well to a cluster of machines. When you have 50, 100, or 1000 machines to admin, each with it's own requirements, those tools break down. You have to start scripting.

    You also learn it's better to parallel-rdist a config file out, than to try to rsh the same cli admin tool on all boxes. At that point you're back to needing intimate knowledge of the config files. Once you have that knowledge, it's almost always faster to just hack the file than to use the tool.

    As for graphical administration and installation tools, please remember many (perhaps most) professionally run unix boxes do not have graphical consoles. They have serial consoles wired into telnet-able terminal servers. The admin may be dialed in from home, or in an office 1000 miles away. Even if the machine is in the same room, a serial console has huge advantages. Cut and paste between the consoles of seperate systems is incredibly useful.

    1. Re:admin tools don't scale by jonabbey · · Score: 1

      If you're talking about a LinuxConf-style tool, then yes, scaling breaks down quickly, and you're far better off with a cfengine-based utility, the way that Christopher Browne was suggesting.

      For a network of systems, though, you can have very good tools for managing a directory database that all the systems can consult for their networking operations, and this can be a big win.

      Exhibit A: Ganymede, a GPL'ed metadirectory system I've been working on for the last four years.

      XML integration coming soon. ;-)

  87. Re:redhat 6.1 install and fdisk by Doke · · Score: 1

    If you ctrl-alt-f2 out of the graphical install to the bash prompt, run fdisk, and go back in, the graphical install doesn't notice you've changed the partition table. There's no refresh button. Even if you go back a few steps and forward again, it doesn't reread the table. It's annoying.

    My only complaint with Disk Druid is I have trouble getting it to create the partitions in the correct order. I like to put swap, tmp, and var near the begining of the disk. Rotational delay is smaller there, so you get slightly higher performance. Disk druid seems to like reordering my partitions.

  88. Mutually Exclusive? by Coda · · Score: 2

    Almost all of the arguments against GUIs that I've read here rest on the fact that GUIs and flexibility are somehow mutually exclusive. I don't think that's necessarily true. It's easy to point at Windows and say that GUIs are inflexible, but that's overlooking the underlying truth: Windows is inflexible; why should the GUI be any different?

    Why not make a GUI that's a tutorial as well? Why not make a scalable GUI? Instead of assuming that the current UI metaphors are the alpha and omega, why not investigate new and alien UIs?

    Why not have a configuration tool that uses plugins? That way the poor config authors wouldn't have to be responsible for keeping up to date with all the config file changes.

    Why not have each plugin include a paragraph for each option explaining how to set that in the raw config files?

    Giving something a GUI frontend is not the same thing as making it Windows. Let's get some ideas out here instead of the same old cantankerous crap.

    --
    -- I can't think of anything witty to put here. Sorry.
  89. Re:Why live in the past? by dufke · · Score: 2

    This is why it's great to have multiple distributions. I would never put mandrake or corel on a server or similar non-desktop machine. But on my main workstation, I would like to live happily without text-mode screens. There will allways be distributions that cater to the server environment - because, as you say - it is one of the primary (and best) uses of linux.

    dufke
    -

    --
    __
    Comment submitted. There will be a delay before you understand what you posted.
  90. A Wharf-alike config tool? by billysara · · Score: 1

    Personally, I prefer text-file configuration for most things, and having tried LinuxConf I find it more confusing than poking around in /etc.
    But I'm sure that for new users, something like wharf (or redhat's control panel) with an easy API to add your own dock-config-apps would help quite a bit.
    It would allow a centralised config centre, but without being tied to a particular distro/desktop/windowmanager.
    Even if an app author could easily add a button which just opened up a text editor with the config file for thier app, without having to go through a linuxconf/redhat/yast/kde/gnome config tool, I'm sure it would help a lot.
    /etc/dock-config
    ...
    Inetd
    {
    "Setup Inetd network services"
    "/usr/local/icons/inetd.xpm"
    "xedit /etc/inetd"
    }
    Gnome-Control-Centre
    {
    "Configure GNOME"
    "/usr/local/icons/gnomecc.xpm"
    "gnome-cc" # or whatever it is...
    }
    SUSE-Config
    {
    "Configure SuSE"
    "/usr/local/icons/yast.xpm"
    "xterm -e yast"
    }
    ...

    To add a button for your app/helper just becomes a matter of appeneding a little text to the file.
    If only I was better at coding in linux..... ::sigh::
    Billysara.

  91. Re:Take the OS challange. by Gossy · · Score: 1

    Just because it hasn't been done before, doesn't mean it can't be done at all. Making things on the surface more simple can't do any harm, as long as there is still access for the 'power users' to create/edit things as they see fit. I'd be much happier to see easy configuration via a GUI, so long as the config files were still easliy accessable incase I'm not happy.

  92. Re:COAS could have been good by tterb · · Score: 1

    Why are we competing with Window's Control Panel again?

  93. Re:Frontends for newbs by tterb · · Score: 1

    In my experience the more graphical config tools are used in a distribution, the more they are shoved down your throat and the more hidden the real information in your OS.. MacOS anyone?

  94. Re:config tools by Bongo · · Score: 1
    As a linux newbie myself, I agree entirely with jetpack. My first steps were slow. And I actually likeconfig files.

    But I couldn't find answers because I didn't know the questions.

    I would love to know what every file was used in concert for, including where to go when I needed to know subsystems in detail. If I knew, I would draw a map. A map is what I call a "graphical" install. GUI installs are just a quicker way to hell (let me do what I don't know I'm doing faster).

    Instead, I want a wholistic, fine grained, system encompassing map (an actual drawing) that can guide you wherever you want to go.

  95. Re:Pseudo-idiot by Gossy · · Score: 1

    Well, I also managed to teach myself how to use and play around with the workings of Windows, but it's one hell of a lot easier to do that than with Linux. Windows has nearly everything in nice and easy GUI, which any reasonably intelligent person could work their way around to find out how perform configurations and such, whereas in Linux everything is far from obvious.

  96. Re:(offtopic) by helix_r · · Score: 1
    You don't happen to have a url to this howto? :-)

    Yes, I do it is... http://pegasus.rutgers.edu/~elflord/font_howto/htm l1file/

  97. Linuxconf should be like AIX SMIT by Patola · · Score: 2
    The AIX SMIT (System Management Interface Tool) is the dream configurator of all Unices. It is amazingly well-designed.


    Just imagine if linuxconf was like it:

    * It would be dismembered in a number of system commands; like, if you would change a device, you would use chdev; if you change network parameters, you would use a command called chinet; if you would delete a filesystem definition along with its partition, you would use rmfs; if you would list devices on your system (with parameters that specify things like: devices actually working of just device definitions), you would use lsdev, and so on. Mnemomic enough.


    * You could get to where you want by a shortcut, not having to navigate through awkward menu options every time. Example: linuxconf user would take you to the "user accounts" section.


    * You would have a less irritating text interface. Ever seen smit? Its interface is VERY simple. A title on the top, some options, each one in one line, the one that is selected is highlighted, that is, written in reverse. In the bottom, a small keys chart. And that's it. No fancy ascii art and text contours. Fast and visible. Straightforward.


    * You could see the command, script, or linuxconf "subsystem command" it would execute if you selected the option. For example, if you fill the form to create a user and press F6 to see what it would do if you pressed enter, you could see something like: adduser -c 'New user' -d '/home/user' -G 'users' -s '/bin/ksh' 'foouser'. Or, if you are just about to reconfigure the serial line, you could get some chdev -l ttyS0 -a baud_rate=9600 -a parity=none -a stop_bits=1.


    * EVERY option or entry would have a dedicated context-sensitive help if you pressed F1 (and not a general screen with boring explanations. Let's get to the point!)


    * There's still more, like types of input (choices from certain lists, which are also activated by scripts or commands; numerical values; string arrays; pathnames), logging everything (even the menu entries selected) to a text file, but I almost lose my hopes... Something that born to be linuxconf will NEVER get to the feet of SMIT.


    Really, linuxconf designers and programmers should get a grip on the better designed UNICES. Alas, they make a good work, they make it for free, yadda yadda yadda, I know that, but there IS good-designed stuff on the market for them to take their ideas from!


    Patola.

    --
    Patola (Claudio Sampaio)
    Unix System Administrator
  98. Webmin is BSD-licensed! And its good, too! by nikolas · · Score: 1

    Webmins license is perfectly fine since they got aquired by caldera. And its an excellent config tool. Easy to use, very powerful and secure (as far as I can tell...). It does require knowledge of the packages you are configuring, but as far as Im concerned hiding all power and configurability from a user just so he can generally use things without reading or even thinking about them is fine for maybe a desktop, but not for server configurations.

    1. Re:Webmin is BSD-licensed! And its good, too! by JustShootMe · · Score: 1

      But I wanted to hide all that stuff from the support people, who were weaned on macs. I didn't feel like trying to teach them how to use the unix CLI, I just didn't have enough time. But webmin assumed that they knew that stuff. And it didn't give me an option to hide the unneccessary stuff out, I had to hack that in manually, something I DIDN'T have the time to do.

      for people who have experience with unix, it would work. For support applications, especially when the support staff isn't up to speed, it sucks.

      I don't remember them getting acquired by caldera. When did that happen?


      If you can't figure out how to mail me, don't.
      --
      For linux tips: http://www.linuxtipsblog.com
  99. The User Spectrum and why GUI configs are BAD. by Bongo · · Score: 1

    I'm not a newbie, and I'm not a Guru. I'm not a sysadmin, but I would'nt mind learning.

    One of the beauties of open source OS is that every component is accessible. It can be configured exquisitely (if you know how, which I don't). Now imagine having ten different ways to configure a batch of stuff, none of which work quite right. Well, now you're thinking like an MS engineer.

    Something should only need to be said ONCE, and right now the config files are the ultimate authority. It's like when you want to complain about something; you ask to see the Manager, not the teaboy. GUIs are like the teaboy... friendly but only do simple things. They have no power.

    Yes the config files are idiosyncratic. But hell, Windows is idiosincraptic. Over time perhaps, syntax could be pruned, but ooonly by the respective authors, contributors etc. Let people tend their own garden. If they want to simplify, fine, but don't exclude people just because they invent clever ways of saying things!

    So that's two issues: that config tools are never the real authority, and can (and will) get out of synch, and that the .configs have different syntax, but to 'standardise' is to not evolve.

    The third and _separate_ issue is The User. We often talk as if there are only two kinds of users, like the novice and the expert. But really there's a whole spectrum of semi to skilled user 'levels' in between. Our documentation doesn't reflect that. You're either a Dummy (insert hot poker in security hole here) or an expert. And with today's documentation, the leap from newbie to sysadmin is like a great chasm.

    I think that's a big problem against adoption.

    People at home have to be their own sysadmins, to some degree. The GUI install may get your system up, but it won't teach you anything. Nor should it. You know from your own experience, that you learn best when you _need_ to learn. Say you want to buy a printer for your system. Where do you start? If all you see before you is fog, you drive slowly. If the road is clear, you race ahead. Starting with Linux documentation is very very foggy.

    This problem comes from the exclusive use of text based description (how long does it take to read _every_ man page, or even books ?).

    I am appalled at the lack of _diagrams_. Sequential statements are fine for programmers but when a person arrives in any foreign city the first thing they do is purchase a MAP. This is why the mac _tends_ to work; because the map is fairly clean and accurate. This is why Windows doesn't; because what the GUI is trying to map is fucked up anyway.

    With a MAP of systems, that point to maps of subsystems, which hilight general behaviours, and ultimately (for those in need when fsck suddenly starts complaining) individual executables, configs, scripts and the data formats being dealt with, willing users can educate themselves as needed. Our docs need to show the big picture, quickly and clearly, and where to find the detail when needed.

  100. How about this instead of a GUI by pivo · · Score: 1
    I came to Linux from the Windows world and therefore was looking for GUI configuration programs for linux similar to the Windows counterparts. Since I was using RedHat, I used control-panel (this is in the pre-linuxconf days) which worked pretty well for me but didn't do everything and didn't tell you what it was doing (what files it was modifying.) The existance of control-panel gave me the impression that everything that needed to be configured could be through the GUI and so nothing else was necessary. However, I found that control-panel didn't always work well and since it hid its actions, it was a long time before I learned what it was really doing and how to fix things 'by hand'.

    After having used Linux for several years now, I much prefer vi on the command line over linuxconf et al. You know exactly what file you're changing so you can make a backup in case your changes don't work and it's easy to do the configuration from a remote host.

    What the new user lacks is a comprehensive view of what services need to be configured on their system and what files and options are generally used to cofigure those services. Linuxconf provides the view, but it hides the actions actions it takes and the files it modifies.

    I propose that we make a simple HTML and/or text based document that provies a reasonably comprehensive list of all services and options that one typically wants to configure on a Linux system. The document would have a section for each service and the sections would be no more detailed than necessary to provide the new user with the knowledge to minimally configure that service, (bascially allow them to configure as much as GUI tools typically allow.) This kind of document is good for many reasons: 1) I means GUI tools don't have to be written. 2) It builds user's knowledge of their system. 3) It reduces dependency on those magic GUI configuration tools that limit the user's control of thier own system.

    The HTML/text configuration files I'm talking about already exist in my company, and I'm sure in many other companies too. We have lots of HTML documentation on getting Linux running in our environment. This information could be easily adopted for more general use

    Hey, maybe this is another project for me!

  101. Let's get the tools right this time by Sketchie · · Score: 2

    I think a lot of people are missing the point here. It's not that us folk who have been using Linux for years are being OS bigots and don't want to let everyone else play with "our" OS - it boils down to the fact that we know, from experience, that when a user becomes dependant on a config tool, they cannot solve the simplest (to us anyway) problems manually when the config tool doesn't provide the funcionality. The solution to this is simple - Create config tools which teach the user as they go along in configurating their system. Tell them *why* they need to create user accounts, and exactly *how* it is doing it etc. Don't just do it all for them, although you might get through the config a few seconds quicker, you'll be worse off in the long run. That way the user will be better prepared to be able to do the same thing on a system where the tool might not be available, or if the config tool is missing the functionality you are looking for, and will also give them clues as how to approach other problems. It's the same as in every other aspect of day-to-day life. There will never be a config tool which can do *everything* on every single specific system, and do it all properly. So the aim is to provide as much functionality as possible, and enough resources and clues to make sure they can intelligently think for themselves when the tool is lacking. Hopefully this will reduce the increasing number of I-wanna-be-spoon-fed idiots on IRC these days (some of whom have been using Linux for quite a while, but because they become dependant on linuxconf etc, they simply don't understand basic concepts), so that we can all work more productively. "Give a man a fish and he'll feed himself for a day. Give him the means to fish for himself and he'll curse you for the rest of his life"

  102. Would this be possible? by Starselbrg · · Score: 1

    name = eth0
    address = 192.168.1.2
    netmask = 255.255.255.0
    onboot = yes
    >

    I believe this is valid XML.

    --
    Got HTML? Want LaTeX? Try html2latex
    1. Re:Would this be possible? by Anonymous Coward · · Score: 1

      I think it's
      <device
      name = eth0
      address = '192.168.1.2'
      netmask = '255.255.255.0'
      onboot = yes
      />

      But your point is still valid.

    2. Re:Would this be possible? by Skapare · · Score: 1

      For a simple thing to configure, yes that probably works. So much for using a simple example. Choose a complex one where nested contexts are needed. Does XML let you nest within a tag? I've never seen it done. Add some routing information and firewall rules to the ethernet device and see how it looks in XML and HSI.

      --
      now we need to go OSS in diesel cars
    3. Re:Would this be possible? by Starselbrg · · Score: 1
      Ah yes, that's how it's supposed to be.
      Thanks for correcting me.

      --
      Got HTML? Want LaTeX? Try html2latex
  103. usability and interface design by ration8 · · Score: 1

    so, does anybody know if the distros out there that are _aggressively_ trying to increase the number of linux Users (ppl who spend ~5% of the time as su or root) are using or hiring Usability and Interface professionals, or firms to perform usability and experience testing and user research?

    it seems that much of the experience of linux is the result of decisions by The Community who are, of course among the most literate users out there, but are not necessarily the best at creating good user experiences and usable products.

    what has been done to date is in fact amazing, but now that linux is getting more attention and companies based on linux are public and worth millions or billions perhaps a great deal of attention can now be placed on the usability of linux by the growing usability/information design/interface design professions.

    linux to date has been almost entirely an active group of Root Users, and Super Users. but now there is a growing need and demand for linux by users who spend 95% of their time as Users. (and many of these would-be-Users are reading slashdot and trying to install the current crop of distros.)

    the friction between the elite and the plebes has been ever present-- from the western european monks who did not want people to learn to read, and after just reading Steven Levy's Hackers i would say this friction sounds similar to the MIT hackers of the 50s and 60s who did not want deal with the Real World and remain in an esoteric utopia, and similar to the big hardware manufactures of the 70s who _laughed_ at Wozniak's idea of a home computer for the masses... ha!

    so does a 'Community Group on Linux User Experience and Usability' sound way to idealistic? how about a weblog about the human side of computer interface? how about a Open Source Usability Group which is funded by various for profit groups? (Do groups like this exist already?)

    just my 2 pesos, and some ideas...

    -neotint


  104. Exactly... by pheonix · · Score: 1

    This is kinda what I keep saying about Linux as a whole. I love it, I enjoy using it. I'm also someone who enjoys playing with computer hardware and software, etc. Many computer users don't have so much fun doing these things however.

    GUI tools to configure your Linux install would be a good start. Strong configuration docs would be great as well. If Linux could overcome a user's inherent belief that it's a 'geek OS' that they won't understand or be able to learn, it could make much greater headway into both the consumer and business desktop markets.

    One comment I've seen a few times in this list is that a GUI would somehow be 'dangerous' by allowing security holes to be created in your OS. I fail to understand how a GUI would create more holes than a complete and utter lack of understanding of how to properly configure your daemons and drivers.

    We need to listen to our mildly less computer literate friends when they describe why they wouldn't like to use Linux. They are the strong majority and will be the ones using the OS when/if it becomes mass market popular.


  105. You're right by DragonHawk · · Score: 2

    "preview what has to be done" just tells you which services it's going to restart (i.e. inetd) but it doesn't tell you which files it's editing (i.e. /etc/hosts)

    Um, I just double-checked, and you're right. I stand corrected. Somebody moderate my original post down with "-1, Incorrect".

    (I could have sworn it told you the configuration files it was about to modify, but I must have been thinking of something else.)

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  106. WebMin? by Big+Boss · · Score: 1

    I'm surprised nobody ever mentions WebMin in these discussions. I use it on a few machines I am responsible for. I think of it like the Linux Control Panel. You can configure most services that Linux machines use, manage processes, users, groups, etc.. All via a standard web browser interface. I've put it on a few machines and trained NT admins to use it. Most of them think it's eaiser than NT. It's free for use, and IIRC presently can be considered "open source". Although the author does mention that some modules in the future may be payware. And the interface is MUCH nicer than LinuxConf, IMO.

  107. XML Namespaces by jonabbey · · Score: 1

    Actually, they are specifying a namespaces standard for XML which will allow you to mix different DTD's without confusing what tag belongs to who.

  108. MS Y2K Wins by OldHawk777 · · Score: 1

    Agreed with most ... Unix/Linix is the better way to go.

    Reality >> (sometimes) I observe ... as "?knowledge and experience?" in the office with money; ask, advice on what to buy? BUY MICROSOFT!

    Reality >> The lower the knowledge and experience, the lower the requirement to be an expert/professional, and the greater the reliance on MS Gates products which leave the lazy professional with a target to blame (software is not available yet, the lie) for a problem resolution, then the more MS Gates products will control some parts of the market.

    The lazy professional (some [not all] MS Gates products supporters) screams buy MS Gates products and think's "I have an easy target to blaim for problems" that only MS can fix. They best of Reality: (1) high paid easy job, (2) always MS to blaim for problems.

    Linux/Unix needs two flavors: one, for the very bright, experienced, creative, and knowledgable user/administrator/developer, and another Linux/unix for folks who just want to use and minimully configure their software for everything.

    I'm not sure I stated what I believe very well this time.

    --
    Unaccountable leaders are masters, and unrepresented people are slaves. How do US and EU fare?
  109. Re:DEVFS! and variable hardware by rowlingj · · Score: 1
    Too right!
    The problem for Linux is that it is available for so many different types of hardware!
    That's why (eg) Sun's adminf.. er, admintool works as well as it does. They don't have a squillion different types of video cards/audio thingys/disk drives to worry about.

    DEVFS will go a long way to improving the clutter in /dev , at least if it gets supported by the major distributions AND hardware manufacturers.
    Where other os's admintools shine is where they have limited hardware choice.

    - JR

  110. Configs Of My Dreams by versus · · Score: 1
    (sorry if it has been posted before - can't read all the discussion)

    Ideal Solution to Unix Config Trouble(TM)(IMHO!):

    • one stardatized "config language" - may be XML but personally I like BIND-style with {} & indents, it's easier to read and understand -and to edit with CLI tools
    • NB! open-sourced (of course) conf-parsing lib - to be used in new projects, let alone old ones
      If I was a real programmer I would extract it from BIND source and generalize enough to make it eligible for always busy FreeRadius folks - right now they need a new config-parsing engine, nobody wants those old ugly "users" files...
    • compatibility tools - to convert new-style configs into old-style (I'd love to write one for apache)
    • general GUI tools to edit configs as menus and so on - for experienced users who understand what they're doing
    • application-specific GUI tools like linuxconf logging everything they do to the configs - for newbies (and those logs - for theirs gurus)
    • or maybe WebMin clone + application-specific modules which write configs in common config language (see above :)
    • more programmers to port old programs to new config style

    And we need much better config repository than /etc !
    The idea of the registry is not so bad after all if we do some virtual file system of it

    we have procfs and devfs - why not conffs?

    --
    Brain is my second favorite organ.
  111. Re:Petrification throughout history by QE2 · · Score: 1
    Try this!

    Enjoy!

    --


    -------------------------------------------------- --------
    It's life Jim, but not as w
  112. Tenets of the Unix Philosophy by ralphclark · · Score: 2
    You couldn't have stated it better, that there is no benefit to making configuration in unix more complicated. How about making it simpler?

    Forget to tab in syslog.conf? : comments got you down in inittab, typo in passwd locked you out? Guessing at possible values for /etc/system variables got you stumped?


    I fail to see how moving the data to a different location - or putting it into a tree structure - would make any difference at all.

    Without dumbing it down, or removing flexibility, I believe a better way to manage the bits of configuration required by each program would be a centrally managed, accessed, API driven repository for config.

    As I've pointed out, front-ending the whole thing with a database manager which keeps everything in memory exposes the whole damn thing to corruption. Obviously you haven't suffered under Windows as much as I have.

    I don't pretend to know the right way to begin to code this up, but I'm tired of explaining to new admins that are looking to change X in unix, that the only way to know how to find the config file -- is to already know where to find the config file.

    Ha ha. I sympathize with your newbies, but your answer is not strictly true. You only need to know what the file is called - and you can get that from the man page for the utility/program concerned. Once you do know what it's called you just do a 'find /usr -name "whatever"' command. You *do* need to know how X is configured to run on your system though, so start by examining the startx or xdm scripts to see what they call. That's how I managed, anyway.

    No doubt some will complain "but that's too complicated". They may be right but it won't be solved just by putting the X config files into a central repository. If you want to master X configuration, you have to learn how it works. There are, unfortunately, not shortcuts to mastering a system with so many configurable options. Even if there was a nice GUI on it, you'd still have to learn what all the parameters mean.

    Sorry Mr.Bell, but I'm fundamentally opposed to any scheme to take Unix away from the philosophy which makes it what it is: the most flexible operating system, the most robust application platform and the most feature-rich development platform in the world.

    For those of you who have forgotten, or who are simply too young to know, here is that philosophy spelt out (you can find the original here):

    Tenets of the UNIX Philosophy

    from The Unix Philosophy by Mike Gancarz

    ISBN:1-555558-123-4. Copyright 1995 Butterworth-Heinemann.

    Reprinted with Permission of Digital Press

    The main tenets of the Unix Philosophy are as follows:

    1. Small is beautiful.

    Small programs are easy to understand.

    Small programs are easy to maintain.

    Small programs consume fewer system resources.

    Small programs are easier to combine with other tools. 2. Make each program do one thing well.

    "The best program...does but one task in its life and does it well."

    "The program is loaded into memory, accomplishes its function, and then gets out of the way to allow the next single-minded program to begin." 3. Build a prototype as soon as possible.

    Prototyping is a learning process.

    Early prototyping reduces risk. 4. Choose portability over efficiency.

    Next ---'s hardware will run faster.

    Don't spend too much time making a program run faster.

    The most efficient way is rarely portable.

    Good programs never die--they are ported to new hardware platforms. 5. Store numerical data in flat ASCII files.

    ASCII text is a common interchange format.

    ASCII text is easily read and edited.

    ASCII data files simplify the use of Unix text tools.

    Increased portability overcomes the lack of speed (of flat ASCII text files...)

    The lack of speed is overcome by next year's machine. 6. Use software leverage to your advantage.

    Good programmers write good code; great programmers "borrow" good code.

    Avoid the not-invented-here syndrome.

    Allow other people to use your code to leverage their own work.

    Automate everything. 7. Use shell scripts to increase leverage and portability.

    Shell scripts give you awesome leverage

    Shell scripts leverage your time, too.

    Shell scripts are more portable than C.

    Resist the desire to rewrite shell scripts in C. 8. Avoid captive user interfaces.

    CUIs assume that the user is human.

    CUI command parsers are often big and ugly to write.

    CUIs tend to adopt a "big is beautiful" approach.

    Programs having CUIs are hard to combine with other programs.

    CUIs do not scale well.

    CUIs do not take advantage of software leverage. 9. Make every program a filter.

    Every program written since the dawn of computing is a filter.

    Programs do not create data--people do.

    Computers convert data from one form to another.

    Use stdin for data input;

    Use stdout for data output;

    Use stderr for out-of-band information.

    Ten Lesser Tenets

    1. Allow the User to tailor the environment.
    2. Make operating system kernels small and lightweight.
    3. Use lower case and keep it short.
    4. Save Trees.
    5. Silence is golden.
    6. Think parallel.
    7. The sum of the parts is greater than the whole.
    8. Look for the 90 percent solution.
    9. Worse is better. (I won't try to explain this one...)
    10. Think hierarchically.
    "Unix owes much of its success to the fact that its developers saw no particular need to retain strong control of its source code."
    Forgive me for reproducing the whole page here but I feel it's something everyone should see at least once, even the "click-through challenged".

    Consciousness is not what it thinks it is
    Thought exists only as an abstraction
  113. Re:Anything but XML or flat files! by Skapare · · Score: 1

    So what about HSI (Hierarchical Structured Information I think was the acronym)?

    It's hierarchical, can do comments (my implemetation uses # comments), is simple to read, lightweight to parse, and doesn't use redundancy.

    The implementation I am working on also supports binary data in various handy notations. You can enter binary bytes into strings using ^ notation, \ notation, or % hexadecimal notation. The corresponding output functions will generate various notations with preference for the ^ then \ (other than octal) then %.

    --
    now we need to go OSS in diesel cars