[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: root login



Jeff Waugh wrote:
<quote who="Michael Toomim">

I don't buy it.  Most desktop computers (dos, win95/98, early macs) don't
even have a "root" concept, and all users have root-equivalent power --
yet I've *never* met a person who deleted their system files because they
had root access.  (I've been admin for a lot of systems.) This just isn't
a problem that comes it in practice.


Any minor bug or security issue is magnified a thousand times when the
software is running as root. Viruses and worms will actually be able to do
horrible things (such as work, breed, do reasonable damage, etc) if they are
running as root.

If a hacker gets access to your account, and then you su to root, he'll sniff your password and get root access. Being a user who periodically logs in as root is just as insecure as being a user who logs in as root.

Except that in this case, it's actually LESS secure. Say a hacker gets into my user account. If I were to login as root from GDM, the hacker would still be trapped in my user account. But if I *can't* log in as root from GDM, I'll be forced to su to root instead from my user account, and the hacker will get my password (and consequently root access).

I got a call from a client this morning: "Can I lock down all of the folders
on our [Windows and GNOME] desktops to stop staff from accidentally moving
them and not being able to find them again?" Were all those staff logged in
as root, complete system failure is only a clicky-clicky hamfisted secretary
away.

Ever see a Windows user who's accidentally dragged icons out of their Start
menu? (Whoever thought up drag'n'drop menus should be shot.) Ever see a
Windows user who's resized their Start bar to 3px high, or half the screen
height, or shifted it to the other side of the screen? Happens all the time.

Remember, kids: COMPLETE SYSTEM FAILURE is only a clicky-clicky hamfisted
secretary away.

No, that's a different argument. You're telling me that I shouldn't give secretaries root access. Well, duh. But the question isn't whether you give secretaries root access or not, it's whether you give people who *already have/want/need root access* the ability to log in as root to gnome through GDM.

If you can log in as root through a console, a startx, and an xterm, there's no real reason that you shouldn't be allowed to log in as root through GDM. Being root from GDM is no more dangerous or insecure than being root from the console or su.




Reply to: