Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: (OT?): Operating Systems

by OfficeLinebacker (Chaplain)
on Dec 13, 2006 at 13:28 UTC ( [id://589579]=note: print w/replies, xml ) Need Help??


in reply to Re: (OT?): Operating Systems
in thread (OT?): Operating Systems

Isn't it true that even on non-Ubuntu boxes one only very rarely wants to actually be logged on directly as root? Isn't that the whole point of sudo? I kind of liked that feature on Ubuntu, that you create an account as yourself, then when you need to do tasks that require superuser, you sudo the command, and enter the root password. Also, once you've entered the root password once in an active xterm, ensuing `sudo`s don't ask for your password again.

I'm familiar with sudo since my job class has some SU privileges (we get to sudo dhog and some other commands I can't remember right now).

Again, I program in RedHat at work and just have this Ubuntu box for fun--the most complicated thing I did with it was probably get it to run Folding@Home and use LM-sensors (the CPU is overclocked). That and I went with Dapper Drake before it was released, so I had some "early adopter" hiccups. I don't think I wrote anything more complicated than a "hello, world" program on it. Ubuntu has some great games that you can easily `apt-get.` (I have regular Ubuntu but have all the games from Kubuntu and Edubuntu on it) That's about all I use it for now--my 8-year-old son loves Kolf.

Speaking of which, Ubuntu has cool names for their releases--Breezy Badger, Dapper Drake, etc. That alone is worth the cost of installing it!

Please correct me if I am wrong about not being root very often, even on your own home computer.

Edit: Isn't booting to console in Ubuntu as simple as holding down a key or two during bootup?


I like computer programming because it's like Legos for the mind.

Replies are listed 'Best First'.
Re^3: (OT?): Operating Systems
by zentara (Archbishop) on Dec 13, 2006 at 17:23 UTC
    Well the sudo approach is useful, but for a sysadmin or programmer who is installing packages and moving libraries around, it seems kind of limited to me. Granted, it does prevent the newbie from accidently chmod'ing /usr, or deleting root, etc. And you can use apt-get( or whatever ) for package management, but that limits your exposure to what is really going on in the system. I think programmers should build from sources, so they get a good idea of what programs, and libraries are really all about. Package Managers put an artificial layer of abstraction between you and the program. I also find it more secure, to specifically have to log on as root to do system stuff. Relying on sudo, you may fall into a false sense of security, and walk away from your machine thinking "I'm logged on as user so it's safe", but anyone can walk up to your console and run a sudo command.

    Watching a system boot in console mode gives you an entirely different perspective on what goes on in /etc/init.d. Of course a user really dosn't care, and probably prefers not to know; but a programmer really needs to know what goes on underneath the gui surface.

    As far as a "button hold at boot" ,booting Ubuntu into a console, I think that only boots to what is called single user mode(runlevel 1), and is only for system emergency maintenance. What is normally referred to as "booting in console mode", is multi-user mode, with network, (usually runlevel 3). Ubuntu does have a server-version which does this, and has no gui. They also have a special "alternate install disk" which is text mode, for finicky systems.

    What I am trying to point out, is that Ubuntu, in the name of newbie safety, has made difficult, what is easy in most other distributions. If you wanted to study programming, you would be better off with a more straight forward distro.

    I started with linux probably about 10 years ago, when gui's were just a novelty item. And until just a few years ago, every distro, would install into multi-user-console mode, and after that you were given the option to try and install X ( which was often very difficult because of the lack of drivers). Now, the opposite is happening. Everything is going directly to gui, and the internals are being hidden from you. Often, many servers and services are auto-installed, and bloat and slow down the system. Someone who understands the console mode, more easily understands what he needs and can customize his system for his own needs.

    But all in all, I think Ubuntu is great for spreading linux, and maybe it would be better for a large group to know how to handle sudo, so they can answer sudo related questions as they come along. Me, I'm an old dog, and refuse to learn the new tricks. :-)


    I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://589579]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-03-29 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found