Re: Changing root's password

From: Lew Pitcher (Lew.Pitcher_at_td.com)
Date: 10/27/04

  • Next message: Simon Marchese: "Re: A perfromance measurement tool for AIX"
    Date: Wed, 27 Oct 2004 15:14:18 -0400
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Ken wrote:
    > I just noticed on a new Linux system that we got at work that if you
    > try and change root's password as root, it does not ask you for root's
    > current password before allowing the new one to be entered. I thought
    > this might be something with Linux until I realized that our Solaris
    > servers are the same way. Is there a reason for this? It seems
    > terribly unsecure. Of course people should be either only logged in
    > as root when necessary or locking their workstations, but still.

    As root is already all-powerful, it's difficult to prevent him from
    making direct modifications on the password database (/etc/passwd,
    /etc/shadow, or the more sophisticated password management systems like
    PAM).

    Basically, if you have gained root access, then there's no effective
    block against root's updating the password, and thus it is redundant and
    unnecessary to validate root's current password.

    - --

    Lew Pitcher, IT Consultant, Enterprise Data Systems
    Enterprise Technology Solutions, TD Bank Financial Group

    (Opinions expressed here are my own, not my employer's)
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (MingW32)

    iD8DBQFBf/OGagVFX4UWr64RAtsvAJ9hqyGek6CF7TzmX2m6W4GpKAdmBQCfYAtg
    wGegLX1fq9x6oHe5eqClkmY=
    =ouAm
    -----END PGP SIGNATURE-----


  • Next message: Simon Marchese: "Re: A perfromance measurement tool for AIX"

    Relevant Pages

    • Re: Root in FC-10
      ... Running as root all the tine ... >defeats most of the security of a Linux system. ... Virtually any exploitable point allows an escalation by way of further ... Becuase it is not just a "sandbox", ...
      (Fedora)
    • Re: Root in FC-10
      ... >defeats most of the security of a Linux system. ... However, this should not imply that just because there exists a possibility of escalation, we should not have multiple levels of security. ... exploit can be escalated to provide root level privileges, is it reasonable and logical to claim that not using root, is "safer" than using root. ...
      (Fedora)
    • Re: Root in FC-10
      ... Mikkel L. Ellertson wrote: ... >defeats most of the security of a Linux system. ... Virtually any exploitable point allows an escalation by way of further exploit. ... If and only if, it is possible to ensure that no exploit can be escalated to provide root level privileges, is it reasonable and logical to claim that not using root, is "safer" than using root. ...
      (Fedora)
    • Re: New Linux Distro Project - Anyone Interested??
      ... >running a Linux system under the root account is a bad idea and I am ... should press the Ctrl and C keys RIGHT NOW. ... be root when you make that typo, you will see a demonstration of the blinding ... The solution is to just reinstall. ...
      (alt.linux)
    • Re: [opensuse] root login not allowed from kdm
      ... Hash: SHA1 ... I know all the issues with doing this as root. ... this did not work in my setup. ...
      (SuSE)